Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms_preprocessing
Commits
6aa10453
Commit
6aa10453
authored
Nov 28, 2017
by
Daniel Scheffler
Browse files
Increased database query timeout for DEM_Creator._get_DEMPathes_to_include().
Former-commit-id:
b0195fcc
Former-commit-id:
9f2dc2ba
parent
731cc17f
Changes
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/io/input_reader.py
View file @
6aa10453
...
...
@@ -452,7 +452,8 @@ class DEM_Creator(object):
sceneIDs_srtm
=
get_overlapping_scenes_from_postgreSQLdb
(
self
.
db_conn
,
table
=
'scenes'
,
tgt_corners_lonlat
=
tgt_corner_coord_lonlat
,
conditions
=
[
'datasetid=%s'
%
dsID
])
conditions
=
[
'datasetid=%s'
%
dsID
],
timeout
=
20000
)
# default timeout (15sec) is not enough
sceneIDs_srtm
=
[
i
[
0
]
for
i
in
sceneIDs_srtm
]
if
not
sceneIDs_srtm
:
raise
RuntimeError
(
'No matching %s scene IDs for DEM generation found.'
%
self
.
dem_sensor
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment