GeoscienceAustralia / PyRate

A Python tool for estimating velocity and time-series from Interferometric Synthetic Aperture Radar (InSAR) data.
https://geoscienceaustralia.github.io/PyRate/
Apache License 2.0
203 stars 71 forks source link

Determine what command line interfaces for scripts are #2

Closed vnewey closed 9 years ago

vnewey commented 9 years ago

At present it appears that the scripts have hard coded relative paths (either in the config or the software). Discover what these paths are and adjust the software to be able to specify the data directory... presumably from the command line.

mcgarth commented 9 years ago

Need to set $PYTHONPATH to the directory containing the 'pyrate' directory (not the full path to pyrate directory as was previously set in my case). As currently configured, full paths required to scripts, e.g.

python /nas/gemd/insar/Users/Garthwaite/repo/PyRate/pyrate/scripts/gamma.py -d tif dem/20070227_HH_4rlks_utm.dem.par obs/20070227-20070715_HH_4rlks_utm.unw

python /nas/gemd/insar/Users/Garthwaite/repo/PyRate/pyrate/scripts/run_prepifg.py -v python.conf

python /nas/gemd/insar/Users/Garthwaite/repo/PyRate/pyrate/scripts/run_pyrate.py pyrate.conf

Have tested the above with real data. Not tested roipac.py yet.