[Thread Prev][Thread Next][Index]

interpolation/regridding question

Hi Ferreters,

I have a series of 17 3-d grids contained in 1 file with the 4th dimension
being time running from 1 - 17 days.  I want to regrid the data so that
the time axis isn't {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17} but
{1.00, 3.13, 5.25, 7.38,9.50,11.63,13.75,15.88,18.00,18.38,18.75,19.13,19.50,19.88,20.25,20.63,21.0}.
The variable in the files is called ao.

>From inside ferret I type show transformations and saw @LIN        lin. interp.
which sounds promising but when I checked the manual I didn't find it.
And searching the mail archives for @lin didn't work.

Is it as simple as something like:

define axis/units=days my_time = { all those numbers}
let aonew=ao[gt=my_time@LIN]



- Brent
Brent A. McDaniel

Dept of Earth and Atmospheric Sciences
Georgia Institute of Technology
Atlanta, Ga.  USA

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement