Skip to content

Encountering error when processing using alosStack.py #943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bjmarfito opened this issue Mar 28, 2025 · 2 comments
Open

Encountering error when processing using alosStack.py #943

bjmarfito opened this issue Mar 28, 2025 · 2 comments

Comments

@bjmarfito
Copy link
Contributor

This is the error when I used alosStack to generate ALOS-2 stack of interferograms.

2025-03-28 14:43:08,743 - isce.swath - ERROR - Error. The attribute corresponding to the key "azimuthfmratevspixel" is not present in the object "<class 'isceobj.Sensor.MultiMode.Swath.Swath'>".

@lincoln-olayta
Copy link

Hello. I have also been experiencing this with alos2App.py. Here's the error:

2025-04-11 08:48:20,667 - isce.swath - ERROR - Error. The attribute corresponding to the key "azimuthfmratevspixel" is not present in the object "<class 'isceobj.Sensor.MultiMode.Swath.Swath'>".

@bjmarfito
Copy link
Contributor Author

Use numpy < 2.0 as it should do the trick. This is due to the new scalar indexing in numpy > 2.0 where it stores the data type as part of the array.

The lines of code causing the incompatibility is on components/isceobj/Sensor/MultiMode/ALOS2.py.

azimuthFmrateVsPixel = [p[2], p[1], p[0], 0.]

and

dopplerVsPixel = [dfit[1], dfit[0], 0., 0.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants