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

Home » Public Forums » archive » Re: Triangulate-reg
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
Re: Triangulate-reg [message #78680] Fri, 16 December 2011 03:19
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
> Please look at the below error and help me to solve this.
> Original size of lon is 144 and lat is 73.

Maybe your lons and lats refer to the axis values. If this is the case,
you could try this:

nx = n_elements(lon)
ny = n_elements(lat)
_lon = (LONARR(nx) + 1) # lon
_lat = lat # (LONARR(ny) + 1)
triangulate,_lon,_lat,tr

Fabz
Re: Triangulate-reg [message #78682 is a reply to message #78680] Fri, 16 December 2011 02:07 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Dec 16, 5:00 am, shambhu <shambhu.mc...@gmail.com> wrote:
> Hi all,
>
> Please look at the below error and help me to solve this.
> Original size of lon is 144 and lat is 73.
>
> triangulate,lon[0:70],lat[0:70],tr
> % TRIANGULATE: Points are co-linear, no solution.
>
> Thank u

The error message seems pretty clear: your points all fall into a
line, so they cannot be triangulated. Do you have any reason to
believe they are not colinear?

It does seem odd to have more longitudes than latitudes.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: When sshed from my macbook pro to my apple server if running command line idl opening an x window will crash the session
Next Topic: number keyword in legend

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

Current Time: Wed Oct 08 13:40:06 PDT 2025

Total time taken to generate the page: 0.00522 seconds