[gradsusr] Gxout Findstn

Ricardo Hallak hallak at model.iag.usp.br
Mon Aug 30 15:57:12 EDT 2010


Stephen

you were right: I got almost the same result applying findstn at four
symmetric points around a station. The numbers are distances from the point in
virtual page coordinates.

Regards,
Ricardo

On Mon, 30 Aug 2010 15:30:39 -0400, Stephen McMillan wrote
> Ricardo,
> The variable I was using in this case was snowfall amount, not
> snow(fall) depth.  Snow depth is a separate variable in my dataset.
> 
> Stephen
> 
> On Mon, Aug 30, 2010 at 1:50 PM, Ricardo Hallak 
> <hallak at model.iag.usp.br> wrote:
> > Hi Stephen,
> >
> > isn't it just the snowfall depth at that point?
> >
> > Ricardo
> >
> > On Mon, 30 Aug 2010 10:29:28 -0400, Stephen McMillan wrote
> >> 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.
> >> ***************************************************
> >>
> >> _______________________________________________
> >> gradsusr mailing list
> >> gradsusr at gradsusr.org
> >> http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
> > Ricardo Hallak
> >
> > Department of Atmospheric Sciences (DCA)
> > Institute of Astronomy, Geophysics and Atmospheric Sciences (IAG)
> > University of São Paulo (USP)
> > Rua do Matão, 1226 - Cidade Universitária - São Paulo SP 05508-900
> > Phone.: +55 (11) 3091-2850; 3091-4703
> > Fax: +55 (11) 3091-4714
> >
> > _______________________________________________
> > 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.
> ***************************************************
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr


Ricardo Hallak

Department of Atmospheric Sciences (DCA)
Institute of Astronomy, Geophysics and Atmospheric Sciences (IAG)
University of São Paulo (USP)
Rua do Matão, 1226 - Cidade Universitária - São Paulo SP 05508-900
Phone.: +55 (11) 3091-2850; 3091-4703
Fax: +55 (11) 3091-4714




More information about the gradsusr mailing list