<div dir="ltr">Doncs aleshores jo tampoc ho acabo de veure clar, a veure si ens ho aclareixen i de pas aprenem una cosa nova.<div><br></div><div>Oriol</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-17 20:39 GMT+01:00 Miquel Bernis <span dir="ltr">&lt;<a href="mailto:bernisfeina@gmail.com" target="_blank">bernisfeina@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Gràcies per la resposta Oriol! El que intento és simplement crear una interpolació per a una estació concreta. Feia això del mapa per comparar el resultat i veure que era correcta. Sembla clar que no entenc la funció gr2stn(). Si el que em demana és una malla, el que jo interpreto és que hauria de deixar LAT i LON sense fixar, però si ho faig així apareix aquest error<br><div><br>ga-&gt; d gr2stn(ps,41.2,2.2)<br>Error from GR2STN: 2nd argument is not a station expression<br><br></div><div>No ho caço. <br><br>&gt;&gt;&gt;&gt;<br><br></div><div>What I&#39;m trying to do is just interpolate to an specific station. I made the plot thing in order to check if the interpolation matched more or less with what I see on the map. Seems clear that I don&#39;t get the gr2str function. If the first parameter must be a grid, I understand that shouldn&#39;t attach lat and lon, but if I don&#39;t do that get this error message:<br><br> ga-&gt; d gr2stn(ps,41.2,2.2)<br>
Error from GR2STN: 2nd argument is not a station expression<br><br></div><div>don&#39;t get it.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2014-11-17 19:16 GMT+01:00 Oriol Ciurana <span dir="ltr">&lt;<a href="mailto:uri@uriens.cat" target="_blank">uri@uriens.cat</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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&#39;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 &quot;d tsfc-273.15&quot;, 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&#39;t bé la definició, crec que no la tens ben entesa: <a href="http://www.iges.org/grads/gadoc/gradfuncgr2stn.html" target="_blank">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"><div><div>2014-11-17 17:27 GMT+01:00 Miquel Bernis <span dir="ltr">&lt;<a href="mailto:bernisfeina@gmail.com" target="_blank">bernisfeina@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div>Hi everyone, <br><br></div><div>I&#39;m running grads 2.0.a9 on a Virtual Machine Ubuntu 12.04<br></div><div><br></div>I&#39;m
 sorry because I&#39;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&#39;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&#39;s the same
 in other labels, variables, and even with other files. Does anybody 
know what I&#39;m doing wrong?<br><br></div>Thanks for reading. I would appreciate your help.<br></div>Miquel<br><br><br>ga-&gt; d tsfc-273<br>Contouring: -0 to 18 interval 2 <br>ga-&gt; s gxout print<br>Unknown command: s<br>ga-&gt; set gxout print<br>ga-&gt; set lat 0<br>LAT set to 0 0 <br>ga-&gt; set lon 0<br>LON set to 0 0 <br>ga-&gt; 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></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>
<br></blockquote></div><br></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></div>
</div></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>