[gradsusr] need program for creating a grads data from netcdf....

sushant puranik sushantpuranik at gmail.com
Sat Aug 11 05:59:47 EDT 2012


Kishore
You have netcdf file which can directly open in grads with sdfopen command.
For clarification you can visit
http://www.iges.org/grads/gadoc/gradcomdsdfopen.html

Regards
Sushant

On Sat, Aug 11, 2012 at 2:34 PM, Kishore Babu <kishoreragi at gmail.com> wrote:

> Dear Grads users,
>
> I am quit new to grads programming. Could anyone help me with the grads
> code to create grads data file? I have a netcdf file with all the required
> variables in all dimensions. The control file of the data file must be like
> the following.
>
> DSET ^T421994JUN.ctl
> TITLE XXXXX 6-hourly analysis data
> UNDEF -9999.00
> options big_endian
> XDEF 128 LINEAR 0.000 2.8125
> YDEF  64 levels -87.8638   -85.0965   -82.3129   -79.5256   -76.7369
> -73.9475
>     -71.1578   -68.3678   -65.5776   -62.7874   -59.9970   -57.2066
> -54.4162
>     -51.6257   -48.8352   -46.0447   -43.2542   -40.4636   -37.6731
> -34.8825
>     -32.0919   -29.3014   -26.5108   -23.7202   -20.9296   -18.1390
> -15.3484
>     -12.5578   -9.76715   -6.97653   -4.18592   -1.39531    1.39531
> 4.18592
>      6.97653    9.76715    12.5578    15.3484    18.1390    20.9296
> 23.7202
>      26.5108    29.3014    32.0919    34.8825    37.6731    40.4636
> 43.2542
>      46.0447    48.8352    51.6257    54.4162    57.2066    59.9970
> 62.7874
>      65.5776    68.3678    71.1578    73.9475    76.7369    79.5256
> 82.3129
>      85.0965    87.8638
> ZDEF 15 levels 1000 925 850 700 500 400 300 250 200 150 100 70 50 30 10
> TDEF 120 LINEAR 00Z01jun1994 6hr
> VARS 7
> ps 0 99 surface pressure, Pa
> z  15 0 geopotential height, m
> t  15 0 air temperature, K
> u  15 0 zonal wind, m/s
> v  15 0 meridional wind, m/s
> w  15 0 vertical velocity, Pa/s
> q  15 0 water vapour, kg/kg
> ENDVARS
>
>
> I have been struggling to get solved for weeks. Your help will save much
> of my future...
>
> Thank you in advance,
>
> Yours sincerely,
>
> Kishore
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20120811/6b5f4e8a/attachment-0003.html 


More information about the gradsusr mailing list