EOX GitLab Instance

Commit 766d2274 authored by Lubomir Doležal's avatar Lubomir Doležal
Browse files

update core09 browse types and preprocessor config, minor fixes

parent 14f64d77
......@@ -13,8 +13,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -25,8 +25,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -34,7 +34,7 @@ function initialize {
# create the product type
python3 manage.py producttype create "HRG_J____3" \
--coverage-type "NirRGSwir" \
--coverage-type "GRNirSwir" \
--traceback
python3 manage.py browsetype create "HRG_J____3" \
......@@ -42,8 +42,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -54,8 +54,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -63,7 +63,7 @@ function initialize {
# create the product type
python3 manage.py producttype create "HIR_I____3" \
--coverage-type "NirRGSwir" \
--coverage-type "GRNirSwir" \
--traceback
python3 manage.py browsetype create "HIR_I____3" \
......@@ -71,8 +71,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -83,8 +83,8 @@ function initialize {
--green "red" \
--blue "green" \
--red-range 1 255 \
--green-range 1 210 \
--blue-range 1 210 \
--green-range 1 200 \
--blue-range 1 200 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0 \
......@@ -122,7 +122,6 @@ function initialize {
# set up collection type
python3 manage.py collectiontype create "DWH_MG2_CORE_FC_type" \
--coverage-type "GRNirSwir" \
--coverage-type "NirRGSwir" \
--coverage-type "NirRG" \
--product-type "HRV_X____3" \
--product-type "HRG_J____3" \
......
......@@ -38,7 +38,7 @@ preprocessing:
- '*.tif'
- '*.jp2'
output:
options:
options: &default_output_options
format: COG
dstSRS: 'EPSG:4326'
dstNodata: 0
......@@ -55,16 +55,58 @@ preprocessing:
HRV_X____3:
data_file_globs:
- "*imagery.tif"
LI3_X___3O:
HIR_I____3: &HRG_J
gdal_config_options:
- "GDAL_PAM_ENABLED=YES"
data_file_globs:
- "*imagery.bil"
- "*imagery.tif"
- "*metadata.dim"
additional_file_globs:
- "*imagery.bil"
- "*imagery.blw"
- "*imagery.hdr"
- "*imagery.prj"
HRG_J____3:
data_file_globs:
- "*imagery.tif"
HIR_I____3:
custom_preprocessor:
path: preprocessor.preprocessor_fix_core_dimap_image_ref.rename_reference_dimap
kwargs:
search: IMAGERY.TIF
replace: imagery.bil
georeference:
data_file_globs:
- "*imagery.dim"
geotransforms:
- type: gcp
- type: no_op
output:
data_file_globs:
- "*imagery.tif"
options: *default_output_options
HRG_J____3: *HRG_J
LI3_X___3O:
data_file_globs:
- "*imagery.tif"
\ No newline at end of file
- "*_[0-9]_*.tif"
- "*.vrt"
additional_file_globs:
- "*rpc.txt"
georeference:
geotransforms:
- type: rpc
rpc_file_template: "{fileroot}_rpc.txt"
- type: fix_geotrans
- type: no_op
warp_options:
format: GTiff
dstSRS: 'EPSG:4326'
dstNodata: 0
multithread: True
warpMemoryLimit: 3000
creationOptions:
- NUM_THREADS=8
- BIGTIFF=YES
stack_bands:
group_by: ".*/(.*)_[0-9].*.tif"
sort_by: ".*_(2|3|4|5).*.tif"
order:
- "2"
- "3"
- "4"
- "5"
......@@ -39,7 +39,7 @@ backends:
- DWH_MG2_CORE_FC
coverages:
HRG_J____3:
- NirRGSwir
- GRNirSwir
HIR_I____3:
~:
product_type_name: 'HIR_I____3'
......@@ -47,7 +47,7 @@ backends:
- DWH_MG2_CORE_FC
coverages:
HIR_I____3:
- NirRGSwir
- GRNirSwir
LI3_X___3O:
~:
product_type_name: 'LI3_X___3O'
......
......@@ -187,7 +187,7 @@ services:
- source: sftp_users_core09
target: /etc/sftp/users.conf
ports:
- "2229:22"
- "2232:22"
deploy:
replicas: 1
configs:
......
Supports Markdown
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