Q: Irregularly gridded data [message #941] |
Wed, 03 March 1993 05:38 |
peba1231
Messages: 12 Registered: February 1992
|
Junior Member |
|
|
Is there an easy way (in IDL) to interpolate irregularly gridded data
onto a regular *curvilinear* (bodyfitted) grid? Perhaps an extended TRIGRID,
which accepts arrays x(i,j) and y(i,j) (the target grid) as an input?
Any hints are very welcome,
Peter
--
------------------------------------------------------------ ----------
Peter Bartsch | Tel. +49 (0)30 314 23093
TU Berlin, Sekr. F2 | FAX: +49 (0)30 314 22866
Marchstr. 14 |
1000 Berlin 10 | e-mail: peba1231@camillo.fb12.tu-berlin.de
------------------------------------------------------------ ----------
|
|
|
Re: Q: Irregularly gridded data [message #942 is a reply to message #941] |
Tue, 02 March 1993 16:30  |
dan
Messages: 27 Registered: March 1993
|
Junior Member |
|
|
In article <1n2cceINN852@mailgzrz.TU-Berlin.DE>, peba1231@camillo.fb12.tu-berlin.de (Peter Bartsch) writes:
|> Is there an easy way (in IDL) to interpolate irregularly gridded data
|> onto a regular *curvilinear* (bodyfitted) grid? Perhaps an extended TRIGRID,
|> which accepts arrays x(i,j) and y(i,j) (the target grid) as an input?
|>
|> Any hints are very welcome,
|>
|> Peter
|>
|> --
|> ------------------------------------------------------------ ----------
|> Peter Bartsch | Tel. +49 (0)30 314 23093
|> TU Berlin, Sekr. F2 | FAX: +49 (0)30 314 22866
|> Marchstr. 14 |
|> 1000 Berlin 10 | e-mail: peba1231@camillo.fb12.tu-berlin.de
|> ------------------------------------------------------------ ----------
As I understand it, if one has irregularly gridded data with x coordinates (x),
y coordinates (y) and a function (f), then the following commands will plot contours
TRIANGULATE,x,y,tr
newdata = TRIGRID(x,y,f,tr)
CONTOUR,newdata
For now this will only work in 2D. A 3D version has been promised for the near future.
Dan Bergmann dbergmann@llnl.gov
--
**************************************************
** Dan Bergmann dbergmann@llnl.gov **
**************************************************
|
|
|