[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #WND-618827]: how to downgrade a netcdf file to classic



> I have come up with a trivial solution using nco operators built with LFS:
> 
> ncks -O foo.nc foo.nc will automatically convert foo.nc to a version 1
> netcdf file, provided that it is small enough.
> 
> Harper

Great, glad to hear it!

There is no way to do this internal to netcdf, just to use a program which 
reads one netcdf file and writes another. There is probably some way to do this 
on the command line with ncdump and ncgen, but using the NCO operators is no 
doubt much faster, since nothing is (presumably) converted to ASCII, as ncdump 
would do.

Keep on netCDFing!

Ed Hartnett

Ticket Details
===================
Ticket ID: WND-618827
Department: Support netCDF
Priority: High
Status: Closed