comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Interpolation from irregular to regular grid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Interpolation from irregular to regular grid [message #49666] Tue, 08 August 2006 12:24 Go to next message
adisn123 is currently offline  adisn123
Messages: 44
Registered: July 2006
Member
Hi,

WHile reading a paper relavant to my project, I found one thing really
questioning.

THe paper used an interpolation method to obtain a regular
three-dimensional grid
from the irregular three -dimensional data set.

I wonder whether there is any advantages in reforming an irregular data
grid to a regular grid.
Whatever the irregular data points are, aren't there the real data? If
you change to a regular grid, then don't the data values slightly
change?


That is,
my question will be
when, and why do we want to change from an irregular grid to a regular
grid in 3D?
Re: Interpolation from irregular to regular grid [message #49724 is a reply to message #49666] Thu, 10 August 2006 10:54 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
adisn123@yahoo.com wrote:
> Hi,
>
> WHile reading a paper relavant to my project, I found one thing really
> questioning.
>
> THe paper used an interpolation method to obtain a regular
> three-dimensional grid
> from the irregular three -dimensional data set.
>
> I wonder whether there is any advantages in reforming an irregular data
> grid to a regular grid.
> Whatever the irregular data points are, aren't there the real data? If
> you change to a regular grid, then don't the data values slightly
> change?
>
>
> That is,
> my question will be
> when, and why do we want to change from an irregular grid to a regular
> grid in 3D?

The main reason is convenience. Writing routines to work with
irregularly gridded data is very complicated and tricky. Routines for
handling regularly gridded data are much easier to write, far more
efficient, and correspondingly easier to find. The improved performance
is especially noticeable in interpreted languages like IDL, where the
kinds of loops you have to write to handle an irregular grid are very
inefficient, and cannot be easily replaced with the much faster matrix
operations.

Converting irregularly gridded data to a grid inherently involves loss
of information, and introduction of extra, spurious data. Making
reasonable error estimates on the results of such an analysis can be
very tricky. I'd avoid it, if you can, but in this case "if you can" is
a big "if".
Re: Interpolation from irregular to regular grid [message #49734 is a reply to message #49666] Wed, 09 August 2006 22:23 Go to previous message
manodeep@gmail.com is currently offline  manodeep@gmail.com
Messages: 33
Registered: June 2006
Member
Well for one thing, its much easier to generate projections from a
regular grid than from a
a set of N points in space. And you have to be careful while performing
the gridding by making sure *some* quantity is conserved thereby
determining the optimal grid size.

adisn123@yahoo.com wrote:
> Hi,
>
> WHile reading a paper relavant to my project, I found one thing really
> questioning.
>
> THe paper used an interpolation method to obtain a regular
> three-dimensional grid
> from the irregular three -dimensional data set.
>
> I wonder whether there is any advantages in reforming an irregular data
> grid to a regular grid.
> Whatever the irregular data points are, aren't there the real data? If
> you change to a regular grid, then don't the data values slightly
> change?
>
>
> That is,
> my question will be
> when, and why do we want to change from an irregular grid to a regular
> grid in 3D?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Resizing array problem
Next Topic: Re: netcdf and hdf together

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:40 PDT 2025

Total time taken to generate the page: 0.00373 seconds