<span lang="en"><span>Thank you</span> <span>Jennifer</span><br><span>I already know</span> <span>how to do.<br><br></span></span>'open model.ctl'<br><br>* <span lang="en"><span>varying</span> <span>all latitudes</span></span><br>
while( y <= 106 )<br><br>x=154<br>* <span lang="en"><span>varying</span> <span>all </span></span>longitudes<br>while( x >= 1 )<br><br><span lang="en"><span>* Selecting the</span> <span>corresponding</span> <span>grid point</span></span><br>
'set x 'x<br> linha=sublin(result,1)<br> lat=subwrd(linha,4)<br><br>'set y 'y<br> linha=sublin(result,1)<br> lon=subwrd(linha,4)<br>'!echo 'lon','lat' | sed s@\ @@g >> latlon.dat'<br>
<br>Regards,<br><br>Rafael<br>-- <br><i style="color:rgb(51,51,51)">Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br><a href="tel:%2B55%20%2848%293665-5130" value="+554836655130" target="_blank">+55 (48)3665-5130</a><br>
<a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a></i><br>
<br><br>
<div class="gmail_quote">2012/11/6 Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">There are internal variables 'lat' and 'lon' that show the values for those grid coordinates. The altitude is only available if it is a data variable in your file. --Jennifer<div>
<br><div><div><div><div>On Nov 6, 2012, at 7:31 AM, RafaelCB wrote:</div><br></div></div><blockquote type="cite"><div><div><span lang="en"><span>I would like to</span> <span>extract the</span> <span>latitude</span><span>, longitude</span> <span>and</span> <span>altitude</span> <span>of each</span> <span>grid point</span> <span>model</span><span>.</span><br>
<span>Does anyone</span> <span>have any idea how</span> <span>can I do this</span><span>?</span><br><br><span>Regards,<br><br>Rafael<br clear="all"></span></span><br>-- <br>
<i style="color:rgb(51,51,51)">Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br><a href="tel:%2B55%20%2848%293665-5130" value="+554836655130" target="_blank">+55 (48)3665-5130</a><br><a href="http://ciram.epagri.sc.gov.br/" target="_blank">http://ciram.epagri.sc.gov.br</a></i><br>
<br></div></div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">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><div>
<span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>