When it runs again it throws an error because stack/IW3.xml' does not exist. The solution would be to remove /stack as if the directory does not exist it works fine.
minSecondary,maxSecondary 1 25
minReference,maxReference 1 25
minBurst, maxBurst: 1 25
writing /scratch/05861/tg851601/SpainSenDT81/stack/IW2.xml
******************
swath: 3
Traceback (most recent call last):
File "/scratch/05861/tg851601/code/rsmas_insar/sources/isce2/contrib/stack/topsStack/extractCommonValidRegion.py", line 110, in <module>
main()
File "/scratch/05861/tg851601/code/rsmas_insar/sources/isce2/contrib/stack/topsStack/extractCommonValidRegion.py", line 96, in main
topReference = ut.loadProduct(os.path.join(inps.reference , 'IW{0}.xml'.format(swath)))
File "/scratch/05861/tg851601/code/rsmas_insar/sources/isce2/contrib/stack/topsStack/s1a_isce_utils.py", line 26, in loadProduct
obj = pm.loadProduct(xmlname)
File "/scratch/05861/tg851601/code/rsmas_insar/3rdparty/miniconda3/lib/python3.7/site-packages/isce/components/iscesys/Component/ProductManager.py", line 25, in loadProduct
self.load(filename)
File "/scratch/05861/tg851601/code/rsmas_insar/3rdparty/miniconda3/lib/python3.7/site-packages/isce/components/iscesys/Component/Configurable.py", line 1410, in load
tmpProp, tmpFact, tmpMisc = FP.parse(filename)
File "/scratch/05861/tg851601/code/rsmas_insar/3rdparty/miniconda3/lib/python3.7/site-packages/isce/components/iscesys/Parsers/XmlParser.py", line 41, in parse
root = ET.parse(filename)
File "/scratch/05861/tg851601/code/rsmas_insar/3rdparty/miniconda3/lib/python3.7/xml/etree/ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "/scratch/05861/tg851601/code/rsmas_insar/3rdparty/miniconda3/lib/python3.7/xml/etree/ElementTree.py", line 587, in parse
source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/scratch/05861/tg851601/SpainSenDT81/stack/IW3.xml'
If run_11 times out it may end up with only 2 dirs created.
When it runs again it throws an error because stack/IW3.xml' does not exist. The solution would be to remove
/stack
as if the directory does not exist it works fine.