Skip to content

Commit

Permalink
Merge branch 'fix-datetime-imports' of https://github.com/pnuu/satpy
Browse files Browse the repository at this point in the history
…into fix-datetime-imports
  • Loading branch information
pnuu committed Apr 29, 2024
2 parents 72c2f33 + 3d92664 commit 3b5e62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/readers/goes_imager_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def _get_area_def_uniform_sampling(self, lon0, channel):
def start_time(self):
"""Start timestamp of the dataset."""
timestamp = self.nc["time"].dt
return dt.timestamptime(
return dt.datetime(
year=int(timestamp.year.item()),
month=int(timestamp.month.item()),
day=int(timestamp.day.item()),
Expand Down

0 comments on commit 3b5e62c

Please sign in to comment.