[gradsusr] Query Reg the computation of Mean Rainfall forecast.

Jennifer Adams jma at cola.iges.org
Wed Feb 16 11:34:29 EST 2011


http://grads.iges.org/grads/gadoc/gradcomdsetfwrite.html
use -ap  to append to an existing file.
--Jennifer


On Feb 15, 2011, at 4:12 AM, Geeta Geeta wrote:

> Dear all,
> 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.
>
> 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).
>
> Part of the gs file looks like this:
> 'reinit'
> 'open /store/store_output/08june2000/wrf-outp_d01.ctl'
> 'define r1f8=rainc(t=4)+rainnc(t=4)'
> 'define r2f8=rainc(t=28)+rainnc(t=28)'
> 'set fwrite rain24.dat'
> 'set gxout fwrite'
> 'd r2f8-r1f8'
>
> *********************
> 'open /store/store_output/11june2009/wrf-outp_d01.ctl'
> 'define r1f11=rainc(t=4)+rainnc(t=4)'
> 'define r2f11=rainc(t=28)+rainnc(t=28)'
> 'set fwrite rain24.dat'
> 'set gxout fwrite'
> 'd r2f11-r1f11'
> 'disable fwrite'
> *********************
>
>
> But Grads is writing only the last Record to the file  rain24.dat.  
> The output Figures for the 2 days is the Same.
>
>
> Pls Suggest HOW CAN I write all the 30 days output to ONE file.
>
> Thanks
>
> geeta
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110216/2fbbfe1e/attachment-0003.html 


More information about the gradsusr mailing list