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

Home » Public Forums » archive » Re: histogram crashes
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: histogram crashes [message #22541 is a reply to message #22523] Wed, 15 November 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
There have been varying reports in the newsgroup of bugs in HISTOGRAM
over the past year involving versions 5.2-5.3, for Linux or Win NT,
either with or without NaNs. A quick search of Deja News should find
a lot of these. I would report it to RSI for sure!

Craig


"R.G.S." <rgs1967@hotmail.com> writes:

> Greetings all,
>
> I have a situation where histogram is crashing on me, in what seems to be
> a strange manner. (IDL 5.3.1, on WinNT 4 Workstation SP 5)
>
> Here is info on my data (latitudes):
> LAT FLOAT = Array[76, 1624]
> IDL> help,lat(*)
> <Expression> FLOAT = Array[123424]
>
> range of latitudes: -65.8900 79.9300
> min = : 20.0000
> There are NAN values in the array.
>
>
> Here is the offending call to histogram:
> hlat = histogram(lat(*),binsize = float(deltalat), min
> =float(20),REVERSE_INDICES = R,/nan)
>
> This results in a Norton CrashGuard message and IDL closes.
>
>
> Of course,the following call to histogram works with no problems:
> hlat = histogram(lat(*),binsize = long(deltalat), min =float(-1),/nan)
> as does:
> hlat = histogram(lat(*),binsize = float(deltalat), min =float(20),/nan)
>
> The difference seems to be that a positive "min" crashes and a negative
> "min" is ok when
> the reverse_index keyword is called. For my purposes the reverse_indices
> keyword
> is required.
>
> Anyone run across this before, and are there any fixes?
>
>
> Cheers,
> bob stockwell
> stockwell (at) co-ra.com
>
>
>
>
>

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: histogram crashes (fixed in 5.4)
Next Topic: GUI Builder for other than MS Windows

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

Current Time: Fri Oct 10 20:26:16 PDT 2025

Total time taken to generate the page: 0.56992 seconds