[gradsusr] Get value of a specific grid point?

James T. Potemra jimp at hawaii.edu
Sat Oct 8 17:05:25 EDT 2011


Stefan:

If you display the value, then capture it as a string, you can draw it, 
e.g.,

'set t 21'
'set lon 23'
'set lat 61'
'd temp2m'
ctemp = subwrd(result,4)
'draw string 4.25 10.75 'ctemp


Jim

On 10/8/11 9:34 AM, Stefan Gofferje wrote:
> Good evening list!
>
> It's quite some while since I have been posting here and quite some time
> since I worked with GrADs the last time :).
> Could somebody give my a quick hint...?
>
> I have the NOAA GFS data and I want to pick a certain value at certain
> coordinates at a certain time to print it with draw string.
>
> I tried the seemingly obvious way...
>
> set t 21
> set lon 23
> set lat 61
> 'draw string 4.25 10.75' temp2m
>
> Result: "temp2m" at 4.25 10.75 but not the value.
>
> q defval doesn't help me as it seems that the time doesn't have any
> effect on the result (only 2D grid?)...
>
> Any hints?
>



More information about the gradsusr mailing list