[gradsusr] PRINTIM error

Tatiana.Gonzalez Tatiana.Gonzalez at noaa.gov
Wed Dec 1 08:59:42 EST 2010


Wendell,
Try declaring "a_rain" as a global variable: _a_rain

Tatiana
On 11/30/2010 1:10 PM, Wendell Farias wrote:
> Dear John Huddleston,
>
> I did what you suggested me. Now the file was created, but is empty, 
> the file is completly white. Do
> you have any idea what is happening?
>
> Thank you,
>
>
> Message: 5
> Date: Tue, 30 Nov 2010 08:18:13 -0800
> From: "Huddleston, John" <Huddleston at cira.colostate.edu 
> <mailto:Huddleston at cira.colostate.edu>>
> Subject: Re: [gradsusr] PRINTIM error
> To: GrADS Users Forum <gradsusr at gradsusr.org 
> <mailto:gradsusr at gradsusr.org>>
> Message-ID:
>
> <F367071F539DC64FB75E7D7690B8160D010D7A5C55C7 at EXVMBX003-2.exch003intermedia.net 
> <mailto:F367071F539DC64FB75E7D7690B8160D010D7A5C55C7 at EXVMBX003-2.exch003intermedia.net>>
>
> Content-Type: text/plain; charset="utf-8"
>
> Wendell
>
> You are trying to write to the root directory. Take out the starting 
> ?/? slash
> character.
>
> John Huddleston, PhD
> Cooperative Institute for Research in the Atmosphere
>
> From: gradsusr-bounces at gradsusr.org 
> <mailto:gradsusr-bounces at gradsusr.org> [mailto:gradsusr-bounces at gradsusr.org 
> <mailto:gradsusr-bounces at gradsusr.org>] On
> Behalf Of Wendell Farias
> Sent: Tuesday, November 30, 2010 9:13 AM
> To: GRADS
> Subject: [gradsusr] PRINTIM error
>
> Hi everybody,
>
>
> I'm trying to calculate the accumulated rain to six hours. The result 
> is showed
> on the screen, but not create the file (accumulated_rain.gif). When I 
> run the
> script shows the following message:
>
> "open error on /accumulated_rain.gif gif white"
> "PRINTIM error: open error"
>
> - part of script:
>
> 'set gxout contour'
> ret=rain()
> 'd a_rain'
>
> 'draw xlab lon'
> 'draw ylab lat'
>
> 'draw title ACCUMULATED RAIN'
>
> 'printim /accumulated_rain.gif gif white'
>
> function rain()
>
> 'define rain=(RAINC+RAINNC)'
> 'define 
> a_rain=rain(t=2)+rain(t=3)+rain(t=4)+rain(t=5)+rain(t=6)+rain(t=7)'
>
> return()
>
> Somebody can halp me?
> Thank you in advance,
>
>
>
>
> _______________________________________________
> 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/20101201/9c5ff9d2/attachment-0003.html 


More information about the gradsusr mailing list