Menu

#84 Run FLH/MCI Proc. while 'Slope b.n.' is null or cont. spaces

v2.0
open
nobody
5
2004-05-19
2004-05-19
Olga Faber
No

If you run FLH/MCI Processor while the field 'Slope band
name' in the FLH/MCI Processing Parameters tab is set
to null, then the processor freezes and you do not
receive any error message. If the field 'Slope band name'
contains spaces only, the data will be processed, and
you will get the message :" The request has
successfully been processed". However, you can not
open the processed data in VISAT.
The error message: "An exception occurred:
Type: java.lang.IllegalArgumentException
Message: argument for 'name' is empty."
is received and in the DIM data directory will be written
the files in the following manner, namely ' .hdr', ' .img'.
This would mean the filename proper consists of nothing
other than space. In the according DIM xml file the
entry for the bands name are <BAND_NAME /> and not
<BAND_NAME> </BAND_NAME>.
However it seams not to be smart to allow a band name
which contains only spaces. The method isValidIdentifier
() should check if the name.trimm().length == 0.

Discussion


Log in to post a comment.