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

Home » Public Forums » archive » GridData Conundrum
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: GridData Conundrum [message #70597 is a reply to message #70476] Thu, 22 April 2010 06:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ben.bighair writes:

> It doesn't look to me like you are running the coordinates through
> GRID_INPUT before passing them to GRIDDATA. In the past I found that
> (generally) removed all subsequent potholes from the GRIDDATA process.

Well, I tried this:

Grid_Input, x, y, air, x1, y1, air1
Triangulate, x1, y1, triangles1, TOLERANCE=1.0
griddedData = GRIDDATA(x1, y1, air1, $
/SHEPARDS, DELTA=[25000.,25000.], TRIANGLES=triangles1, $
DIMENSION=[304,448], START=[-3850000., -5350000.])

Now the Shepard's plot "blows up", but in a more orderly
fashion, with straight lines. :-)

Still works on my LINUX box, though, which I find most
disconcerting.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: dilate
Next Topic: image contrast, bias a la DS9

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

Current Time: Fri Oct 10 05:25:34 PDT 2025

Total time taken to generate the page: 2.32006 seconds