Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GFED5/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
######################################################################

# Set dimension attributes and encoding
ds = hf.set_time_attrs(ds)
ds = hf.set_lat_attrs(ds)
ds = hf.set_lon_attrs(ds)

Expand All @@ -148,6 +147,7 @@

# Add time bounds
ds = hf.add_time_bounds_monthly(ds)
ds = hf.set_time_attrs(ds)
time_range = f"{ds['time'].min().dt.year:d}{ds['time'].min().dt.month:02d}"
time_range += f"-{ds['time'].max().dt.year:d}{ds['time'].max().dt.month:02d}"

Expand Down
Loading