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
I got thoes error When I try to save the SPI-6. By the way, I want to calculate the SPI-6 by the command, It's correct?
pr_AWI_CM_ssp585 is a daily dataset for Cmip6 model output including the 'pr' variable.
TypeError: Invalid value for attr 'freq': None. For serialization to netCDF files, its value must be of one of the following types: str, Number, ndarray, number, list, tuple
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I confirm this bug, some attributes have values that are problematic when saving to netcdf. In the case of freq, it should not have been None in the first place, even if netcdf accepted this, so it's good to know, it's also a bookkeeping error. In the meantime, you can just replace all problematic values with an empty string. You can add this code between your two lines:
Generic Issue
Description
I got thoes error When I try to save the SPI-6. By the way, I want to calculate the SPI-6 by the command, It's correct?
pr_AWI_CM_ssp585 is a daily dataset for Cmip6 model output including the 'pr' variable.
What I Did
What I Received
The text was updated successfully, but these errors were encountered: