[gradsusr] Gxout Findstn
Stephen McMillan
smcmillan at planalytics.com
Mon Aug 30 10:29:28 EDT 2010
Thanks Daniele! That helps alot. I see there's also a fourth result,
to the right of latitude...do you know what that is? I'm thinking it
may be a distance to nearest station in screen units. Here's an
example output from mine:
d snowfall.2(t=2);4.54519;4.52597
result= 363632 -76 40.55 0.198828
I also noticed it gives the output of the nearest station, regardless
of whether it's a valid (non-missing) value. I think It would be more
useful if it gave the value of the nearest valid station.
Stephen
On Mon, Aug 30, 2010 at 3:40 AM, Daniele Gandini
<daniele.gandini at arpa.piemonte.it> wrote:
> Hi Stephen.
>
> * q pos to expect mouse click and to have xs and ys location on the map
> 'q pos'
> xs=subwrd(result,3)
> ys=subwrd(result,4)
>
> * display variable
> 'set gxout findstn';'d var';'xs';'ys
> say 'findstn: 'result
> * codstn is station code, lonstn and latstn are station coordinates.
> codstn=subwrd(result,1);lonstn=subwrd(result,2);latstn=subwrd(result,3)
>
> Bye.
>
> Daniele
>
> ----- Messaggio originale -----
> Da: "Stephen McMillan" <smcmillan at planalytics.com>
> A: "GrADS Users Forum" <gradsusr at gradsusr.org>
> Inviato: Venerdì, 27 agosto 2010 23:40:44
> Oggetto: [gradsusr] Gxout Findstn
>
> Does anyone have a WORKING example of the graphics output type
> "findstn"? I don't need the whole or even a partial script, just an
> example of the correct syntax. I searched in the User Archive and
> searched the internet for it, but came up empty. Usage note No. 5
> under "set gxout" in the Documentation Index has a description, but
> offers no example. I have tried various combinations of what it says,
> without any luck. I have not figured out how to incorporate the three
> arguments listed in the display command.
>
> I am using a valid station dataset with snowfall values over North
> America. The associated station ID's are 5- to 6-digit numbers. I
> have no problem displaying the snowfall values on a map.
>
> Thanks
> Stephen McMillan
> ***************************************************
> The information contained in this e-mail message
> is intended only for the use of the recipient(s)
> named above and may contain information that is
> privileged, confidential, and/or proprietary.
> If you are not the intended recipient, you may not
> review, copy or distribute this message. If you have
> received this communication in error, please notify
> the sender immediately by e-mail, and delete the original message.
> ***************************************************
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************
More information about the gradsusr
mailing list