forked from SAR-ARD/s1ard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
153 lines (122 loc) · 6.63 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
########################################################################################################################
# This is an example configuration file for the S1_NRB prototype processor. Please refer to the documentation for
# further details about individual parameters and usage in general:
# https://s1-nrb.readthedocs.io/en/latest/general/usage.html#usage
########################################################################################################################
[PROCESSING]
# OPTIONS: sar | nrb | orb
# sar: only SAR pre-processing
# nrb: NRB generation from existing pre-processed SAR products
# orb: ORB generation from existing pre-processed SAR products
mode = sar, nrb
# optional definition of a geometry via tile IDs or a vector file.
# [aoi_tiles] expects a comma-separated list of MGRS tile IDs.
# [aoi_geometry] expects a full path to a vector file (GeoJSON, GPKG, KML or Shapefile).
# This option identifies MGRS tile IDs that intersect with the given vector geometry.
# [aoi_tiles] overrides [aoi_geometry].
aoi_tiles = 32TMT, 32TNT
aoi_geometry = None
# Allowed date formats: anything that can be parsed by
# https://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.parse
# maxdate: format %Y-%m-%d will be interpreted as end of day, e.g. 2021-09-01 -> 2021-09-01 23:59:59.999999
mindate = 2021-06-01
maxdate = 2021-09-01
# treat dates as strict limits or also allow flexible limits to incorporate scenes
# whose acquisition period overlaps with the defined limit?
# - strict: start >= mindate & stop <= maxdate
# - not strict: stop >= mindate & start <= maxdate
date_strict = True
# OPTIONS: S1A | S1B
sensor = S1A
# OPTIONS: IW | EW | SM
acq_mode = IW
# OPTIONS: GRD | SLC
product = SLC
# hexadecimal data take ID(s), e.g. 04EBF7
# STAC scene search requires a custom key s1:datatake
datatake =
# [work_dir] Main project directory. Will be used to store any subdirectories and files that are generated during processing.
# Must be a full path to an existing directory.
work_dir = /example/project/directory
# Recommended to use the following default values, which automatically create subdirectories of [work_dir], e.g.:
# `/<work_dir>/SAR`, `/<work_dir>/TMP`, etc. Alternatively, full paths to existing directories can be provided.
sar_dir = SAR
tmp_dir = TMP
ard_dir = ARD
wbm_dir = WBM
log_dir = LOG
###########################################################
# scene search option I: search directory and store scene metadata in an SQLite database
# Directory containing source SLC or GRD scenes. The directory can include scenes not relevant for the
# processing run, as the processor will automatically search for relevant scenes using the parameters defined above.
# Must be a full path to an existing directory.
scene_dir = /example/scene/directory
# [db_file] An SQLite database file to index scenes found in [scene_dir]. Will be generated if it doesn't exist already.
# The file path can be relative to [work_dir] or absolute.
db_file = scenes.db
###########################################################
# scene search option II: SpatioTemporal Asset Catalog queries
# a STAC URL
stac_catalog =
# STAC collections to be searched
stac_collections =
###########################################################
# [kml_file] The Sentinel-2 Military Grid Reference System (MGRS) tiling system can be retrieved as a KML file from:
# https://sentinel.esa.int/documents/247904/1955685/S2A_OPER_GIP_TILPAR_MPC__20151209T095117_V20150622T000000_21000101T000000_B00.kml
# The file path can be relative to [work_dir] or absolute.
kml_file = S2A_OPER_GIP_TILPAR_MPC__20151209T095117_V20150622T000000_21000101T000000_B00.kml
# OPTIONS: Copernicus 10m EEA DEM | Copernicus 30m Global DEM II | Copernicus 30m Global DEM | GETASSE30
# The names are taken from the options of function https://pyrosar.readthedocs.io/en/latest/pyroSAR.html#pyroSAR.auxdata.dem_autoload.
# 'GETASSE30' does not include a water body mask.
# 'Copernicus 10m EEA DEM' and 'Copernicus 30m Global DEM II' require registration via:
# https://spacedata.copernicus.eu/web/cscda/data-access/registration
# Authentication credentials can be set via environment variables 'DEM_USER' and 'DEM_PASS' or interactively during processor runs.
dem_type = Copernicus 30m Global DEM
# Temporarily changes GDAL_NUM_THREADS during processing. Will be reset after processing has finished.
gdal_threads = 4
# Further arguments to be passed to the internal SNAP GPT call
# e.g. run GPT with 100GB of memory, 75GB cache and 30 threads:
# snap_gpt_args = -J-Xmx100G -c 75G -q 30
snap_gpt_args =
# The backscatter measurement convention. Either gamma nought or sigma nought.
# Other conventions will be included in the ARD product as VRTs using the annotation layers gs and sg.
# OPTIONS: gamma | sigma
measurement = gamma
# list of annotation layers to write to the ARD product. OPTIONS:
# dm: data mask (four masks: not layover not shadow, layover, shadow, ocean water)
# ei: ellipsoidal incident angle (needed for computing geolocation accuracy)
# em: digital elevation model
# id: acquisition ID image (source scene ID per pixel)
# lc: RTC local contributing area
# ld: range look direction angle
# li: local incident angle
# np: noise power (NESZ, per polarization)
# ratio: will automatically be replaced with the following, depending on selected [measurement]:
# gs: gamma-sigma ratio: sigma0 (RTC) / gamma0 (RTC)
# sg: sigma-gamma ratio: gamma0 (RTC) / sigma0 (RTC)
# wm: OCN OWI wind model
# Use one of the following to create no annotation layer:
# annotation =
# annotation = None
annotation = dm, ei, em, id, lc, li, np, ratio
# Should ETAD correction be performed on SLCs? If [etad] is False, [etad_dir] will be ignored,
# otherwise [etad_dir] is searched recursively for ETAD products matching the defined SLCs.
etad = False
etad_dir = /example/etad/directory
[METADATA]
# The metadata file format(s) to be created for each ARD product. OPTIONS:
# - OGC (XML file according to OGC EO standard)
# - STAC (JSON)
format = OGC, STAC
# Copy the original metadata of the source scene(s) to the ARD product directory?
# Includes manifest.safe and annotation folder.
copy_original = True
# The metadata files created for each ARD product contain some fields that should not be hidden away and hardcoded
# with arbitrary values. Instead, they can be accessed here in order to more easily generate a complete set of metadata.
# These fields are mostly relevant if you want to produce ARD products systematically and make them available for
# others. If you don't see a need for them you can just leave the fields empty, use the default 'None' or delete this
# entire section.
access_url = None
licence = None
doi = None
processing_center = None