[netcdfgroup] Maximum line length in a CDL

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 


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