Closed vnewey closed 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.
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.