Interpolation and Array Subscripting [message #29459] |
Tue, 19 February 2002 19:03  |
jcreilson
Messages: 1 Registered: February 2002
|
Junior Member |
|
|
Hi,
I'm new to the group and I already have a question.
I'm trying to run an interpolation between one array of model-generated
latitude/longitude grid points and a second array of gridded ozone values
(with lon being along the x and lat being along the y). What I need to do is
take the array of grid points of unknown ozone values and interpolate the
known ozone values to the unknown ozone grid points. How do I let IDL know
the latitude/longitude coordinates of the known ozone values, so when I go
and interpolate those ozone values to the unknown ozone value grid points it
knows where to look on the data array? The array of known ozone values
ranges from a fixed interval of both lat and lons and is 77 (lons) x 34
(lats). I need to have at least 5 places to the right of the decimal since
the desired interpolated grid points are model points and will be input with
that number to the right. I know this sounds confusing, but it sounds like
something IDL should be able to do pretty easily. Let me know if you need
any further information and thanks.
Cheers,
Jack Creilson
NASA Langley Research Center
21 Langley Blvd.
Hampton, VA 23681
|
|
|
Re: Interpolation and Array Subscripting [message #29472 is a reply to message #29459] |
Tue, 26 February 2002 11:30  |
air_jlin
Messages: 22 Registered: July 2001
|
Junior Member |
|
|
hi Jack,
maybe i'm missing something here, but shouldn't one of IDL's standard
interpolation routines (e.g. INTERPOLATE, MIN_CURVE_SURF) do the trick?
best,
-Johnny
-------------------------------------------
Johnny Lin
CIRES, University of Colorado
Work Phone: (303) 735-1636
Web: http://cires.colorado.edu/~johnny/
-------------------------------------------
"jcreilson" <jcreilson@cox.net> wrote:
> Hi,
>
> I'm new to the group and I already have a question.
> I'm trying to run an interpolation between one array of model-generated
> latitude/longitude grid points and a second array of gridded ozone values
> (with lon being along the x and lat being along the y). What I need to do is
> take the array of grid points of unknown ozone values and interpolate the
> known ozone values to the unknown ozone grid points. How do I let IDL know
> the latitude/longitude coordinates of the known ozone values, so when I go
> and interpolate those ozone values to the unknown ozone value grid points it
> knows where to look on the data array? The array of known ozone values
> ranges from a fixed interval of both lat and lons and is 77 (lons) x 34
> (lats). I need to have at least 5 places to the right of the decimal since
> the desired interpolated grid points are model points and will be input with
> that number to the right. I know this sounds confusing, but it sounds like
> something IDL should be able to do pretty easily. Let me know if you need
> any further information and thanks.
>
> Cheers,
> Jack Creilson
>
> NASA Langley Research Center
> 21 Langley Blvd.
> Hampton, VA 23681
|
|
|