Gauss Weights

I am trying to calculate global mean values of surface temperature, LW and SW net fluxes, etc. I have been using the Gauss Weights provided in the output data file. I have two questions:

(1) the weights add up to two, does that mean I need to divide by two;
(2) how are the gauss weights determined?

Thanks,

ptaylor
 

olson

Member
1) yes, you divide by 2

2) the driver for computing weights is the subroutine "gauaw" which is in
models/atm/cam/src/control/gauaw_mod.F90 (at least in the model version I'm looking at)
 
Back
Top