Project

General

Profile

fill value error

Added by T.C. Helsloot over 6 years ago

When using 'cat' to combine two NetCDF4_classic files I got the following error:

Error (cdf_put_att_double) : NetCDF: Attempt to define fill value when data already exists.
Error (cdf_close) : NetCDF: HDF error

Both files had '_FillValue' attributes that are automatically generated when writing a NetCDF file with MATLAB.
The command ran successfully after I removed all the _FillValue attributes.

Is this a CDO bug or is MATLAB doing something that doesn't make sense?