nasa-jpl / autoRIFT

A Python module of a fast and intelligent algorithm for finding the pixel displacement between two images
Apache License 2.0
218 stars 53 forks source link

Running autorift #76

Closed SoleHeredia closed 1 year ago

SoleHeredia commented 1 year ago

Hi, I have installed isce 2 on my ubuntu machine. it includes the autoRIFT module, which I want to use to calculate displacement using TSX and CSK images. I exported the environment variables to where the autorift folders are, but when I want to run it, it does it without any error or warning but it doesn't generate any output. Can someone help me with this? I am stuck

Capture

Thank you very much!

jhkennedy commented 1 year ago

@SoleHeredia are you calling this autoRIFT_ISCE.py module? https://github.com/nasa-jpl/autoRIFT/blob/master/geo_autoRIFT/autoRIFT/autoRIFT_ISCE.py

That module just sets up/defines the autoRIFT_ISCE class and doesn't run any workflows.

The autoRIFT workflow is typically to call testGeogrid_ISCE.py on the ISCE2 outputs, and then call testAutoRIFT_ISCE.py on the resulting Geogrid outputs.

However, I would expect the testGeogrid_ISCE.py and testAutoRIFT_ISCE.py scripts to bonk as they don't currently support TSX and CSK images -- you'll have to edit those workflow files in a few places.

SoleHeredia commented 1 year ago

Thank you @jhkennedy! Ok but I also want to use it with Sentinel 1. So, I reinstall Isce2 with conda this time, where are supposed to be testGeogrid_ISCE.py and testAutoRIFT_ISCE.py? Because they are not in the geo_autoRIFT folder, so I do not know how to use them. Thank you for your time and answer

jhkennedy commented 1 year ago

@SoleHeredia conda forge is def. the way to go for getting Geogrid/AutoRIFT.

Unfortunately all the "workflow" scripts (top level in the repo) aren't distributed with the package (a decision before my time) so you'll need to clone/copy them down from here.

jhkennedy commented 1 year ago

I believe this is answered -- @SoleHeredia feel free to re-open if you still need help.