I&#39;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.<br><br>Jeff Duda<br>
<br><div class="gmail_quote">On Wed, Dec 1, 2010 at 7:59 AM, Tatiana.Gonzalez <span dir="ltr">&lt;<a href="mailto:Tatiana.Gonzalez@noaa.gov">Tatiana.Gonzalez@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
Wendell,<br>
Try declaring &quot;a_rain&quot; as a global variable: _a_rain<br>
<br>
Tatiana<br>
On 11/30/2010 1:10 PM, Wendell Farias wrote:
<blockquote type="cite">
  
  <div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
  <div>Dear John Huddleston,</div>
  <div><br>
I did what you suggested me. Now the file was created, but is empty,
the file is completly white. Do <br>
you have any idea what is happening?<br>
  <br>
Thank you,</div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div>Message: 5<br>
Date: Tue, 30 Nov 2010 08:18:13 -0800<br>
From: &quot;Huddleston, John&quot; &lt;<a href="mailto:Huddleston@cira.colostate.edu" target="_blank">Huddleston@cira.colostate.edu</a>&gt;<br>
Subject: Re: [gradsusr] PRINTIM error<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
    <br>
&lt;<a href="mailto:F367071F539DC64FB75E7D7690B8160D010D7A5C55C7@EXVMBX003-2.exch003intermedia.net" target="_blank">F367071F539DC64FB75E7D7690B8160D010D7A5C55C7@EXVMBX003-2.exch003intermedia.net</a>&gt;<br>
    <br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
  <br>
Wendell<br>
  <br>
You are trying to write to the root directory. Take out the starting
?/? slash <br>
character.<br>
  <br>
John Huddleston, PhD<br>
Cooperative Institute for Research in the Atmosphere<br>
  <br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
On <br>
Behalf Of Wendell Farias<br>
Sent: Tuesday, November 30, 2010 9:13 AM<br>
To: GRADS<br>
Subject: [gradsusr] PRINTIM error<br>
  <br>
Hi everybody,<br>
  <br>
  <br>
I&#39;m trying to calculate the accumulated rain to six hours. The result
is showed <br>
on the screen, but not create the file (accumulated_rain.gif). When I
run the <br>
script shows the following message:<br>
  <br>
&quot;open error on /accumulated_rain.gif gif white&quot;<br>
&quot;PRINTIM error: open error&quot;<br>
  <br>
- part of script:<br>
  <br>
&#39;set gxout contour&#39;<br>
ret=rain()<br>
&#39;d a_rain&#39;<br>
  <br>
&#39;draw xlab lon&#39;<br>
&#39;draw ylab lat&#39;<br>
  <br>
&#39;draw title ACCUMULATED RAIN&#39;<br>
  <br>
&#39;printim /accumulated_rain.gif gif white&#39;<br>
  <br>
function rain()<br>
  <br>
&#39;define rain=(RAINC+RAINNC)&#39;<br>
&#39;define
a_rain=rain(t=2)+rain(t=3)+rain(t=4)+rain(t=5)+rain(t=6)+rain(t=7)&#39;<br>
  <br>
return()<br>
  <br>
Somebody can halp me?<br>
Thank you in advance,<br>
  <br>
  <br>
  </div>
  </div>
  <br>
 
  <pre><fieldset></fieldset>
_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
  </pre>
</blockquote>
<br>
<br>
<pre cols="72"></pre>
</div>

<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>