[Thread Prev][Thread Next][Index]

Re: [ferret_users] Edges and @AVG



Hi Alexander,

On Fri, Feb 21, 2020 at 4:59 AM Alexander Audet <alexander.c.audet@xxxxxxxxx> wrote:
                                        I have noticed a difference when I (1) average seasonal data by creating a climatological axis with 3 month-long cells then @AVG regridding, verses (2) when I separate each month into its own variable and then average them together using expressions. It appears that the latter method is doing what I expect,

But, the length of the month varies and therefore (1) should be the correct average: For example,

JFM = (31J + 28F + 31M) / (31 + 28 + 31),

where J, F, M are the monthly means of Jan, Feb, and March, respectively.  The @AVG averaging takes the monthly variable lengths into account.  This principle applies to other axes with uneven grid-spacing, too.

Hope this helps,
Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement