isce-framework / isce2

InSAR Scientific Computing Environment version 2
Other
480 stars 244 forks source link

wbd path in Alos2Proc/runFilt.py #588

Open RShamshiri opened 1 year ago

RShamshiri commented 1 year ago

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

EJFielding commented 1 year ago

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