SliDEM-project / SliDEM-python

Python package for the SliDEM project
https://hub.docker.com/repository/docker/loreabad6/slidem
Apache License 2.0
17 stars 2 forks source link

"INFO: org.hsqldb.persist.Logger: Database closed" #45

Closed ZahraDabiri closed 1 year ago

ZahraDabiri commented 1 year ago

Describe the bug while running the dem generation, and after "back geocoding" was done, this is the message:

Copernicus_DSM_COG_10_N46_00_E011_00_DEM.tif INFO: org.esa.snap.engine_utilities.download.DownloadableContentImpl: http retrieving http://step.esa.int/auxdata/dem/egm96/ww15mgh_b.zip Copernicus_DSM_COG_10_N46_00_E012_00_DEM.tif Copernicus_DSM_COG_10_N47_00_E012_00_DEM.tif Copernicus_DSM_COG_10_N47_00_E011_00_DEM.tif INFO: org.hsqldb.persist.Logger: Database closed

To Reproduce running the loop using the following command:

for i in {0..5}; do python3.6 scripts/2_dem_generation.py --download_dir data/s1/Austria --output_dir data/results/Vals --query_result Vals_20180501_20180830.csv --pair_index "$i" --aoi_path data/aoi/Austria/Vals_WGS84.geojson --aoi_buffer 0.01 done



**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.
loreabad6 commented 1 year ago

Thank you @ZahraDabiri, I see several entries on the SNAP forum which I will check in more detail later. In the mean time, did you try to run for another area? Did this happen with all the S1 pairs you are running in the loop or just to some?

ZahraDabiri commented 1 year ago

@loreabad6 found a potential reason! this message may appear because some of the S-1 scenes were not intersected by the AOI, but the scene was selected automatically (issue #36). So the process of subsetting and the rest could not be performed. I will run more tests and will keep you updated.

See the screenshot: image

loreabad6 commented 1 year ago

Thank you for further investigating @ZahraDabiri. Can you confirm that this happens only for certain passes, i.e. you can still run the workflow for other areas or scenes? I will try to move #36 up the priority list.