Re: Compressed NetCDF 4 classic files

From: Ashley Watson <ashleywats_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 29 2012 - 16:09:56 MDT

Dear Dave,

       Thanks for the reply. I have found a quick solution to second part.
One can easily unpack the data with NCO using ncpdq operator.
ncpdq -U infile.nc outfile.nc

Regards
Ashley

On Wed, Aug 29, 2012 at 8:33 PM, David Brown <dbrown@ucar.edu> wrote:

> 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 16:10:13 2012

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