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

Home » Public Forums » archive » How to correct errors an IDL
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
How to correct errors an IDL [message #82380] Sat, 08 December 2012 00:24
Dry in water is currently offline  Dry in water
Messages: 18
Registered: October 2012
Junior Member
Hello all,

when I imported an image with 4 bands into IDL using 'import image file' tool, but 'Program caused arithmetic error: Floating illegal operand' error appeared on command history window. So I imported this image using openr command.

openr,1, 'D:\tmp\temp\temp_2000.tif'
temper=fltarr(2894,4584,4)
readu,1,temper
close,1

Then I wanted to find out the indices of 'temper' that are not valid float-point numbers using finite command. But this command gave me just a number(-1). So I want to ask why finite command didn't show me all the location of not valid float-point numbers.
Here is a command;

print, where(~finite(temper))
-1
% Program caused arithmetic error: Floating underflow

Another most important question I want to ask is how to correct 'Program caused arithmetic error: Floating underflow' error.

Thank you so much.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl workbench: not working properly (plot, buttons and console)
Next Topic: Re: Tracking and plotting particle trajectories 3D

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

Current Time: Wed Oct 08 15:15:56 PDT 2025

Total time taken to generate the page: 0.04187 seconds