[gradsusr] variable=environment
Jeffrey Duda
jdduda at iastate.edu
Tue Oct 19 10:24:17 EDT 2010
You have to make sure you are actively displaying a variable to have the
scaling environment set to run 'q xy2gr' etc. commands.
Jeff Duda
On Tue, Oct 19, 2010 at 2:47 AM, Andrew Revering <andy at f5data.com> wrote:
> Great, that got me on the right track… it was a factor of 'no scaling
> environment' with a fix of moving the code to after it has been displayed.
>
>
>
> Thanks.
>
>
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Heiner Körnich
> *Sent:* Tuesday, October 19, 2010 2:34 AM
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] variable=environment
>
>
>
> Don't know, but try
>
> say result
>
> after the 'q xy2gr'-command. then you know the output.
>
>
>
> /Heiner
>
> On Tue, Oct 19, 2010 at 9:07 AM, Andrew Revering <andy at f5data.com> wrote:
>
> This is probably a simple problem, but I can't figure it out…
>
>
>
> I'm using the OpenGrads superpack, and my variable gx returns "environment"
> instead of a value. Any ideas?
>
>
>
> 'q xy2gr 'sitelon+1' 'sitelat-1
>
> maxx = subwrd(result,3)
>
> gx = subwrd(result,3)
>
> gy = subwrd(result,6)
>
>
>
> say 'Max value is 'gx
>
>
>
>
>
>
>
> says…. "Max value is environment"
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> --
> Heiner Körnich
> Dept. of Meteorology Tel: +46 8 164333
> Stockholms University, SE-106 91 Stockholm, Sweden
> Email: heiner at misu.su.se www.misu.su.se/~heiner/<http://www.misu.su.se/%7Eheiner/>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101019/5787ae13/attachment.html
More information about the gradsusr
mailing list