Open ChrisBarker-NOAA opened 5 years ago
Some netcdf files use NaN for missing value, but without the "proper" Missing_VAlue or Fill_VAlue set.
so netCDF4 gives you an array with NaNs that is not masked.
We should deal with that "sanely".
Probably: Variables will treat NaN as 0.0
Here: mareaabril.nc.zip
Is an example -- in this case, replacing the NaNs with zero would work well.
Some netcdf files use NaN for missing value, but without the "proper" Missing_VAlue or Fill_VAlue set.
so netCDF4 gives you an array with NaNs that is not masked.
We should deal with that "sanely".
Probably: Variables will treat NaN as 0.0
Here: mareaabril.nc.zip
Is an example -- in this case, replacing the NaNs with zero would work well.