[RegCNET] NetCDF Error: -51

Graziano Giuliani ggiulian at ictp.it
Fri Dec 28 14:47:48 CET 2012


On 12/26/2012 04:31 PM, Hernandez Garces Anel wrote:
[...]
> what should I do?
[,,,]

To reduce the amount of disk space required to archive input global model 
datasets for the RegCM, we are converting the netCDF V3 data format into the new 
netCDF V4 HDF5 compressed data format, which allows for a saving space of more 
than 40% on the static input data.
Best would be upgrade the netcdf library to version 4.x linking to HDF5 library 
with compression enabled.
If not an option, you can also use a recent Linux box with netcdf 4.x binary 
program installed (Ubuntu > 10.x, Fedora > 12.x) to convert the netcdf V4 
downloaded to netcdf V3:

nccopy -k 1 filev4.nc filev3.nc
mv filev4.nc filev4.nc.org && mv filev3.nc filev4.nc

The V4 file have been created from the V3 file with the following commands:

nccopy -k 3 -s -d 9 filev3.nc filev4.nc

Graziano.

-- 
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy


More information about the RegCNET mailing list