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.
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
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