<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-> 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>>>>><br><br></div><div>What I'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't get the gr2str function. If the first parameter must be a grid, I understand that shouldn't attach lat and lon, but if I don't do that get this error message:<br><br> ga-> d gr2stn(ps,41.2,2.2)<br>
Error from GR2STN: 2nd argument is not a station expression<br><br></div><div>don't get it.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-17 19:16 GMT+01:00 Oriol Ciurana <span dir="ltr"><<a href="mailto:uri@uriens.cat" target="_blank">uri@uriens.cat</a>></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'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" 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 class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></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">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>