[gradsusr] PRINTIM error

Jeffrey Duda jdduda at iastate.edu
Wed Dec 1 11:15:19 EST 2010


I'm running Grads v2.0.a9 on a Linux Red Hat system and I get an error when
I try to define a new field that has an underscore (_) in the name.  Perhaps
that is what is happening in your case as well.

Jeff Duda

On Wed, Dec 1, 2010 at 7:59 AM, Tatiana.Gonzalez
<Tatiana.Gonzalez at noaa.gov>wrote:

>  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>
> Subject: Re: [gradsusr] PRINTIM error
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Message-ID:
>
> <
> 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]
> 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 listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> _______________________________________________
> 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/20101201/f4ebb4ac/attachment-0003.html 


More information about the gradsusr mailing list