bug in contour [message #11280] |
Mon, 30 March 1998 00:00 |
R. Bauer
Messages: 137 Registered: November 1996
|
Senior Member |
|
|
Hi,
we found again a bug in contour.
The bug appears sometimes with using the irregular key by contour and
use of map_set.
If you are interested I can mail the dataset test.dat.
IDL Version:
** Structure !VERSION, 5 tags, length=40:
ARCH STRING 'ibmr2'
OS STRING 'AIX'
OS_FAMILY STRING 'unix'
RELEASE STRING '5.0.3'
BUILD_DATE STRING 'Nov 3 1997'
Unfortunately it works with simple datasets.
pro contour_error
restore,'test.dat'
x=b_2c(*,0)
y=b_2c(*,1)
z=b_2c(*,2)
triangulate,x,y,tri
MAP_SET, /MOLLWEIDE, 0, 0, /ISOTROPIC, $
/HORIZON, /GRID, /CONTINENTS, $
TITLE='Mollweide Contour'
contour,z,x,y,/irregular ,/overplot,/fill ; won't work
; should be the same but it isn't upper statements won't work
; % CONTOUR: Points are co-linear, no solution.
; % Execution halted at: CONTOUR_ERROR 17 contour_error.pro
; % $MAIN$
contour,z,x,y,tri=tri ,/overplot,/fill ; works
END
--
R.Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
|
|
|