-
Notifications
You must be signed in to change notification settings - Fork 246
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
Possibly add python>=3.6 to docs/conda.txt #83
Comments
Hi @piyushrpt, I have added the 3 lines you suggested to |
@yunjunz Thanks for the update |
There exists a minor conflict in handling the PROJ_LIB environment variable by the different packages.
For now one might have to toggle between the 2 settings for HDF5 preparation / visualization stages for #76 |
Thank you @piyushrpt for the suggestion, I have updated the installation note accordingly. |
@yunjunz For now let's remove the "gdal>=3.0" from the https://github.com/insarlab/MintPy/blob/master/docs/conda.txt please and leave the issue open until basemap and GDAL3 are consistent (which shouldn't be long). This way we won't break mintpy (in particular basemap) for mintpy users. The solution @piyushrpt gave is clear enough for limited users of prep_aria.py at the moment. |
Hi @hfattahi, from a test installation using the current I did not test
|
That's right. You need PROJ_LIB to point to the default proj6 (setup by activating conda env) for using prep_aria to generate HDF5. Once this is done, one needs to set PROJ_LIB with the command that points to pyproj data for using basemap. Hopefully, this discrepancy in basemap gets resolved soon. Just want to make sure that adding gdal3 is not forcing other users to change their behavior (since everything needed for prep_aria is not public yet). |
Related with basemap, I gave a shot on replacing basemap with I do agree that |
The basemap PROJ_LIB issue is fixed in the development version on Github (matplotlib/basemap#454). The latest release has not included this fix yet. For now, the following command works from my limited testing: For macports:
For conda:
|
Can this be closed now that Basemap has been replaced by cartopy? |
From my testing on macOS Mojave, I am able to install isce2, aria-tools, mintpy and pyaps all in one conda environment, with the note here: https://github.com/yunjunz/macOS_Setup/blob/master/README.md. Close this issue. |
This conda.txt install all dependencies required for isce2, mintpy, aria-tools and pyaps. update README.md file for the setup in .bash_profile file
This is related to #76
When combining multiple requirements.txt (conda.txt for MintPy) to use gdal 3.0 features with MintPy, conda's automatic resolution downgrades the python version to 2.7 to satisfy all the requirements. Adding python>=3.6 to conda.txt guarantees that a python3 environment is setup and that python doesnt get accidentally downgraded.
It would help to include this in the requirements file to allow for setup of environments where multiple tools can operate in the same env by just combining the requirements.txt files.
For reference adding these 3 lines to conda.txt allows us to interoperate with gdal3.0
The text was updated successfully, but these errors were encountered: