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
b0195fcc
Commit
b0195fcc
authored
Nov 28, 2017
by
Daniel Scheffler
Browse files
Increased database query timeout for DEM_Creator._get_DEMPathes_to_include().
parent
30cfa0cc
Pipeline
#1618
passed with stage
in 10 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/io/input_reader.py
View file @
b0195fcc
...
...
@@ -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
)
...
...
Daniel Scheffler
@danschef
mentioned in commit
9f2dc2ba
·
Feb 06, 2018
mentioned in commit
9f2dc2ba
mentioned in commit 9f2dc2bad6716448511d033f8c47d1068fbb9f2b
Toggle commit list
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