[gradsusr] problem running the script skew.gs

Glauber Mariano glauber.mariano at cptec.inpe.br
Tue Nov 16 07:40:43 EST 2010


Hi Juan,

I think that your problem is about your lat/lon point that you select! When
I run the skew.gs I put some tests to know if my lat/lon is available on my
data, or if my data has undef values ex:

'd t'
testelimit = sublin(result,1)
testelimite = subwrd(testelimit,2)
if (testelimite = Request)
   say ''
   say 'There is not data in this point'
   say ''
   i=i+1
else
'set z 4'

*****UNDEF test *********** begin
'd t'
testeundef = sublin(result,1)
testeundef = subwrd(testeundef,4)
say ''
say 'This point  'i' has 'testeundef
say ''
If (testeundef = 0)
   i=i+1
else
*****UNDEF test *********** end

....... rest of the script

I hope that you can run it now...

Glauber Lopes Mariano
Departamento de Satélites e Sistemas Ambientais - DSA / CPTEC - Grupo de
Sondagens Atmosféricas
Fone: (12) 3186-9467
Email: glauber.mariano at cptec.inpe.br / glaubermariano at gmail.com


2010/11/16 Juan Carlos Anduckia <janducki at yahoo.com>

> Hello, I'm new to this forum and I have a little problem with the script
> skew.gs for WRF model output. When filling in the appropriate options and
> coordinates in a GrADS session, I get this error:
>
> Data Request Warning:  Request beyond file limits
> Data Request Warning:  Request beyond file limits
> Data Request Warning:  Request beyond file limits
> Data Request Warning:  Request beyond file limits
> Define Error:  Unable to allocate data memory
>   Size of request was -899 grid elements
> Data Request Warning:  Request beyond file limits
> Data Request Warning:  Request beyond file limits
> Define Error:  Unable to allocate data memory
>   Size of request was -899 grid elements
> Data Request Warning:  Request beyond file limits
> Define Error:  Unable to allocate data memory
>   Size of request was -899 grid elements
> Data Request Warning:  Request beyond file limits
> Define Error:  Unable to allocate data memory
>   Size of request was -899 grid elements
> Data Request Error: Invalid grid coordinates
>   Varying dimension 2 decreases: 1000 to 100
>   Error ocurred getting variable 'lon'
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = lon
> Non-numeric args to numeric operation
>   Error occurred on line 893
>   In file ./skew.gs
>   Error occurred on line 69
>   In file ./skew.gs
>
> Does anybody know what the problem might be?
> Thanks for any help, JCA
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101116/f15f1933/attachment-0003.html 


More information about the gradsusr mailing list