<div class="gmail_quote">On Fri, Jun 20, 2008 at 3:35 AM, Jayakrishnan PR <<a href="mailto:prjayakrishnan@gmail.com">prjayakrishnan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear Grads users,<br>
I would like to know how to convert the NCEP 17 level u wind in<br>
netcdf format to grib format using grads (or fortran).</blockquote><div><br></div><div>I am assuming you mean GRIB v1.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am aware of the<br>
<a href="http://lats4d.gs" target="_blank">lats4d.gs</a>, but by running that in my system with grads 1.9b4, I could not<br>
get the output. The error message was like this.<br>
<br>
lats4d: this build of GrADS v1.9b4 does not include the LATS option<br>
lats4d: please try "gradsnc" or "gradshdf", version 1.7beta9 or later<br></blockquote><div><br></div><div>Could you please send the output of</div><div><br></div><div>ga-> q config</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How to solve this problem. </blockquote><div><br></div><div>If in fact your GrADS build does not include LATS, then you could install one of the OpenGrADS builds of v1.9.0-rc1:</div><div><br></div><div> <a href="http://opengrads.org/wiki/index.php?title=Installing_GrADS_on_Linux/MacOS_X/Unix">http://opengrads.org/wiki/index.php?title=Installing_GrADS_on_Linux/MacOS_X/Unix</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If anyone could help me in solving the issue it<br>
will be great help for me. I want to read the netcdf 17 level u wind values<br>
using a fortran source code and perform some calculations. </blockquote><div><br></div><div>Reading your netcdf file in Fortran may be easier than reading GRIB-1. Another possibility is to generate plain sequential binary with lats4d.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">That is my purpose.<br>
Kindly help me.<br>
</blockquote></div><br>When writing GRIB v1 files, by default lats4d will generate its own tables which are not compatible with NCEP's. Read the lats4d documentation for additional information on specifying your own tables.<div>
<br></div><div> Arlindo <br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>
</div>