X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Jun 2007 08:09 AM by  anon
Gridding or interpolation
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Jun 2007 08:09 AM
    Hi all, I have Longitude x latitude of temperature data sets. Using this data I am able to plot the global map. The size of the data set is Longitue: 144 (0,2.5,5.0 ..... 357.5) and interval is 2.5 degree Latitude=73 (-90,-87.5,-85.0,.....90.0) and interval is 2.5 degree Temperature=144 x 73 I want to make a grid points of 10 x 5 longitude=0,10,20,....360. (10 degree interval) latitude=-90.,-85.,-80,.....85,90 (5 degree intervals) how to make 10 x 5 grid of the temperature datasets. Thanks in advance

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Jun 2007 08:09 AM
    I think your task is a simple "resampling" or "downsampling" task. You start with a regular grid, and you simply want to reduce the number of data points on your grid, using some kind of averaging/interpolation algorithm to assign values to the downsized set of data points. The final grid, though, I think, would be 36 x 37, no? The function for doing this resampling in IDL is called CONGRID and the syntax would be (assuming I am correct about final array size): resampledData = CONGRID(data, 36, 37) That simple. James Jones
    You are not authorized to post a reply.