geodesymiami / rsmas_insar

RSMAS InSAR code
https://rsmas-insar.readthedocs.io/
GNU General Public License v3.0
62 stars 23 forks source link

Missing quotes in ssara_federated_query.bash logging statement #472

Closed falkamelung closed 3 years ago

falkamelung commented 3 years ago

Two items:

Running (with`s inserted) ... ssara_federated_query.py --platform=SENTINEL-1A,SENTINEL-1B --relativeOrbit=128 --intersectsWith=Polygon((-91.40 -1.00, -91.40 -0.60, -90.86 -0.60, -90.86 -1.00, -91.40 -1.00)) --start=2016-06-01 --end=2016-12-31 --parallel=5 --print --maxResults=20000 > ssara_listing.txt

This command is missing quotes for the intersectsWith option. It should display

ssara_federated_query.py --platform=SENTINEL-1A,SENTINEL-1B --relativeOrbit=128 --intersectsWith='Polygon((-91.40 -1.00, -91.40 -0.60, -90.86 -0.60, -90.86 -1.00, -91.40 -1.00))' --start=2016-06-01 --end=2016-12-31 --parallel=5 --print --maxResults=20000 > ssara_listing.txt

Could you please add? I could not figure out how to do this in bash.

falkamelung commented 3 years ago

I added some more logging. Is there any chance to write download time and errors for each granule in a wget.log ?
There was a download failure and it took me several days to figure this out. I don't know what went wrong though. Just that I get now more granules than earlier.

I know you tried already. If not possible lets move on.

The failed case wrote the following into the log. I don't know what the second timeout means. How many times would it try? I don't see that in the code.

Please doublecheck that it would exit with 1 is this problem occurs?

20210424:22-04 * minsarApp.bash /work/05861/tg851601/stampede2/insarlab/infiles/tg851601/TEMPLATES/KokoxiliBigSenAT143.template --stop jobfiles 
20210424:221613 * download_data.py /work/05861/tg851601/stampede2/insarlab/infiles/tg851601/TEMPLATES/KokoxiliBigSenAT143.template
20210424:222252 * dem_rsmas.py /work/05861/tg851601/stampede2/insarlab/infiles/tg851601/TEMPLATES/KokoxiliBigSenAT143.template
20210424:23-04 * ssara_federated_query.bash --platform=SENTINEL-1A,SENTINEL-1B --relativeOrbit=143 --intersectsWith='Polygon((88.00 29.80, 88.00 42.20, 98.00 42.20, 98.00 29.80, 88.00 29.80))' --start=2014-01-01 --parallel=5 --print --download 
20210425:00-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:01-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:03-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:03-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:04-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:09-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
20210425:09-04 * Something went wrong. Exit code was 123. Trying again with  second timeout
Ovec8hkin commented 3 years ago

Fixed