You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The monthly mean files currently contain a time dimension that covers the first 24 hours of the corresponding month. When multiple monthly mean files are opened and concatenated, this causes extension of both the month dimension and the time dimension, although time, which corresponds to the hour of the day, should be shared across the concatenated file.
I'd therefore suggest to rename the time dimensions to hour_of_day and make it a float or, if supported, a timedelta value.
The text was updated successfully, but these errors were encountered:
I set hour_of_day to timedelta64... timedelta64[ns]. It's annoying to save such a large time delta as as nanosecond integers; currently only this data type can be used with xarray (see pydata/xarray#1143), but I think this integrates better with month.
Remember that to get hour_of_day as float one can use hour_of_day / np.timedelta64(1, 'h').
The monthly mean files currently contain a time dimension that covers the first 24 hours of the corresponding month. When multiple monthly mean files are opened and concatenated, this causes extension of both the
month
dimension and thetime
dimension, althoughtime
, which corresponds to the hour of the day, should be shared across the concatenated file.I'd therefore suggest to rename the
time
dimensions tohour_of_day
and make it a float or, if supported, a timedelta value.The text was updated successfully, but these errors were encountered: