EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit b3870842 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

Merge branch 'test-not-create-default-covtypes' into 'main'

Test not create default covtypes

See merge request !24
parents b2fa120e 043f12f7
No related branches found
No related tags found
1 merge request!24Test not create default covtypes
Pipeline #21024 passed
No preview for this file type
No preview for this file type
global:
env:
UPLOAD_CONTAINER: pvs_testing
collections:
Emergency:
coverage_types:
......@@ -11,6 +8,67 @@ global:
- Emergency_Product_PH1B
- Emergency_Product_KS03
disableDefaultCoverageTypes: true
coverageTypes:
- data_type: "Uint16"
name: "RGBNir"
bands:
- definition: "http://www.opengis.net/def/property/OGC/0/Radiance"
description: "Red Channel"
gdal_interpretation: "RedBand"
identifier: "red"
name: "red"
nil_values:
- reason: "http://www.opengis.net/def/nil/OGC/0/unknown"
value: 0
uom: "W.m-2.Sr-1"
significant_figures: 5
allowed_value_ranges:
-
- 0
- 65535
- definition: "http://www.opengis.net/def/property/OGC/0/Radiance"
description: "Green Channel"
gdal_interpretation: "GreenBand"
identifier: "green"
name: "green"
nil_values:
- reason: "http://www.opengis.net/def/nil/OGC/0/unknown"
value: 0
uom: "W.m-2.Sr-1"
significant_figures: 5
allowed_value_ranges:
-
- 0
- 65535
- definition: "http://www.opengis.net/def/property/OGC/0/Radiance"
description: "Blue Channel"
gdal_interpretation: "BlueBand"
identifier: "blue"
name: "blue"
nil_values:
- reason: "http://www.opengis.net/def/nil/OGC/0/unknown"
value: 0
uom: "W.m-2.Sr-1"
significant_figures: 5
allowed_value_ranges:
-
- 0
- 65535
- definition: "http://www.opengis.net/def/property/OGC/0/Radiance"
description: "Nir Channel"
gdal_interpretation: "NirBand"
identifier: "nir"
name: "nir"
nil_values:
- reason: "http://www.opengis.net/def/nil/OGC/0/unknown"
value: 0
uom: "W.m-2.Sr-1"
significant_figures: 5
allowed_value_ranges:
-
- 0
- 65535
productTypes:
- name: Emergency_Product_RS02
......@@ -40,40 +98,21 @@ global:
coverages:
RGBNir:
assets:
- BGNirR
- RGBNir
browses:
TRUE_COLOR:
red:
expression: nir
range: [1000, 10000]
expression: red
range: [1000, 8000]
nodata: 0
green:
expression: green
range: [1000, 8000]
nodata: 0
blue:
expression: red
range: [1000, 12000]
nodata: 0
FALSE_COLOR:
red:
expression: blue
range: [1000, 10000]
nodata: 0
green:
expression: nir
range: [1000, 10000]
nodata: 0
blue:
expression: green
range: [1000, 8000]
nodata: 0
NDVI:
grey:
expression: (blue-nir)/(blue+nir)
range: [-1, 1]
preprocessor:
......@@ -124,26 +163,26 @@ preprocessor:
stack_bands:
group_by: ".*/(.*)_P..tif"
sort_by: ".*_P(R|G|B|N).tif"
order: # to match browse type in init_db
- B
- G
- N
- R
order:
- "R"
- "G"
- "B"
- "N"
stac_item_structure:
assets:
BGNirR:
RGBNir:
<<: *cog_stac_asset_ms
band_mapping:
4:
- blue
- red
- green
- blue
- nir
- red
MER_RR__2P:
georeference:
geotransforms:
- type: gcp
tps: true
# MER_RR__2P:
# georeference:
# geotransforms:
# - type: gcp
# tps: true
RS02:
nested: true
data_file_globs:
......@@ -221,9 +260,6 @@ preprocessor:
- /gsc:report/gsc:opt_metadata/gml:using/eop:EarthObservationEquipment/eop:platform/eop:Platform/eop:shortName/text()
- /gsc:report/gsc:sar_metadata/gml:using/eop:EarthObservationEquipment/eop:platform/eop:Platform/eop:shortName/text()
registrar:
config:
postHandlers:
......
......@@ -2,11 +2,9 @@
global:
env:
DEBUG: "false"
COLLECTION: COLLECTION
CPL_VSIL_CURL_ALLOWED_EXTENSIONS: .TIF,.tif,.xml
GDAL_DISABLE_READDIR_ON_OPEN: "TRUE"
COLLECT_STATIC: "false"
UPLOAD_CONTAINER: upload-container
GDAL_PAM_ENABLED: "NO"
#### SHOULD BE CHANGED IN PROD ####
DB_NAME: dbname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment