[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #BNL-694121]: ncgen bug?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #BNL-694121]: ncgen bug?
  • Date: Sat, 26 Dec 2015 14:43:33 -0700

Let me amend my previous reply.
THe problem is not that keywords are reserved, exactly,
it is that there is an ambiguity in the grammar for cdl files.
The line:
    data:_Fillvalue = ...
is ambiguous because it can be interpreted as the beginning
of the data: section. If you remove that line, your cdl file
compiles ok. This is going to be difficult to fix (maybe impossible)
because it can require significant lookahead.

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: BNL-694121
Department: Support netCDF
Priority: Normal
Status: Closed