Re: WRF: Daily Precipitation

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon Apr 19 2010 - 11:04:01 MDT

Please see the FAQ:

     http://www.ncl.ucar.edu/FAQ/

Data Analysis: Example 1

===
You must write your own script.
===

In your case:

(1) ntJump = 24 ; 24 samples per day
(2) Use dim_sum_n
(3) See

   do nt=0,ntim-1,ntJump
      prcDay(nt/8,:,:) = dim_sum_n(prc(ntStrt:ntLast,:,:), 0)
      ntStrt = ntStrt + ntJump
      ntLast = ntLast + ntJump

      ; write netCDF
      ; http://www.ncl.ucar.edu/Applications/method_1.shtml
   end do

On 04/18/2010 01:08 AM, Sahidul wrote:
> Dear NCL Users,
>
> I am having hourly WRF forecast files. The number of files is 72. ( each
> file having only 1 time )
> Using this, I would like to calculate Daily Precipitation, i.e., 24
> hourly accumulated rainfall. So I want to create 3 files, for example,
> day1, day2 & day3.
>
> Can I have any script for this calculations.?
>
> Thanking you,
>
> Sahidul
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 19 11:04:18 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2010 - 14:40:07 MDT