Re:Re: [ncl-talk] about interpolation

From: Cheung <zuibeidemei_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 20 2012 - 08:23:30 MDT

Thanks.
My data is rectilinear.
Actually my purpose is like interpolate gridded data to station data.

At 2012-07-20 22:15:12,"Mary Haley" <haley@ucar.edu> wrote:
>Hi Cheung,
>
>Which interpolation routine to use depends on what type of grids you want to interpolate from and to.
>
>There are three possible types of grids:
>
> rectilinear - has one-dimensional coordinate arrays, where the latitude array is length "nlat", and the longitude array is length "nlon"
> curvilinear - has two-dimensional lat/lon arrays, where both arrays are nlat x nlon
> unstructured - you have a "random" set of one-dimensional lat,lon pairs
>
>It sounds like you either have a rectilinear or curvilinear grid that you want to interpolate from, but I don't have enough information from your email about the grid you're interpolating to.
>
>Once you know what type of grid you have, you can look at our list of interpolation functions:
>
> http://www.ncl.ucar.edu/Document/Functions/interp.shtml
>
>and search for words like "rectilinear", "curvilinear", or "unstructured". You will see several functions, and their descriptions should help you determine which is the best for your data.
>
>For example, "area_conserve_remap" does "areal conservative remapping" from one rectilinear grid to another, whereas "area_hi2lores" interpolates from high resolution rectilinear grids to low resolution rectilinear grids.
>
>If you have a curvilinear grid, and you want to go to a rectilinear grid, then check out "rcm2rgrid".
>
>In the latest release of NCL (6.1.0-beta) we added some new regridding software that uses ESMF software combined with NCL. This can handle regridding from any of the three types of grids.
>
>See our ESMF examples page:
>
>http://www.ncl.ucar.edu/Applications/ESMF.shtml
>
>
>--Mary
>
>On Jul 20, 2012, at 7:33 AM, Cheung wrote:
>
>> Hi all:
>>
>> I have a 2d data, which is at nlat x nlon grid.
>>
>> And now I want to interpolate this data to some specified locations, each of which has a unique lat and lon.
>>
>> I'm not sure which function in ncl is the best for this case.
>>
>> Hope for the reply.
>>
>> Regards
>>
>> Cheung
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
Received on Fri Jul 20 08:54:02 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 24 2012 - 09:48:26 MDT