Thats funny, i was just thinking about ncgen.
No, unfortunately, I dont have an ncgen parser. The equivilent thing is to use
NcML, which is just CDL in XML. You can then generate a netcdf file from the
Once you've created the ncml file, you can turn it into a binary file by:
BTW, I just noticed and fixed a bug in NcML reading, so get latest 2.2.10.
Stuart Wier wrote:
I would like to incorporate into a Java program the functionality of the
ncgen program used to convert cdl files to NetCDF files.
The top level need is a data converter program in Java program for
UNAVCO users, for converting their existing ascii data files into
NetCDF, without them learning cdl and downloading and installing the
ncgen program for their system.
Is there a method in the NetCDF-Java Library to mimic ncgen, or
something like that?