Open falkamelung opened 3 years ago
This comment is not correct. This function creates the /stack which can be done on /scratch (21 Jan 21)
Difficulty to implement reading from local /tmp for frequently accessed file: extractCommonValidRegion.py
currently does not use a /configs/*
file:
cat run_06_extract_stack_valid_region
extractCommonValidRegion.py -m /scratch/05861/tg851601/unittestGalapagosSenDT128/reference -s /scratch/05861/tg851601/unittestGalapagosSenDT128/coreg_secondarys
The out directory /stack
is hardwired into the code. There is also no option to specify the location of /stack
extractCommonValidRegion.py --help
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
usage: extractCommonValidRegion.py [-h] -m REFERENCE -s SECONDARY
Extract valid overlap region for the stack
optional arguments:
-h, --help show this help message and exit
-m REFERENCE, --reference REFERENCE
Directory with reference acquisition
-s SECONDARY, --secondary SECONDARY
Directory with secondary acquisition
We need to modify so that
SentinelWrapper.py -c /scratch/05861/tg851601/unittestGalapagosSenDT128/configs/config_extract_common_valid_region
with /configs/config_extract_common_valid_region
containing (among others).
reference : /scratch/05861/tg851601/unittestGalapagosSenDT128/reference
coregdirBase : /scratch/05861/tg851601/unittestGalapagosSenDT128/coreg_secondarys
stack : /scratch/05861/tg851601/unittestGalapagosSenDT128/stack
(Heresh, any name suggestions for coregdirBase ? I don't see it used without the date anywhere)
To what I see, the hardwiring is done here: https://github.com/isce-framework/isce2/blob/0d5b94efadbc1dcfcb7fea91e6152db7cfdb3e8d/contrib/stack/topsStack/extractCommonValidRegion.py#L105
Another problem with the script is that it fails if /stack
(or files within /stack) exist. We should modify so that it overwrites.
A more complex issue is that it should run in parallel. Currently it uses only one core. That is not urgent.