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-aux
Commits
9ce3ede1
Commit
9ce3ede1
authored
Dec 01, 2017
by
Daniel Eggert
Browse files
fixed missing daynight bug
parent
8eed9637
Changes
1
Hide whitespace changes
Inline
Side-by-side
gms-database/src/main/java/de/potsdam/gfz/gms/database/indexes/SpatialSceneIndex.java
View file @
9ce3ede1
...
...
@@ -221,11 +221,7 @@ public class SpatialSceneIndex implements SceneIndex {
return
;
}
if
(
dayNightParameter
==
Scene
.
DAY_NIGHT_DAY
&&
dayNight
!=
Scene
.
DAY_NIGHT_DAY
)
{
return
;
}
if
(
dayNightParameter
==
Scene
.
DAY_NIGHT_NIGHT
&&
dayNight
!=
Scene
.
DAY_NIGHT_NIGHT
)
{
if
(
dayNightParameter
!=
Scene
.
DAY_NIGHT_NULL
&&
dayNight
!=
dayNightParameter
)
{
return
;
}
...
...
@@ -279,11 +275,7 @@ public class SpatialSceneIndex implements SceneIndex {
return
;
}
if
(
dayNightParameter
==
Scene
.
DAY_NIGHT_DAY
&&
dayNight
!=
Scene
.
DAY_NIGHT_DAY
)
{
return
;
}
if
(
dayNightParameter
==
Scene
.
DAY_NIGHT_NIGHT
&&
dayNight
!=
Scene
.
DAY_NIGHT_NIGHT
)
{
if
(
dayNightParameter
!=
Scene
.
DAY_NIGHT_NULL
&&
dayNight
!=
dayNightParameter
)
{
return
;
}
...
...
@@ -307,6 +299,7 @@ public class SpatialSceneIndex implements SceneIndex {
sceneData
.
cloudcover
=
cloudcover
[
dataidx
];
sceneData
.
bounds
=
bounds
[
dataidx
];
sceneData
.
proclevel
=
proclevel
[
dataidx
];
sceneData
.
dayNight
=
dayNight
[
dataidx
];
return
sceneData
;
}
}
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