Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Remote Modules
let-it-snow
Commits
c204aa1e
Commit
c204aa1e
authored
Dec 14, 2018
by
Germain Salgues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: fix small bug inside tests
parent
54e40139
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
python/s2snow/dem_builder.py
python/s2snow/dem_builder.py
+3
-1
test/CMakeLists.txt
test/CMakeLists.txt
+1
-0
test/otbapp_ComputeSnowMask_test.py
test/otbapp_ComputeSnowMask_test.py
+2
-1
No files found.
python/s2snow/dem_builder.py
View file @
c204aa1e
...
...
@@ -104,7 +104,9 @@ def main(argv):
psrtm
=
argv
[
1
]
pimg
=
argv
[
2
]
pout
=
argv
[
3
]
build_dem
(
psrtm
,
pimg
,
pout
)
ram
=
128
nbThreads
=
1
build_dem
(
psrtm
,
pimg
,
pout
,
ram
,
nbThreads
)
if
__name__
==
"__main__"
:
...
...
test/CMakeLists.txt
View file @
c204aa1e
...
...
@@ -198,6 +198,7 @@ add_test(NAME compute_snow_mask_test
"
${
BASELINE
}
/pass2_highcloud.tif"
"
${
BASELINE
}
/cloud_pass1_highcloud.tif"
"
${
BASELINE
}
/cloud_refine_highcloud.tif"
"
${
BASELINE
}
/cloud_refine_highcloud.tif"
"
${
OUTPUT_TEST
}
/snow_all_test.tif"
)
...
...
test/otbapp_ComputeSnowMask_test.py
View file @
c204aa1e
...
...
@@ -11,7 +11,8 @@ def main(argv):
argv
[
2
],
argv
[
3
],
argv
[
4
],
argv
[
5
])
argv
[
5
],
argv
[
6
])
if
app
is
None
:
sys
.
exit
(
1
)
else
:
...
...
Write
Preview
Markdown
is supported
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