isce2 on conda-forge

Added by Piyush Agram over 1 year ago

Hi everyone,
The latest github release of isce should be available via conda-forge for linux x86-84 platforms.

For more details, see https://anaconda.org/conda-forge/isce2
All the dependencies for the software are installed using conda-forge.

The automated build / deploy recipe for isce2 can be found here: https://github.com/conda-forge/isce2-feedstock

The package automatically setups two environment variables.

1. ISCE_HOME : you might want to add ISCE_HOME/bin and ISCE_HOME/applications to your path
2. ISCE_STACK: this points to the contrib/stack folder

If you are interested in working on including support for os x / want to update the automated recipe - please reach out via github issues.

Piyush


Replies (10)

RE: isce2 on conda-forge - Added by Matt Cook about 1 year ago

Hi Piyush,

Thanks for creating the automated build for isce2!

I've just got into InSAR processing and want to start using isce. I used your automated build to install isce onto my computer but I get an error message on the 'stanford license'. Have you come across this before?

This is what happened when I first tried to run isce. I don't have any xml data files yet to run on the script but just wanted to see if it worked. Before I cam run the scrip do I need to get a suitable license? Or once I run an xml data file with the script should the error go away? Sorry if I'm not making much sense I'm new to Linux and just starting out.

mcoo951@sc-cer00279:~$ $ISCE_HOME/applications/insarApp.py
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
Traceback (most recent call last):
File "/data/anaconda3/lib/python3.7/site-packages/isce/applications/insarApp.py", line 1200, in <module>
if not isce.stanford_license:
AttributeError: module 'isce' has no attribute 'stanford_license'

Thanks!

RE: isce2 on conda-forge - Added by Piyush Agram about 1 year ago

Check your environment. You might be importing isce (different version) from somewhere else in your setup.

python3 -c "import isce; print(isce.__file__)" 

RE: isce2 on conda-forge - Added by Matt Cook about 1 year ago

Piyush Agram wrote:

Check your environment. You might be importing isce (different version) from somewhere else in your setup.

[...]

Hi Piyush,

thanks for the fast reply.

I did as you suggested:

mcoo951@sc-cer00279:~$ python3 -c "import isce; print(isce.__file__)"

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
/opt/anaconda/lib/python3.7/site-packages/isce/__init__.py

Seems to be getting ISCE through conda. Is this right?

Thanks

RE: isce2 on conda-forge - Added by Piyush Agram about 1 year ago

Oh ... you are trying to use insarApp.py which has been deprecated. You should use stripmapApp.py
Else, you can replace the check for stanford_license in insarApp.py with try/except. This application is not being actively maintained.

RE: isce2 on conda-forge - Added by Matt Cook about 1 year ago

Ahh yes thats done the trick!

Thank you for your help Piyush.

RE: isce2 on conda-forge - Added by Felix Keßler about 1 year ago

Hey Piyush,
I managed to install etc. and use topsApp.py for production of my Interferogram.
Is there a way to manipulate the Polarizations that are taken into account, so basically, can I produce VV-VV and VH-VH-Interferograms somehow?

Edit: I found some code where they use <property name="referencepolarization">vv</property>, but this seems to not work with the conda-forge installation.

Edit2: The correct property name is polarization for Sentinel1, therefore my question is answered already!

WIth best regards,
Felix

RE: isce2 on conda-forge - Added by Piyush Agram about 1 year ago

Glad you solved it ... this was answered in an earlier post:
http://earthdef.caltech.edu/boards/4/topics/1242?r=1246#message-1246

RE: isce2 on conda-forge - Added by Panagiotis Elias 12 months ago

Hi Piyush,

we have granted license for ISCE (National Observatory of Athens). How I am going to apply the license it in the conda installation?

thank you

Panagiotis Elias

RE: isce2 on conda-forge - Added by 成龙 代 9 months ago

Hi I have the same problem as you
“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
/home/dcl/anaconda3/lib/python3.7/site-packages/isce/__init__.py”

How did you solve it in detail ?
Thanks !

RE: isce2 on conda-forge - Added by Chengyan Fan 7 months ago

Hi Piyush,

Thanks for your work. It becomes very easy to install the isce, and saving a lot of time at the same time.

But I want to know if the isce installed in this way support the cuda?

Thanks!

(1-10/10)