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

Home » Public Forums » archive » TRIGRID problem
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
TRIGRID problem [message #23084] Fri, 05 January 2001 10:49
Cathy Smith is currently offline  Cathy Smith
Messages: 3
Registered: January 2001
Junior Member
Hi

I ran into a problem using TRIGRID to interpolate an array from 36x16 to 72x16

on a sphere. I have the two lines

triangulate,xlon1,xlat1,tr,FVALUE=slp1,sphere=s,/degrees

z=trigrid(slp1,[0.,0.],[0.,15.,355.,90.],NX=72,NY=16,/degree s,sphere=s)

This did not work and gave me the error

% TRIGRID: Points are co-linear, no solution.

However, using 354.99 instead of 355 gave me the correctly interpolated
grid and no error.

I think I followed the directions correctly (and in fact I tried setting
GS to 5x5 and other similar
permutations but got the same error).

Does anyone know why?

Cathy Smith

NOAA-CIRES CDC.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: I for Interactive Programming? (was: widget_control and group_leader)
Next Topic: Map projection and object graphics

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

Current Time: Wed Oct 08 18:54:11 PDT 2025

Total time taken to generate the page: 0.00416 seconds