X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



14851 Rate this article:
3.4

When ENVI Reports: "Array dimensions must be greater than 0"

When performing any type of processing that takes ROIs as input, sometimes users will encounter an error like this:

     An error has occurred during processing

     Error: "Array dimensions must be greater than 0." The result may be invalid.

This error message usually indicates that one or more of the ROIs specified for the processing contains no pixels.  For example, perhaps a ROI has been drawn, but has not yet been accepted. You usually accept a drawn ROI by right clicking after drawing the ROI, and choosing Complete and Accept Polygon. If you choose to only Complete the polygon, and not Accept it, then there will not be any pixels in the ROI until that polygon has been accepted by right clicking again and choosing Accept Polygon.

When creating ROIs in ENVI, you can see how many pixels they currently have by clicking the Area tab at the bottom of the Region of Interest Tool dialog. If the area shows 0 Pixels, and you try to use that ROI in some kind of processing, then you will probably get "Array dimensions must be greater than 0" error message.

 

Review by MMin, 2015-02-12

1 comments on article "When ENVI Reports: "Array dimensions must be greater than 0""

Avatar image

somaye

Hello.

I encountered an error message like it when I open metadata file (Landsat Image) by the path:open external file, landsat, geotiff with metadata file

thank you in advance for your help

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »