Hi,
I find it surprising that the same CESM2.2 CLM model output NetCDF file displays different "time" values when opened on different systems.
Opening it using ncdump shows JANUARY:
time:units = "days since 2015-01-01 00:00:00"
while opening the same file by Python shows FEBRUARY
cftime.DatetimeNoLeap(2015, 2, 1, 0, 0, 0, 0, has_year_zero=True)
Shouldn't it be the same? I came across this while using "groupby('time.month')" function in Python. Wondering, if would this data be read as JAN or FEB by this function (more likely FEB), although it is JAN. Why would it show different date for the same file?
Many thanks.
Hemraj
I find it surprising that the same CESM2.2 CLM model output NetCDF file displays different "time" values when opened on different systems.
Opening it using ncdump shows JANUARY:
time:units = "days since 2015-01-01 00:00:00"
while opening the same file by Python shows FEBRUARY
cftime.DatetimeNoLeap(2015, 2, 1, 0, 0, 0, 0, has_year_zero=True)
Shouldn't it be the same? I came across this while using "groupby('time.month')" function in Python. Wondering, if would this data be read as JAN or FEB by this function (more likely FEB), although it is JAN. Why would it show different date for the same file?
Many thanks.
Hemraj