[Thread Prev][Thread Next][Index]

Re: interpolation/regridding question



Hi Brent,
Yes, you've got it.   @LIN is the default regridding transformation and it's
an oversight that it is not in the Users Guide index. It is described under
Chapter 4, sec 2.3.1, "Regridding Transformations".

Once you've read your data, you can define the new axis with  (note the /T
qualifier):

define axis/t/units=days   my_time = {the list of numbers}
let aonew=ao[gt=my_time@LIN]

Ansley Manke

Brent A McDaniel wrote:

> 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]
>
> ??
>
> Thanks.
>
> - Brent
> --
> Brent A. McDaniel
>
> Dept of Earth and Atmospheric Sciences
> Georgia Institute of Technology
> Atlanta, Ga.  USA

--
Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement