[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpol. irregular grid to irregular grid
- Subject: Re: Interpol. irregular grid to irregular grid
- From: "Mark Hadfield" <m.hadfield(at)niwa.cri.nz>
- Date: Fri, 9 Feb 2001 09:32:40 +1300
- Cache-Post-Path: firstname.lastname@example.org
- Newsgroups: comp.lang.idl-pvwave
- Organization: NIWA
- References: <email@example.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23459
<firstname.lastname@example.org> wrote in message email@example.com">news:firstname.lastname@example.org...
> i'm trying to interpolate data from one irregular
> 2-D grid to another (different) irregular 2-D
> - does IDL have any other built-in functions
> besides MIN_CURVE_SURF that can do this?
Not that I'm aware of. It's a pity because there's no fundamental reason why
TRIGRID (for example) couldn't be modified to handled irregular output
> - does anyone have any warnings regarding the
> behavior of MIN_CURVE_SURF?
Yes! It's terribly slow when the input grid is of a significant size. For an
NxN input grid, the execution time of MIN_CURVE_SURF increases as approx.
N^3. This is because the alogorithm is non-local, i.e. every point in the
input grid affects every point in the output grid.
> - has anyone implemented irregular-to-irregular
> interpolations using other algorithms?
No but you could try calling TRIGRID repeatedly, once for every output
National Institute for Water and Atmospheric Research