options_default.json 4.9 KB
Newer Older
Daniel Scheffler's avatar
Daniel Scheffler committed
1
{
2
3
4
5
    "global_opts": {
        "exec_mode": "Python",  /*"Python" or "Flink"*/
        "db_host": "localhost",
        "CPUs": "None",  /*number of CPU cores to be used for processing (default: "None" -> use all available)*/
6
        "allow_subMultiprocessing": true,  /*allow multiprocessing within multiprocessing workers*/
7
8
9
10
11
12
13
14
15
16
17
        "disable_exception_handler": false,  /*enable/disable automatic handling of unexpected exceptions*/
        "log_level": "INFO",  /*the logging level to be used (choices: 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL';*/
        "tiling_block_size_XY": [
            2048,
            2048
        ],  /*X/Y block size to be used for any tiling process*/
        "is_test": false,  /*whether the current job represents a software test job (run by a test runner) or not*/
        "profiling": false, /*enable/disable code profiling*/
        "benchmark_global": false /*enable/disable benchmark of the whole processing pipeline*/
    },

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    "paths": {
        "path_fileserver": "",
        "path_archive": "", /*input path where downloaded data are stored*/
        "path_procdata_scenes": "", /*output path to store processed scenes*/
        "path_procdata_MGRS": "", /*output path to store processed MGRS tiles*/
        "path_tempdir": "",
        "path_benchmarks": "",
        "path_job_logs": "",  /*output path to store job log files*/
        "path_spatIdxSrv": "",
        "path_ac_tables": "",
        "path_SNR_models": "",
        "path_SRFs": "",
        "path_dem_proc_srtm_90m": "",
        "path_earthSunDist": "",
        "path_solar_irr": "",
        "path_cloud_classif": "",
        "path_ECMWF_db": ""
    },

    "processors": {
38

39
40
41
42
43
44
45
46
        "general_opts": {  /*configuration parameters needed in all processors*/
            "skip_thermal": true,
            "skip_pan": true,
            "sort_bands_by_cwl": true,
            "conversion_type_optical": "BOA_Ref", /*'Rad' / 'TOA_Ref' / 'BOA_Ref'*/
            "conversion_type_thermal": "Rad", /*'Rad' / 'Temp'*/
            "scale_factor_TOARef": 10000,
            "scale_factor_BOARef": 10000
Daniel Scheffler's avatar
Daniel Scheffler committed
47
        },
48
49

        "L1A": {  /*Level 1A processing: Data import and metadata homogenization*/
50
51
52
53
54
            "run_processor": true,
            "write_output": true,
            "delete_output": true,
            "SZA_SAA_calculation_accurracy": "coarse",  /*"coarse" or "fine"*/
            "export_VZA_SZA_SAA_RAA_stats": true
Daniel Scheffler's avatar
Daniel Scheffler committed
55

56
        },
57
58

        "L1B": {  /*Level 1B processing: calculation of geometric shift*/
59
60
61
62
63
            "run_processor": true,
            "write_output": true,
            "delete_output": true,
            "skip_coreg": false
        },
64
65

        "L1C": {  /*Level 1C processing: atmospheric correction*/
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
            "run_processor": true,
            "write_output": true,
            "delete_output": true,
            "cloud_masking_algorithm": {
                "Landsat-4": "FMASK",
                "Landsat-5": "FMASK",
                "Landsat-7": "FMASK",
                "Landsat-8": "FMASK",
                "Sentinel-2A": "SICOR",
                "Sentinel-2B": "SICOR"
            },  /*'FMASK', 'Classical Bayesian', 'SICOR'*/
            "export_L1C_obj_dumps": false,
            "scale_factor_errors_ac": 255,
            "auto_download_ecmwf": false
        },
81
82

        "L2A": {  /*Level 2A processing: geometric homogenization*/
83
84
85
86
87
88
            "run_processor": true,
            "write_output": true,
            "delete_output": true,
            "align_coord_grids": true,  /*allows to force deactivation of image resampling*/
            "match_gsd": true
        },
89
90

        "L2B": {  /*Level 2B processing: spectral homogenization*/
91
92
93
94
            "run_processor": true,
            "write_output": true,
            "delete_output": false
        },
95
96

        "L2C": {
97
98
99
100
            /*Level 2C processing: accurracy assessment and MGRS tiling*/
            "run_processor": true,
            "write_output": true,
            "delete_output": false
Daniel Scheffler's avatar
Daniel Scheffler committed
101
102
        }
    },
103

104
    "usecase": {  /*NOTE: These options will be not respected in the WebApp! Use the WebApp GUI instead.*/
105

106
        "virtual_sensor_id": 10,   /*"None": use WebApp input; 1:  Landsat-8,  10: Sentinel-2A 10m*/
107
        "datasetid_spatial_ref": "None", /*"None": use WebApp input*/
Daniel Scheffler's avatar
Daniel Scheffler committed
108
109
110
111
112
113
114
115
116
117
        "datasetid_spectral_ref": 249,   /*249=Sentinel-2A*/
        "target_CWL": [

        ],  /*list of central wavelength positions of target sensor. Empty list means: use WebApp input.*/
        "target_FWHM": [

        ],  /*list of band widths of target sensor. Empty list means: use WebApp input.*/
        "target_gsd": [

        ], /*X/Y pixel size of target sensor as list with two float/integer values*/
118
        "target_epsg_code": "None",  /*target projection as EPSG code. "None": use projection of input data.*/
Daniel Scheffler's avatar
Daniel Scheffler committed
119
120
121
122
123
        "spatial_ref_gridx": [

        ],  /*target sensor x-coordinate-grid. e.g. [15, 45]*/
        "spatial_ref_gridy": [

124
        ]  /*target sensor y-coordinate-grid. e.g. [15, 45]*/
Daniel Scheffler's avatar
Daniel Scheffler committed
125
126
    }
}