Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [netcdfgroup] Netcdf checker problem

Hi Philippe :

It looks ok to me, probably bug in the checker. I would send your message to 
the cf mailgroup.

BTW, Id like to get a sample file if possible.

John

Philippe Poilbarbe wrote:
Hello,

For a new satellite launch, we have decided to use NetCDF files to
deliver product data.
They will be CF-1.0 compliant and we are checking our definitions with
the online checker (http://titania.badc.rl.ac.uk/cgi-bin/cf-checker.pl).

For a variable (in fact for all variables which have the flag_values
attribute) we
have the error message:

ERROR: Attribute flag_values of incorrect type

The variable definition is:

byte alt_echo_type(time) ;
        alt_echo_type:long_name = "altimeter echo type" ;
        alt_echo_type:_FillValue = 127b ;
        alt_echo_type:flag_values = 0b, 1b ;
        alt_echo_type:flag_meanings = "ocean_like non_ocean_like" ;
        alt_echo_type:coordinates = "lon lat" ;


As recommended in the CF-1.0 documentation, the type of the
flag_values attribute is the same as the variable one.

So here is my question: what is wrong ? In my definition or
in the checker ?

Thanks,
Ph.P.



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690