Pressure Code (1013.2 -> 13.2)

Christian Grob christiangrob at GMX.NET
Wed Sep 6 03:56:28 EDT 2006


Hi everybody,
I'm trying to print sea level pressure [in hPa] with the 'gxout
grid'-option. The spacial resolution of the dataset is quite good, so the
squares are too small to print the full pressure value in hPa. Instead I
would like to print e.g. 13.2 for 1013.2 hPa, 90.4 for 990.4 hPa etc. How
can I do this? I already tried to write a script with an if-function (if
'pressure' >= 1000 'd pressure -1000' else 'd pressure - 900'), but it
didn't work, because Grads only supports variables which are strings, but
not variables like 'pressure', which describe a full datalayer.

Thanks for your help

Christian Grob



More information about the gradsusr mailing list