netcdf file with reduced gaussian grid

Jennifer Adams jma at COLA.IGES.ORG
Wed Mar 11 07:57:52 EDT 2009


On Mar 10, 2009, at 1:05 PM, Remi Meynadier wrote:

> Dear grads users,
> I have a netcdf files (see the ncdump  below) with data defined on a
> reduced
> gaussian grid (N256) and hybrid level for vertical resolution.
> I can open it with sdfopen myfile.nc but it will only plot the first
> vertical level (it works fine for the first level).
> I need so to create a ddf file (see below) to force grads to take
> into the
> vertical resolution.
> But when i run the ddf file i have some trouble and it seems that
> grads does
> not recognize the data.
Next time, please also include the error message you get from GrADS
and the version/OS you're using.

> Any clue where does it come from ?
> Thanks in advance
>
> Remi Meynadier
>
> -----------------------------------------------------------------------
> ddf file:
>
> vars 1
> d_gds4_hybl=>div 91 t,z,y,x divergence model level ECMWF
> endvars

The name of the variable in the netcdf file is in upper case, but you
have changed it to lower case in your variable declaration. Change the
line above to :
D_GDS4_HYBL=>div  91  t,z,y,x  Divergence model level ECMWF


> ncdump -h divergence.nc
> netcdf divergence {
>  variables:
>         float D_GDS4_HYBL(initial_time0_hours, lv_HYBL1, g4_lat_4,
> g4_lon_5) ;


--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090311/7c7ee979/attachment.html 


More information about the gradsusr mailing list