Commit aff8db84 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added ac_estimate_accuracy and spechomo_estimate_accuracy to config.


Former-commit-id: d4cd547e
parent 0e4b2efa
Pipeline #1956 failed with stage
in 4 minutes and 34 seconds
......@@ -351,6 +351,8 @@ class JobConfig(object):
gp('ac_scale_factor_errors', json_processors['L1C']['ac_scale_factor_errors'])
self.ac_max_ram_gb = \
gp('ac_max_ram_gb', json_processors['L1C']['ac_max_ram_gb'])
self.ac_estimate_accuracy = \
gp('ac_estimate_accuracy', json_processors['L1C']['ac_estimate_accuracy'])
# L2A
self.exec_L2AP = gp('exec_L2AP', [
......@@ -368,6 +370,8 @@ class JobConfig(object):
json_processors['L2B']['write_output'],
json_processors['L2B']['delete_output']])
self.spechomo_method = gp('spechomo_method', json_processors['L2B']['spechomo_method'])
self.spechomo_estimate_accuracy = \
gp('spechomo_estimate_accuracy', json_processors['L2B']['spechomo_estimate_accuracy'])
# L2C
self.exec_L2CP = gp('exec_L2CP', [
......
......@@ -94,7 +94,8 @@
/*Defines to which area labels SICOR is applied. Full list:
["Clear", "Snow", "Water", "Shadow", "Cirrus", "Cloud"] => whole image is atmosperically corrected*/
"ac_scale_factor_errors": 255,
"ac_max_ram_gb": 20 /*maximum amount of RAM to be allocated for atmospheric correction [gigabytes]*/
"ac_max_ram_gb": 20, /*maximum amount of RAM to be allocated for atmospheric correction [gigabytes]*/
"ac_estimate_accuracy": false /*whether to produce an 'AC errors' and a 'mask confidence' array*/
},
"L2A": { /*Level 2A processing: geometric homogenization*/
......@@ -113,8 +114,10 @@
"run_processor": true,
"write_output": true,
"delete_output": false,
"spechomo_method": "LR" /*Method used for spectral homogenization.
/*LI: Linear interpolation; LR: Linear regression; RR: Ridge regression*/
"spechomo_method": "LR", /*Method used for spectral homogenization.
/*LI: Linear interpolation; LR: Linear regression; RR: Ridge regression*/
"spechomo_estimate_accuracy": false /*whether to produce pixel- and bandwise information about estimation
acurracy of spectral homogenization*/
},
"L2C": {
......
......@@ -95,6 +95,7 @@ gms_schema_input = dict(
"Clear", "Snow", "Water", "Shadow", "Cirrus", "Cloud"])),
ac_scale_factor_errors=dict(type='integer', required=False),
ac_max_ram_gb=dict(type='integer', required=False),
ac_estimate_accuracy=dict(type='boolean', required=False),
)),
L2A=dict(type='dict', required=False, schema=dict(
run_processor=dict(type='boolean', required=False),
......@@ -111,7 +112,8 @@ gms_schema_input = dict(
run_processor=dict(type='boolean', required=False),
write_output=dict(type='boolean', required=False),
delete_output=dict(type='boolean', required=False),
spechomo_method=dict(type='string', required=False, allowed=['LI', 'LR', 'RR'])
spechomo_method=dict(type='string', required=False, allowed=['LI', 'LR', 'RR']),
estimate_accuracy=dict(type='boolean', required=False),
)),
L2C=dict(type='dict', required=False, schema=dict(
run_processor=dict(type='boolean', required=False),
......
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