Hi, The attached CDF file (test_out.cdf) was built by an extraction tool from the MyOcean (http://www.myocean.eu.org/) data server. It's OK to plot the data but I'm not being able to save a subset of data. A "Not a valid data type" error occurs, either asking to preserve the variable attributes or not. Any hints ? Thanks. ___________________________ converting to float ________________ $ ferret NOAA/PMEL TMAP FERRET v6.65 Linux rh5 (gfortran) 2.6.18-164.11.1.el5 - 11/30/10 31-Aug-11 18:32 yes? use test_out.cdf yes? set reg/i=10/j=10 yes? save/file=test_out_subset.cdf/clobber u LISTing to file test_out_subset.cdf *** NOTE: Converting data type of missing_value NC_SHORT to match output type of variable NC_FLOAT NetCDF: Not a valid data type or _FillValue type mismatch (OPeNDAP/netCDF Error code -45) could not change CDF mode ncclose: ncid 131072: NetCDF: Not a valid data type or _FillValue type mismatch ___________________________ keeping var atts ________________ $ ferret NOAA/PMEL TMAP FERRET v6.65 Linux rh5 (gfortran) 2.6.18-164.11.1.el5 - 11/30/10 31-Aug-11 18:32 yes? use test_out.cdf yes? set reg/i=10/j=10 yes? set att/output=all (U) yes? save/file=test_out_subset.cdf/clobber U LISTing to file test_out_subset.cdf NetCDF: Not a valid data type or _FillValue type mismatch (OPeNDAP/netCDF Error code -45) could not change CDF mode ncclose: ncid 131072: NetCDF: Not a valid data type or _FillValue type mismatch
Attachment:
test_out.cdf
Description: Cdf file