missing values in netCDF
Added by Jascha Lehmann over 12 years ago
Hello dear helpers,
I just used
cdo selmon,1 file.nc file_Jan.nc
to extract data from all Januarys in a netCDF file.
The problem I have is that during this operation the attribute "missing_value=32767s" is beeing changed to "_Fillvalue=32767s".
If I now open the newly created netCDF file in R all the entries with 32767s are NOT treated as NAs but as if they had this value.
With setmissval I can change the missing value but this value is still saved in "_FillValue" and therefore not accepted by R.
Does anyone have an idea, how I can change "_FillValue" to "missing_value" again?
Cheers,
Josch