-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icvert variable converted to float when saving to NetCDF #128
Comments
It has to do with how NetCDF stores missing values in an integer array. For more information see this issue: #91 Did you encounter problems when writing the DISV? |
So the saved NetCDF-file does contain integer values for the variable
|
Thanks for the clarification @rubencalje. I meant to provide a working example but I haven't got to it yet. I trust this will solve the issue I had. Indeed the |
Fixed by #238 |
The icvert variable in the nlmod model dataset is converted to float when saving to NetCDF. The variable has the attribute "_FillValue" set to -1. This attribute is lost when saving to NetCDF. The changes can cause problems when writing the DISV package.
Is this a NetCDF issue? Or is it caused by missing values in the icvert variable for certain coordinate combinations?
The text was updated successfully, but these errors were encountered: