Skip to content
GitLab
Menu
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
07c096f0
Commit
07c096f0
authored
Dec 01, 2017
by
Daniel Eggert
Browse files
removed trailing ws
parent
a73f14de
Pipeline
#1670
passed with stage
in 10 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/misc/spatial_index_mediator.py
View file @
07c096f0
...
...
@@ -140,7 +140,7 @@ class SpatialIndexMediator:
return
seasonCode
def
getFullSceneDataForDataset
(
self
,
envelope
,
timeStart
,
timeEnd
,
minCloudCover
,
maxCloudCover
,
datasetid
,
def
getFullSceneDataForDataset
(
self
,
envelope
,
timeStart
,
timeEnd
,
minCloudCover
,
maxCloudCover
,
datasetid
,
dayNight
=
0
,
refDate
=
None
,
maxDaysDelta
=
None
):
"""
Query the spatial index with the given parameters in order to get a list of matching scenes intersecting the
...
...
@@ -185,7 +185,7 @@ class SpatialIndexMediator:
# pack the rest
# TODO: send unconstraint min/max proclevel values
struct
.
pack_into
(
'> i 2b h 3b'
,
b
,
offset
,
seasonCode
,
minCloudCover
,
maxCloudCover
,
datasetid
,
0
,
127
,
struct
.
pack_into
(
'> i 2b h 3b'
,
b
,
offset
,
seasonCode
,
minCloudCover
,
maxCloudCover
,
datasetid
,
0
,
127
,
dayNight
)
# get connection and lock the channel
...
...
@@ -225,7 +225,7 @@ class SpatialIndexMediator:
for
_x
in
range
(
numScenes
):
# [0] id (4 byte)
# [1] year (2 byte)
# [2] month (1 byte)
# [2] month (1 byte)
# [3] day (1 byte)
# [4] hour (1 byte)
# [5] minute (1 byte)
...
...
Daniel Eggert
@eggi
mentioned in commit
edc62020
·
Feb 06, 2018
mentioned in commit
edc62020
mentioned in commit edc62020756dd65d70ac37e57c09f492a2138122
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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