I've been running a few files thru this, and I'm persistently having trouble
with packed data, scale factors, and add_offsets. For example, here is part
of a netcdf file that gives trouble.
short pitch(time, rdi_depth, lat, lon) ;
pitch:long_name = "ADCP Pitch" ;
pitch:scale_factor = 0.01 ;
pitch:add_offset = 0. ;
pitch:units = "angular_degrees" ;
I'm getting these messages...
------------------
Checking variable: pitch
------------------
ERROR: scale_factor and add_offset must be of type float or double
ERROR: pitch must be of type byte, short or int
I've reviewed both the CF notes on packed data as well as the NetCDF best
practices, I don't see why this should be an error. Having the attributes as
floats results in the same message. Am I missing something blindingly
obvious here?
On Wednesday 02 July 2003 09:00, Stephens, A (Ag) wrote:
> Dear all,
>
> The Hadley Centre CF-checker hosted by the BADC has been moved to an
> operational server and is now available at:
>
> http://titania.badc.rl.ac.uk/cgi-bin/cf-checker.pl
>
> This service allows you to upload a NetCDF file and the output will report
> whether the file conforms to the CF Metadata Convention.
>
> Apologies to those that were unable to access this service whilst it was
> down.
>
> Kind regards,
>
> Ag
> -------------------------------------------------------------
> Ag Stephens Ph : +44 (0)1235 446220
> Data Scientist, Fax: +44 (0)1235 446314
> British Atmospheric Data Centre,
> Rutherford Appleton Laboratory,
> Chilton, Didcot, OX11 0QX, U.K.
> Email: A.Stephens at rl.ac.uk Web: http://badc.nerc.ac.uk
> -------------------------------------------------------------
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://www.cgd.ucar.edu/mailman/listinfo/cf-metadata
--
John Evans
johnevans at acm.org
Received on Mon Jul 07 2003 - 09:46:53 BST