2011/11/14 äÁÒØÑ <span dir="ltr"><<a href="mailto:darik777@i.ua">darik777@i.ua</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
According to wgrib .grb file created by šlats4d command has the following structure<br>
<br>
rec 1:0:date 2007081500 TMP kpds5=11 kpds6=1 kpds7=0 levels=(0,0) grid=255 sfc anl:<br>
šTMP=Temp. [K]<br>
štimerange 0 P1 0 P2 0 TimeU 1 šnx 209 ny 139 GDS grid 0 num_in_ave 0 missing<br>
0<br>
šcenter 100 subcenter 2 process 13 Table 128<br>
šlatlon: lat š37.788000 to 48.977000 by 0.081000 šnxny 29051<br>
š š š š šlong 21.610000 to 38.475000 by 0.081000, (209 x 139) scan 2 mode 128 bdsgrid 1<br>
šmin/max data 271.97 300.67 šnum bits 9 šBDS_Ref 2719.7 šDecScale 1 BinScale 0<br>
<br>
However, I need to change some parameters of the grb file:<br>
"grid" (from 255 to 3)<br>
"center" (from 100 to 7)<br>
"subcenter" (from 2 to 0)<br>
š"process" (from 13 to 82)<br>
"scan" (from 2 to 0)<br>
<br>
Is there any way to do it by lats4d command?<br>
<br></blockquote><div><br></div><div>You can control some of the details of the grib-1 file with a lats parameter table, see the lats4d documentation (with "lats4d.sh -h"). When a parameter table it is not specified, lats4d creates one for you on the fly. Look for file .grads.lats.table on the directory you ran lats4d from. Rename this file and edit it by hand. However, not everything can be customized this way.š</div>
<div><br></div><div>Wes, the resident GRIB wizard, šmay be able to suggest some wgrib trick for doing this.</div><div><br></div><div>š š šArlindo</div><div><br></div><div><br></div><div><br></div><div><br></div><div>š</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
-- ÒÅËÌÁÍÁ -----------------------------------------------------------<br>
áËÃÉÑ × ëÎÉÖÎÏÍ ëÌÕÂÅ - âÏÌÅÅ 100 ËÎÉÇ ÐÏ 10 ÇÒÎ + ËÎÉÇÁ × ÐÏÄÁÒÏË!<br>
<a href="http://www.bookclub.ua/catalog/join/?utm_source=iua&utm_medium=email" target="_blank">http://www.bookclub.ua/catalog/join/?utm_source=iua&utm_medium=email</a><br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>