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

Home » Public Forums » archive » Q: Irregularly gridded data
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
Q: Irregularly gridded data [message #941] Wed, 03 March 1993 05:38
peba1231 is currently offline  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 Go to previous message
dan is currently offline  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 **
**************************************************
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Database for PV-WAVE
Next Topic: Re: CALL_V1 in Wave?

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

Current Time: Sat Oct 11 12:49:31 PDT 2025

Total time taken to generate the page: 1.63744 seconds