[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TRIGRID problem



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,/degrees,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.