EOX GitLab Instance

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

update vhr18 preprocessor config to more final form

parent c3a6ed20
No related branches found
No related tags found
No related merge requests found
# source:
# type: swift
# kwargs:
# username: !env '${OS_USERNAME_DOWNLOAD}'
# password: !env '${OS_PASSWORD_DOWNLOAD}'
# tenant_name: !env '${OS_TENANT_NAME_DOWNLOAD}'
# tenant_id: !env '${OS_TENANT_ID_DOWNLOAD}'
# region_name: !env '${OS_REGION_NAME_DOWNLOAD}'
# auth_url: !env '${OS_AUTH_URL_DOWNLOAD}'
# auth_version: !env '${ST_AUTH_VERSION_DOWNLOAD}'
# user_domain_name: !env '${OS_USER_DOMAIN_NAME_DOWNLOAD}'
source: source:
type: local type: swift
kwargs: kwargs:
storage_path: /mnt/data/ username: !env '${OS_USERNAME_DOWNLOAD}'
password: !env '${OS_PASSWORD_DOWNLOAD}'
tenant_name: !env '${OS_TENANT_NAME_DOWNLOAD}'
tenant_id: !env '${OS_TENANT_ID_DOWNLOAD}'
region_name: !env '${OS_REGION_NAME_DOWNLOAD}'
auth_url: !env '${OS_AUTH_URL_DOWNLOAD}'
auth_version: !env '${ST_AUTH_VERSION_DOWNLOAD}'
user_domain_name: !env '${OS_USER_DOMAIN_NAME_DOWNLOAD}'
target: target:
type: swift type: swift
kwargs: kwargs:
...@@ -25,13 +20,8 @@ target: ...@@ -25,13 +20,8 @@ target:
auth_version: !env '${ST_AUTH_VERSION}' auth_version: !env '${ST_AUTH_VERSION}'
auth_url: !env '${OS_AUTH_URL}' auth_url: !env '${OS_AUTH_URL}'
user_domain_name: !env '${OS_USER_DOMAIN_NAME}' user_domain_name: !env '${OS_USER_DOMAIN_NAME}'
# target:
# type: local
# kwargs:
# storage_path: /mnt/data/target
workdir: /mnt/data/workdir workdir: /mnt/data/workdir
keep_temp: true
# metadata file to look for in downloaded tar/zip file # metadata file to look for in downloaded tar/zip file
metadata_glob: '*GSC*.xml' metadata_glob: '*GSC*.xml'
...@@ -49,6 +39,10 @@ preprocessing: ...@@ -49,6 +39,10 @@ preprocessing:
move_files: true move_files: true
data_file_globs: data_file_globs:
- '*.tif' - '*.tif'
- '*.jp2'
georeference:
type: gcp
order: 2
output: output:
options: options:
format: COG format: COG
...@@ -60,22 +54,6 @@ preprocessing: ...@@ -60,22 +54,6 @@ preprocessing:
- BIGTIFF=IF_SAFER - BIGTIFF=IF_SAFER
- OVERVIEWS=AUTO - OVERVIEWS=AUTO
types: types:
AA01: #KS03 before PH1B: # just to pass validation
nested: true nested: true
data_file_globs:
- '*.tif'
additional_file_globs:
- '*.rpc'
georeference:
stack_bands:
# stack all bands for each scene in the product
group_by: '.*/(.*)_P..tif'
sort_by: '.*_P(R|G|B|N).tif'
order:
- R
- G
- B
- N
PH1B:
nested: false
\ No newline at end of file
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