NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Undefined or forward referenced enum constant

Dennis,

I've attached the cdl file.

-Ajay


On Wed, Dec 4, 2013 at 12:15 PM, Dennis Heimbigner <dmh@xxxxxxxxxxxxxxxx>wrote:

> Can you post the whole cdl file (minus any data: part)?
> =Dennis Heimbigner
>  Unidata
>
>
> Ajay Krishnan - NOAA Affiliate wrote:
>
>> Hello Everyone.
>>
>> I have a cdl dataset where one of the variables is a 'char' It has been
>> defined as below:
>>  char wave_direction(station, obs) ;
>>           wave_direction:long_name = "wave_direction";
>>           wave_direction:standard_name = "wave_direction";
>>           wave_direction:nodc_name = "wave direction";
>>           wave_direction:units = "" ;
>>           wave_direction:scale_factor = 0.0f ;
>>           wave_direction:add_offset = 0.0f ;
>>           wave_direction:coordinates = "time lat lon" ;
>>           wave_direction:_FillValue = "-999";
>>
>>
>> When I run an ncgen on the above file, I get the following error:
>> "Undefined or forward referenced enum constant:"
>> What does this mean and how can I fix it?
>>
>> Thanks,
>> Ajay
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>

Attachment: test.cdl
Description: Binary data

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: