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.
Hi, I am using ncgen to convert a huge CDL file to a NetCDF file. The CDL file initially contains some quite long lines in the data section. At present I use the following commands (on HP-UX) to generate the NetCDF file: ..... | fmt -s -w 132 | ncgen -v 2 -o file.nc Where the fmt command makes sure the CDL contains no lines longer than 132 characters. This works fine. The only problem is that the fmt command uses quite a lot of CPU resources. Therefore I was wondering what the maximum line length accepted by ncgen is, so I can determine whether or not I need the fmt command. Thanks, Tim Hume Centre for Australian Weather and Climate Research Melbourne Australia
netcdfgroup
archives: