<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Wendell,<br>
Try declaring "a_rain" as a global variable: _a_rain<br>
<br>
Tatiana<br>
On 11/30/2010 1:10 PM, Wendell Farias wrote:
<blockquote cite="mid:322108.4239.qm@web50904.mail.re2.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<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: "Huddleston, John" <<a moz-do-not-send="true"
ymailto="mailto:Huddleston@cira.colostate.edu"
href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>><br>
Subject: Re: [gradsusr] PRINTIM error<br>
To: GrADS Users Forum <<a moz-do-not-send="true"
ymailto="mailto:gradsusr@gradsusr.org"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
Message-ID:<br>
<br>
<<a moz-do-not-send="true"
ymailto="mailto:F367071F539DC64FB75E7D7690B8160D010D7A5C55C7@EXVMBX003-2.exch003intermedia.net"
href="mailto:F367071F539DC64FB75E7D7690B8160D010D7A5C55C7@EXVMBX003-2.exch003intermedia.net">F367071F539DC64FB75E7D7690B8160D010D7A5C55C7@EXVMBX003-2.exch003intermedia.net</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<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 moz-do-not-send="true"
ymailto="mailto:gradsusr-bounces@gradsusr.org"
href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a
moz-do-not-send="true" ymailto="mailto:gradsusr-bounces@gradsusr.org"
href="mailto:gradsusr-bounces@gradsusr.org">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'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>
"open error on /accumulated_rain.gif gif white"<br>
"PRINTIM error: open error"<br>
<br>
- part of script:<br>
<br>
'set gxout contour'<br>
ret=rain()<br>
'd a_rain'<br>
<br>
'draw xlab lon'<br>
'draw ylab lat'<br>
<br>
'draw title ACCUMULATED RAIN'<br>
<br>
'printim /accumulated_rain.gif gif white'<br>
<br>
function rain()<br>
<br>
'define rain=(RAINC+RAINNC)'<br>
'define
a_rain=rain(t=2)+rain(t=3)+rain(t=4)+rain(t=5)+rain(t=6)+rain(t=7)'<br>
<br>
return()<br>
<br>
Somebody can halp me?<br>
Thank you in advance,<br>
<br>
<br>
</div>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>