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
When running basin_setup 0.14.4. in docker grm is attempting to convert datetimes from from num2date. It throws an exception like the following:
ERROR <class 'cftime._cftime.DatetimeGregorian'> is not convertible to datetime
Turns out... this is due to netCDF4 which relies on a package called cftime. cftime is also developed by the unidata folks and it is unpinned in their requirements in netcdf4. cftime was updated on 2/20/2020 which altered num2date which:
cftime.datetime instances are returned by default from num2date (instead of returning python datetime instances where possible
The fix is to pin cftime to less than 1.1.0
The text was updated successfully, but these errors were encountered:
When running basin_setup 0.14.4. in docker grm is attempting to convert datetimes from from num2date. It throws an exception like the following:
ERROR <class 'cftime._cftime.DatetimeGregorian'> is not convertible to datetime
Turns out... this is due to netCDF4 which relies on a package called cftime. cftime is also developed by the unidata folks and it is unpinned in their requirements in netcdf4. cftime was updated on 2/20/2020 which altered num2date which:
The fix is to pin cftime to less than 1.1.0
The text was updated successfully, but these errors were encountered: