Kishore <br>You have netcdf file which can directly open in grads with sdfopen command. <br>For clarification you can visit<br><a href="http://www.iges.org/grads/gadoc/gradcomdsdfopen.html">http://www.iges.org/grads/gadoc/gradcomdsdfopen.html</a><br>
<br>Regards<br>Sushant<br><br><div class="gmail_quote">On Sat, Aug 11, 2012 at 2:34 PM, Kishore Babu <span dir="ltr"><<a href="mailto:kishoreragi@gmail.com" target="_blank">kishoreragi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Grads users,<br><br>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.<br>
<br>DSET ^T421994JUN.ctl<br>TITLE XXXXX 6-hourly analysis data<br>UNDEF -9999.00<br>options big_endian<br>XDEF 128 LINEAR 0.000 2.8125<br>YDEF 64 levels -87.8638 -85.0965 -82.3129 -79.5256 -76.7369 -73.9475<br>
-71.1578 -68.3678 -65.5776 -62.7874 -59.9970 -57.2066 -54.4162<br>
-51.6257 -48.8352 -46.0447 -43.2542 -40.4636 -37.6731 -34.8825<br> -32.0919 -29.3014 -26.5108 -23.7202 -20.9296 -18.1390 -15.3484<br> -12.5578 -9.76715 -6.97653 -4.18592 -1.39531 1.39531 4.18592<br>
6.97653 9.76715 12.5578 15.3484 18.1390 20.9296 23.7202<br> 26.5108 29.3014 32.0919 34.8825 37.6731 40.4636 43.2542<br> 46.0447 48.8352 51.6257 54.4162 57.2066 59.9970 62.7874<br>
65.5776 68.3678 71.1578 73.9475 76.7369 79.5256 82.3129<br> 85.0965 87.8638<br>ZDEF 15 levels 1000 925 850 700 500 400 300 250 200 150 100 70 50 30 10<br>TDEF 120 LINEAR 00Z01jun1994 6hr<br>
VARS 7<br>
ps 0 99 surface pressure, Pa<br>z 15 0 geopotential height, m<br>t 15 0 air temperature, K<br>u 15 0 zonal wind, m/s<br>v 15 0 meridional wind, m/s<br>w 15 0 vertical velocity, Pa/s<br>q 15 0 water vapour, kg/kg<br>
ENDVARS<br><br><br>I have been struggling to get solved for weeks. Your help will save much of my future...<br><br>Thank you in advance,<br><br>Yours sincerely,<br><br>Kishore<br>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br><br>