[Thread Prev][Thread Next][Index]

Re: [ferret_users] Regression in t for each month



Hi Paul,

There is an easy way in Ferret. That is to "reshape" your monthly data into a yearly field with an additional dimension of calendar months. Please refer to Ch3 Sec2.3.23 in the manual for an illustrative example.

http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/variables-xpressions/XPRESSIONS#_VPID_114

HTH,
D.

On Tue, Feb 10, 2009 at 4:42 PM, Paul Young <Paul.J.Young@xxxxxxxx> wrote:
Hi all,

Can't find this in the documentation or email group....

I have a time series of monthly mean data (Dec 1978-Dec 2005) on pressure (z) and latitude (y) axes. I would like to be able to do a 2D plot of lat vs time that shows the linear trend for each month. I see that using the regresst tool produces a trend for the whole time series, so is there a way to do it for each month individually? The only way I thought was to load in a time series of each month individually, do the regression, output to a file, combine 12 files using NCO, then re-read back into ferret to do the plotting - there's got to be a simpler way I guess!? 

Thanks for any help,

Paul


-----
Paul Young

Chemistry and Climate Processes
Chemical Sciences Division
NOAA Earth System Research Laboratory
325 Broadway R/CSD8
Boulder CO 80305-3328
USA

Tel:   +1 303-497-4711
Fax:   +1 303-497-5686




--
life grows, death doesn't.

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement