Re-gridding Problem [message #58520] |
Tue, 29 January 2008 12:43 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
I've heard the astro guys talk about this from time to time, so I
thought I would ask.
I have some output from the climate modeling folks. I need this
data on a regular grid. Unfortunately, the data is *slightly*
regular. Here is one of my cases (I have several all like this,
but different).
The data is on a regular 1-deg grid in the longitudinal direction.
It is on a regular 1 deg grid in the latitudinal direction,
EXCEPT between -30 and + 30 degrees, where it is on a gradually
decreasing grid to 1/3 of a degree at the equator.
I would like a grid that is everywhere sampled on a 1 degree grid.
So, my idea is to superimpose a 1-deg grid over my data and resample.
It is going to get messy. :-(
My question is this. Does anyone have any code to share that can
oversample like this?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|