Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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 


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690