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

Home » Public Forums » archive » Light Shed on GridData Mystery
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
Light Shed on GridData Mystery [message #83059] Tue, 05 February 2013 07:09
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

One of the Great Mysteries in IDL is how to use the (apparently)
powerful GridData routine. In particular, this routine seems to throw an
awful lot of "triangle not in counterclockwise order" errors when trying
to grid spherical data.

I have discussed these errors before, and Ben Tupper supplied us with a
couple of methods he used to get around the problem in the past. But, it
was clear this wasn't the complete solution.

Last night, I got an e-mail from Tim Robinshaw that may have put the
nail in the coffin of this problem. It turns out that the code we were
using to dance around the problem wasn't quite accurate. When Tim fixed
the problem with the code, things started to work surprisingly well.

I've updated the article with Tim's comments and discovery:

http://www.idlcoyote.com/code_tips/griddata.html

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Constructing an exact Euclidean distance map
Next Topic: Re: Check overlapping of two differen georeferenced images

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

Current Time: Wed Oct 08 15:06:47 PDT 2025

Total time taken to generate the page: 0.00428 seconds