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

Home » Public Forums » archive » bug in CONTOUR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: bug in CONTOUR [message #4419 is a reply to message #4416] Wed, 31 May 1995 00:00 Go to previous messageGo to previous message
afl is currently offline  afl
Messages: 51
Registered: December 1994
Member
In article <3qichn$90t@ucsbuxb.ucsb.edu>, paul@crseo.ucsb.edu (Paul Ricchiazzi)
writes:
|>
|>
|> I've discovered a bug in CONTOUR which occurs when you try to use
|> keywords C_LABEL and DOWNHILL at the same time. The bug has the
|> unfortunate side effect of corrupting your IDL session. So far it looks
|> like the bug is independent of platform -- it occurs on either our
|> DECSTATION or ALPHA workstations. Has anybody else ran across this
|> one? Does anyone know if its fixed in version 4.0?
|>
|>
|> Here is the session log: [IDL. Version 3.6 (ultrix mipsel)]
|>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
|>
|>
|> IDL> lev=indgen(14) & c_label=replicate(0,14)
|>
|> IDL> contour,dist(20),levels=lev,/down ; works fine
|>
|> IDL> contour,dist(20),levels=lev,c_label=c_label ; works fine
|>
|> IDL> contour,dist(20),levels=lev,/down,c_label=c_label ; bombs out
|> % Array has a corrupted descriptor: <No name>. ; IDL dumps
|> core
|> % Execution halted at $MAIN$ (CONTOUR). ; if you try to
|> |> ; do more
|> work


Or maybe IDL is confused about your use of the c_label keyword.
If all elements are zero, why not just omit the c_label keyword?
To test my theory, make c_label(3)=1 and re-run your code!

--

Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL function randperm?
Next Topic: colour printing of code

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

Current Time: Sat Oct 11 21:11:38 PDT 2025

Total time taken to generate the page: 0.48215 seconds