Averaging?

Any problems/questions that might not fall into the other topics in this category.

Averaging?

Postby colopolo70 on Sun Feb 07, 2010 9:01 pm

Dear ALL,
I have question about averaging velocity.
Here is my story.

I define time step as 18-seconds and history interval as 1-hour in namelist and then
after running WRF, I get every 1-hour velocity from output file.

1. This every 1-hour velocity is definitely instantaneous velocity on every 1-hour which comes from the average in one time step.

I want to compare the velocity with WRF and Japan Meteological agency, but JMA is used 10-minute averaged velocity.

2. If I want to get 10-min averaged velocity, how do I define "time step" and "history interval"?

Thanks
colopolo70
 
Posts: 36
Joined: Thu Jan 15, 2009 10:38 am

Re: Averaging?

Postby jimmyc on Mon Feb 08, 2010 4:35 am

time step and history interval have nothing to do with averaging.

If you want to output an averaged velocity you will need to add some variables to accumulate the velocity at every time step. There are plenty of examples in the code for the radiation variables. You can also look in the physics directory for a file that has some diagnostic calculations. It is pretty easy to add variables you just have to be meticulous.
James Correia, Jr
Climate Physics group
Pacific Northwest National lab
jimmyc
 
Posts: 304
Joined: Tue Apr 15, 2008 1:10 am

Re: Averaging?

Postby colopolo70 on Tue Feb 09, 2010 12:31 am

Thanks jimmy,

If you don't mind, could you let me know which part has some examples in the code to average variables?

Regards
colopolo70
 
Posts: 36
Joined: Thu Jan 15, 2009 10:38 am

Re: Averaging?

Postby jimmyc on Tue Feb 09, 2010 5:24 pm

in the phys directory: module_diagnsotics
You can also look in the radiation_driver code and the cam radiation code.
James Correia, Jr
Climate Physics group
Pacific Northwest National lab
jimmyc
 
Posts: 304
Joined: Tue Apr 15, 2008 1:10 am


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest