How to correct errors an IDL [message #82380] |
Sat, 08 December 2012 00:24 |
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.
|
|
|