isce2 icon indicating copy to clipboard operation
isce2 copied to clipboard

wbd path in Alos2Proc/runFilt.py

Open RShamshiri opened this issue 3 years ago • 1 comments

Hello,

I think "self._insar.multilookWbdOut" in the "/isceobj/Alos2Proc/runFilt.py" line 168 ("wbd = np.fromfile(self._insar.multilookWbdOut, dtype=np.int8).reshape(length, width)") is not pointing to the water body file location. The file exists in a directory back. It works correctly if I change it to this: "wbd = np.fromfile(os.path.join('..', self._insar.multilookWbdOut), dtype=np.int8).reshape(length, width)".

my data is ScanSAR, and I have set "water body mask starting step" to "filt" in the xml file.

Kind regards, Roghayeh

RShamshiri avatar Sep 23 '22 08:09 RShamshiri

Hi Roghayeh,

If you know how to send a pull request to the "isce2" repository, please go ahead and submit this as a pull request. Were you using alos2App.py or 'alosStack`? Thanks, ++Eric

EJFielding avatar Sep 25 '22 22:09 EJFielding