RegCM output is 3-hourly mm/day so your need to multiply by b to get daily precipitation in mm/day.

On Mon, Aug 27, 2012 at 2:50 PM, Kishore Babu <kishoreragi@gmail.com> wrote:
Dear Syed Ahsan,

ya.. I understood that my explanation is something wrong, but, solution is right because RegCM precipitation is x mm/day even though it is just for mm/3h only. If it is mm/day, for every values , it must be total/8days, not for per one day. To make to mm/day , we need to multiply with 1/8 and have to sum up all upto total vales of a month.

Hence, solution is sum(tpr/8, t=1,t=240)

Could you please reply?  I have been looking retrospectively. tpr/8 is giving reasonable value to climate observation. 

Thanking you,

Kishore


On Mon, Aug 27, 2012 at 11:47 AM, Syed Ahsan Ali <ahsanshah01@gmail.com> wrote:
It should be sum(tpr*8,t=1, t=240)


On Mon, Aug 27, 2012 at 11:01 AM, Kishore Babu <kishoreragi@gmail.com> wrote:
Dear users,

I am not so sure but, I am thinking that it might be the solution. RegCM will produce precipitation data for every 3hours, but the units are mm/day. I hope it should be mm/3h or must be made to mm/day. To make it mm/day, we have to multiply with 1/8, ie mm/3h *1/8 = mm/24h= mm/day.

First 8 values of RegCM for example a mm/day+b mm/day +c mm/day + d mm/day + e mm/day + f mm/day +g mm/day h mm/day = (a+b+c+d+e+f+g+h) mm/day

And the same is true for rest of every 8 values in the month. Hence, the solution for the mean monthly precipitation is sum(tpr,t=1, t=240)/8 . the number 240 may change depending on the number of days in a month.

GrADS code might be the following for monthly mean precipitation

'define precip =sum(tpr, t=1,t=240)/8'
'd precip'


Hope this might be the solution. Could anyone please let me confirm if it is right?

Looking forward to getting reply.


Best regards,

Kishore

PhD student


On Sun, Aug 26, 2012 at 3:32 PM, Syed Ahsan Ali <ahsanshah01@gmail.com> wrote:
You can do it using CDO, or just use grads avg function.

On Thu, Aug 23, 2012 at 4:59 PM, Kishore Babu <kishoreragi@gmail.com> wrote:
Dear RegCM users,

Could anyone please help me with the GrADS command to calculate monthly mean precipitation in mm/mn ?

Thank you in advance,

Sincerely,

Kishore

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet



--
Syed Ahsan Ali Bokhari
Electronic Engineer (EE)

Research & Development Division
Pakistan Meteorological Department H-8/4, Islamabad.
Phone # off  +92518358714





--
Syed Ahsan Ali Bokhari
Electronic Engineer (EE)

Research & Development Division
Pakistan Meteorological Department H-8/4, Islamabad.
Phone # off  +92518358714





--
Syed Ahsan Ali Bokhari
Electronic Engineer (EE)

Research & Development Division
Pakistan Meteorological Department H-8/4, Islamabad.
Phone # off  +92518358714
Cell # +923155145014