[gradsusr] gr2stn() doesn't match plot

Oriol Ciurana uri at uriens.cat
Mon Nov 17 13:16:14 EST 2014


Hola Miquel,

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.

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:
http://www.iges.org/grads/gadoc/gradfuncgr2stn.html

A reveure,

Oriol

2014-11-17 17:27 GMT+01:00 Miquel Bernis <bernisfeina at gmail.com>:

> Hi everyone,
>
> I'm running grads 2.0.a9 on a Virtual Machine Ubuntu 12.04
>
> 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?
>
> Thanks for reading. I would appreciate your help.
> Miquel
>
>
> ga-> d tsfc-273
> Contouring: -0 to 18 interval 2
> ga-> s gxout print
> Unknown command: s
> ga-> set gxout print
> ga-> set lat 0
> LAT set to 0 0
> ga-> set lon 0
> LON set to 0 0
> ga-> d gr2stn(tsfc-273,42.2,2.1)
> Printing Stations -- 1 Reports -- Undef = -9.99e+08
> xxxxxxxx 42.2      2.1       1000
> 26.8196
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141117/2c933db8/attachment.html 


More information about the gradsusr mailing list