-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update to python 3.10+ #162
base: dev
Are you sure you want to change the base?
Conversation
It appears that with newer Here is the exact error message:
I got similar error messages related to the variables that were encoded as lists. Fixing that in this part of @dbekaert's code fixed the issue. |
It appears the 3.11 only affects ionosphere computation. This looks very annoying. Here is what I did: https://github.com/ACCESS-Cloud-Based-InSAR/DockerizedTopsapp-Debugging-NBs/blob/dev/2_Compare_GUNWs.ipynb If I swap out the "new" GUNW with a GUNW with the SRTM water mask, the difference is much bigger:
This will need your attention. |
|
Marin - sorry - it's a wall of text that's hard to sift through. The best source of what I did is the notebook I shared above. Please carefully look at that.
The last PR that was merged introduced the ESA water mask. I am comparing output from that PR and this one. Here is junky output:
Then, I shared some additional output comparing output from the previous PR and this one that still had the SRTM mask. Again, the links have the GUNWs, so that made provenance easier.
We can do such studies possibly after we merge. I would ask you to considering taking a lead on this - it would simply involve running the Production and Test jobs and comparing. The point for this PR is that we want to clarify now is why when updating from 3.9 to 3.11 with the exact same inputs we get two different outputs? It could be gdal. It could be something else. This might be a good starting point: isce-framework/isce2@v2.6.1...v2.6.3 This is the difference between the previous ISCE2 version we were using and the one now. Looks like runIon.py has some changes... Hope to talk soon. |
@mgovorcin - it appears your code frequently calls Not sure what the implications are in the update but this seems like a pretty annoying issue: https://github.com/ACCESS-Cloud-Based-InSAR/DockerizedTopsApp/blob/dev/isce2_topsapp/iono_proc.py Appreciate your help with this. |
Just a note: PySolid does support Python 3.12 now. |
Use the latest release of ISCE2 and allow for environments with python 3.9 - 3.11 (inclusive) in order to help make package management slightly easier in the long run. EOL for a python version is scheduled for 5 years after its initial release.
Note: when I resolve the environment on a linux machine, python 3.11 is used.
Pysolid does not yet support 3.12 (issue ticket). Below is the the command line output trying to resolve the environment with python 3.12: