<div dir="ltr">Hola Miquel,<div><br></div><div>No entenc exactament què pretens fer, a veure si ho entenc. Sembla que primer estiguis pintant un mapa de temperatures i després vulguis obtenir el valor numèric d'un punt geogràfic concret. Si és així, és més fàcil, fixa la LAT i la LON al punt que desitgis i fes directament un "d tsfc-273.15", això directament et donarà el valor numèric a la consola.</div><div><br></div><div>La funció gr2stn admet com a primer paràmetre una malla i no un paràmetre, mira't bé la definició, crec que no la tens ben entesa: <a href="http://www.iges.org/grads/gadoc/gradfuncgr2stn.html">http://www.iges.org/grads/gadoc/gradfuncgr2stn.html</a></div><div><br></div><div>A reveure,</div><div><br></div><div>Oriol</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-17 17:27 GMT+01:00 Miquel Bernis <span dir="ltr"><<a href="mailto:bernisfeina@gmail.com" target="_blank">bernisfeina@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi everyone, <br><br></div><div>I'm running grads 2.0.a9 on a Virtual Machine Ubuntu 12.04<br></div><div><br></div>I'm
sorry because I'm new using the software and maybe this is a quite
basic question. I would like to ask you about the function gr2stn(), my
problem is that when I try to compare the results of ploting any
variable, with the results of using gr2stn for an specific point doesn't
seem to match. Using the example model.ctl of the basic grads tutorial
it seems that tsfc-273 on the label 1000 rounds 10 degrees (more or
less) on 42N 2E, but when I lock lat and lon, the result of using
gr2stn() get me to a 26.8, which is no quite the expected. It's the same
in other labels, variables, and even with other files. Does anybody
know what I'm doing wrong?<br><br></div>Thanks for reading. I would appreciate your help.<br></div>Miquel<br><br><br>ga-> d tsfc-273<br>Contouring: -0 to 18 interval 2 <br>ga-> s gxout print<br>Unknown command: s<br>ga-> set gxout print<br>ga-> set lat 0<br>LAT set to 0 0 <br>ga-> set lon 0<br>LON set to 0 0 <br>ga-> d gr2stn(tsfc-273,42.2,2.1)<br>Printing Stations -- 1 Reports -- Undef = -9.99e+08<br>xxxxxxxx 42.2 2.1 1000 <br>26.8196 </div>
<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></div>