Re: Compressed NetCDF 4 classic files

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 29 2012 - 12:33:57 MDT

ncl_convert2nc should be able to convert the files to NetCDF 3 files simply by executing it with no argument other than the input file name (since its default output is a NetCDF 3 classic format).
However, to unpack the data into floats you will need to write your own script. If you want it to be very general you could try modifying ncl_convert2nc to add this as an option.
 -dave

On Aug 29, 2012, at 5:29 AM, Ashley Watson wrote:

> Dear all,
> I have hundreds of netcdf-4 classic files written by NCL. The script, used to produce the file, first converts float data to short using "pack_values" then write Netcdf-4 classic files with compression level 5.
> Is there a quick way to convert these files to netcdf-3 and also convert short to float. I think "ncl_convert2nc" can do the first job but cannot figure how? I am using NCL version 6.0.
>
> Thanks in advance
> Regards
> Ashley
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 29 12:34:06 2012

This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT