Commit 3c2cdb22 authored by Manuel Grizonnet's avatar Manuel Grizonnet

BUG: update rf param for s2 and launch script from binary directory

parent 2fcb1f5f
......@@ -26,7 +26,7 @@ export PYTHONPATH=${lis-build-dir}/app/:$PYTHONPATH
Run the main python script:
```bash
python run_snow_detector param.json
run_snow_detector.py param.json
```
There is a Bash script in app directory which allows to set the env variable and run the script:
......
......@@ -17,7 +17,7 @@ add_test(NAME test_json_builder_test
add_test(NAME s2snow_test
COMMAND ${PYTHON_EXECUTABLE}
${CMAKE_SOURCE_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_TAKE5}/param_test.json
${CMAKE_BINARY_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_TAKE5}/param_test.json
)
#Add dependence to s2 test to avoid conflict in Testing directory
......@@ -32,7 +32,7 @@ add_test(NAME test_s2_json_builder_test
add_test(NAME s2snow_s2_test
COMMAND ${PYTHON_EXECUTABLE}
${CMAKE_SOURCE_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_S2}/param_s2_test.json
${CMAKE_BINARY_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_S2}/param_s2_test.json
)
set_tests_properties(s2snow_s2_test PROPERTIES DEPENDS test_s2_json_builder_test)
......@@ -46,7 +46,7 @@ add_test(NAME test_s2_small_json_builder_test
add_test(NAME s2snow_s2_small_test
COMMAND ${PYTHON_EXECUTABLE}
${CMAKE_SOURCE_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_S2_SMALL}/param_s2_test.json
${CMAKE_BINARY_DIR}/app/run_snow_detector.py ${OUTPUT_TEST_S2_SMALL}/param_s2_test.json
)
set_tests_properties(s2snow_s2_small_test PROPERTIES DEPENDS test_s2_small_json_builder_test)
......
......@@ -30,7 +30,7 @@
"shadow_mask":32,
"all_cloud_mask":1,
"high_cloud_mask":128,
"rf":8,
"rf":12,
"red_darkcloud":500,
"red_backtocloud":100
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment