[gradsusr] netCDF control file

Deniz Demirhan Bari bari at iap-kborn.de
Mon Nov 8 04:11:05 EST 2010


Dear Grads users, 

I have calculated residual wind components in MATLAB and saved them in
netCDF file. Now I want to read them in grads but I cannot create a netcdf
control file.

I tried to get the output of ncdump but my computer doesn’t recognize ncdump
although I installed it. 
I am using the latest version of Grads on a Suse Linux computer. 
My attempt to create a ctl file is below: 

*

DSET  ^ures.nc

DTYPE  netCDF

XDEF 96 LINEAR 0.000000 3.750000

YDEF 48 LEVELS -87.159 -83.479 -79.777 -76.070 -72.362 -68.652

               -64.942 -61.232 -57.521 -53.810 -50.099 -46.389

               -42.678 -38.967 -35.256 -31.545 -27.833 -24.122

               -20.411 -16.700 -12.989  -9.278  -5.567  -1.856

                 1.856   5.567   9.278  12.989  16.700  20.411

                24.122  27.833  31.545  35.256  38.967  42.678

                46.389  50.099  53.810  57.521  61.232  64.942

                68.652  72.362  76.070  79.777  83.479  87.159

ZDEF 114 LINEAR 1 1

TDEF 1 LINEAR 00:00Z00jan0000 1mn

OPTIONS yrev

UNDEF  -9e+33

VARS  1

ures             114  1,100  ures

ENDVARS

* 

Thanks in advance

Deniz DEMIRHAN BARI

Leibniz-Institut für Atmosphärenphysik e.V.
an der Universität Rostock
Schlossstraße 6
18225 Kühlungsborn

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101108/1ec0382d/attachment.html 


More information about the gradsusr mailing list