Re: Ncl_convert2nc and CF1 convention

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 04 Jun 2008 11:08:21 -0600

Out of curiosity ....
What is not CF1 compliant about the file(s) created by ncl_convert2nc?

============================
The default file attribute 'conventions' says

:conventions = "None"

because conventions change and we may not be up-to-date

If you think it is CF compliant and want the file attribute to be changed to

:conventions = "CF 1.0" or some such name

you can use NCL

%> ncl
ncl> f= addfile("foo.nc", "w")
ncl> f_at_conventions = "CF 1.0"
ncl exit

or a netCDF operator [NCO] to change the attribute.

http://nco.sourceforge.net/nco.html#ncatted

Hongliang Fang wrote:
> Hello,
>
> I'm a newbie to NCL. I'm trying to convert from GRIB to NetCDF with
> ncl_convert2nc.
> I understand the output file is in a generic NetCDF 3 format without any
> specific convention. How to make the output get NetCDF files CF1 compliant?
> I wonder if there is any specific options to set for ncl_convert2nc. Or any
> other tools/scripts?
>
> Any information is appreciated.
>
> Henry
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 04 2008 - 11:08:21 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 04 2008 - 15:43:54 MDT