[cam-users] automatical daily average is different

Jim Rosinski rosinski@ucar.edu
Fri, 16 May 2003 15:56:52 -0600 (MDT)


On Fri, 16 May 2003, Menglin Jin wrote:

>  I run CAM/CLM and save hourly data into the primary history tape(i.e.,h0).
>  Meanwhile, I get daily average output automatically on history tape h1. 
>  However, I find the daily average saved on history tape h1 is different 
>  from the daily average values that I calculated from hourly average.
>  What is wrong? 

The nstep=0 output is always instantaneous.  Throw that away in the
average and you should get the right answer so long as the fields are
themselves averaged.  To illustrate what I mean, try writing the model
timestep to the history files, e.g.:

fincl1 = 'NSTEP:A'
fincl2 = 'NSTEP:A'

I tried this and got the right answer.

Hope this clears up the discrepancy.

Jim Rosinski