<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
Dear all, <br>I want to compute the Mean Rainfall Forecast (for Day 1 and day 2) for a month. I have WRF output (separete 30files for each day) for 30 days. <br><br>So I am extracting day 1 ---- Day N Rainfall forecasts (using fwrite) and I have correspondingly the 30 data and ctl files (for Day 1 Forecast). <br><br>Part of the gs file looks like this: &nbsp; <br>'reinit'<br>'open /store/store_output/08june2000/wrf-outp_d01.ctl'<br>'define r1f8=rainc(t=4)+rainnc(t=4)'<br>'define r2f8=rainc(t=28)+rainnc(t=28)'<br>'set fwrite rain24.dat'<br>'set gxout fwrite'<br>'d r2f8-r1f8'<br><br>*********************<br>'open /store/store_output/11june2009/wrf-outp_d01.ctl'<br>'define r1f11=rainc(t=4)+rainnc(t=4)'<br>'define r2f11=rainc(t=28)+rainnc(t=28)'<br>'set fwrite rain24.dat'<br>'set gxout fwrite'<br>'d r2f11-r1f11'<br>'disable fwrite'<br>*********************<br><br><br>But Grads is writing only the last Record to the file&nbsp; rain24.dat. The output Figures for the 2 days is the Same. <br><br><br>Pls Suggest HOW CAN I write all the 30 days output to ONE file. <br><br>Thanks <br>&nbsp;<br>geeta<br><br>                                               </body>
</html>