Closed cmarshak closed 3 years ago
So I guess it has to do with the renaming discussed here: https://github.com/isce-framework/isce2/releases/tag/v2.4.0.
I guess I am curious for end-users will the conda eventually reflect 2.4?
Sorry, I think the reported version is a bit behind. Our conda package is currently on version 2.4.1 so if you installed recently you should be current (despite the 2.3 printout). I wasn't able to find any usage of the old nomenclature in the notebooks you're using, so I'm not sure on the cause.
Thank you, Ryan. I installed via conda 5 days ago when I first posted the comment using the above.
conda create --name isce2_2020 python=3.6
conda activate isce2_2020
conda install -c conda-forge isce2
conda install jupyter
conda install -c conda-forge notebook
python -m ipykernel install --user --name isce2_2020
FYI, I cloned the exact same notebook into opensarlab and it ran all the way through.
For reference, when I activate the enviornment from above, here is my terminal with version verification.
(isce2_2020) --- docker-volumes/TOPS » ipython
Python 3.6.11 | packaged by conda-forge | (default, Aug 5 2020, 20:19:23)
Type "copyright", "credits" or "license" for more information.
IPython 5.8.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
The autoreload extension is already loaded. To reload it, use:
%reload_ext autoreload
Warning: disable autoreload in ipython_config.py to improve performance.
In [1]: import isce
This is the Open Source version of ISCE.
Some of the workflows depend on a separate licensed package.
To obtain the licensed package, please make a request for ISCE
through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.
Alternatively, if you are a member, or can become a member of WinSAR
you may be able to obtain access to a version of the licensed sofware at
https://winsar.unavco.org/software/isce
In [2]: isce.__version__
Out[2]: '2.3'
Piyush posted this on the ISCE2 forum:
Conda is up to date. This is very likely due to not updating conda for a while on the user side or pinning some other requirement to a very old version
Most likely candidate - for some reason you are still using python 3.6
I will retry his suggestions and repost. Note: I explicitly used python 3.6.
I reinstalled python with the newest anaconda distribution. After that, I did the following:
conda update -n base conda
conda create --name isce2_2020 python=3.8
conda activate isce2_2020
conda install -c conda-forge isce2
conda install -c conda-forge jupyter
python -m ipykernel install --user --name isce2_2020
I am not sure if it was the python version, anaconda channels I was using, an old version of conda or some combination. Nonetheless, the referenced notebook does not crash at the beginning as it was previously.
In the interactive terminal, it still says
>>> import isce
This is the Open Source version of ISCE.
Some of the workflows depend on a separate licensed package.
To obtain the licensed package, please make a request for ISCE
through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.
Alternatively, if you are a member, or can become a member of WinSAR
you may be able to obtain access to a version of the licensed sofware at
https://winsar.unavco.org/software/isce
>>> isce.__version__
'2.3'
But I take that is not relevant?
I am closing this and hope this will provide help for future end-users. Thank you.
Great! Glad that fixed it. I agree that the old version is really confusing, I think that it was neglected when we switched from SVN to git. I updated the release history file so the next release will show the correct version info.
I have installed isce2 using conda (today) on my mac using:
Activating the above environment and then running this notebook using the above kernel, I add the following cell to update the path before running terminal command lines:
The latter points to the correct applications path that was just installed and indeed
!which topsApp.py
shows the same location. However, I get the following error after running!topsApp.py --dostep=startup
.Thank you for your help.
Related
I have tried to run the reference notebook on Open Sar Lab: cloning the repository and then running through it. It seems to work there.
!topsApp.py --dostep=preprocess
produces the following output:Here is the output after this cell is run:
General Question
Can we use conda
isce2
with these notebooks? Thank you!