Re: Triangulate-reg [message #78680] |
Fri, 16 December 2011 03:19 |
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  |
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.
|
|
|