Skip to content

Commit

Permalink
Fix wind.writer doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
wcarthur committed Nov 12, 2020
1 parent 66f8a16 commit ba55a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wind/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __call__(self, time, gust, Ux, Uy, P, lon, lat):
t = len(self.time)

if not t:
self.time.units = "days since " + time.strftime()
self.time.units = "days since " + time.strftime("%Y-%m-%d %H:%M")

# convert window extent to slice indices
origin = np.rint(self.affine * (lon[0], lat[0])).astype(int)
Expand Down

0 comments on commit ba55a3f

Please sign in to comment.