[gradsusr] invalid grid coordinates error: help

Jeff Duda jeffduda319 at gmail.com
Fri Jul 15 13:29:56 EDT 2016


Miles,
Are you able to plot each individual field on its own (i.e., using its own
control file)? If so...

Your expression is very long, so I'm wondering if this might be an issue
with the display command having too many characters. I would suggest a
condensed version of building up that expression as such:

***define an array of date strings corresponding to your cases first...
case.1 = "00Z18JAN2002"
case.2 = "00Z11JAN2003"
...
...
...
case.19 = "00Z30DEC2014"
'define sum = hgtprs'
i = 1
while (i <= 19)
 'sum = sum + hgtprs(time='case.i')'
 i = i + 1
endwhile

'define zave = sum/19'
'd zave'

This type of coding method is also helpful in the event that you made a
syntax error somewhere in your expression. Doing it this way builds the
entire thing up in chunks small enough for you to check individually with
less risk of missing something. See if any of this helps.

Jeff Duda

On Fri, Jul 15, 2016 at 10:45 AM, Miles Bliss <mblis2 at u.brockport.edu>
wrote:

> Hello all,
>              The following is the error message that i am receiving fro
> GrADS. As i am attempting to build an average picture, so to say, of upper
> air fields for all my cases as can be found in the attached file.
>
> Data Request Warning:  Request is completely outside file limits
> Data Request Warning:  Request is completely outside file limits
> Data Request Error: Invalid grid coordinates
>   World coordinates convert to non-integer  grid coordinates
>     Variable = hgtprs.18  Dimension = 3
>   Error ocurred at column 466
> DISPLAY error:  Invalid expression
>   Expression =
> ((hgtprs+hgtprs.2(time=00z18jan2002)+hgtprs.3(time=00z11jan2003)+hgtprs.4(time=00z07dec2005)+hgtprs.5(time=00z04dec2007)+hgtprs.6(time=00z08feb2007)+hgtprs.7(time=00z29dec2009)+hgtprs.8(time=00z20feb2009)+hgtprs.9(time=00z07dec2010)+hgtprs.10(time=00z01feb2010)+hgtprs.11(time=00z16jan2011)+hgtprs.12(time=00z01jan2013)+hgtprs.13(time=00z12dec2013)+hgtprs.14(time=00z19nov2014)+hgtprs.15(time=00z06jan2014)+hgtprs.16(time=00z29jan2014)+hgtprs.17(time=00z06feb2014)+hgtprs.18(time=00z08feb2014)+hgtprs.19(time=00z30dec2014))/19)
>
> I have checked using the 'q dims' function the time of each file listed in
> the script and each is the appropriately valued T index.
> Im not sure where to progress from here, so any help would be great.
> --
> -Miles Bliss
>  SUNY Brockport '17
>  Meteorology
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research associate
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160715/f162966a/attachment.html 


More information about the gradsusr mailing list