EOX GitLab Instance

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

add config for new emg types

parent ddc3fbb7
No related branches found
No related tags found
2 merge requests!49Production release 1.1.1,!42Redis statuses
......@@ -921,6 +921,16 @@ if python3 manage.py id check "${COLLECTION}"; then
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_PH1B "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
python3 manage.py browsetype create "${COLLECTION}"_Product_SK00 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1 600 \
--green-range 1 600 \
--blue-range 1 600 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_SK00 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
......@@ -943,7 +953,71 @@ if python3 manage.py id check "${COLLECTION}"; then
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_SK00 "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
python3 manage.py browsetype create "${COLLECTION}"_Product_SW03 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1 1000 \
--green-range 1 1000 \
--blue-range 1 1000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_SW03 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1 1000 \
--green-range 1 1000 \
--blue-range 1 1000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_SW03 "FALSE_COLOR" --traceback \
--red "nir" \
--green "red" \
--blue "green" \
--red-range 1 1000 \
--green-range 1 1000 \
--blue-range 1 1000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_SW03 "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# bands go in order b,g,r,nir and I did not change them in preprocessing
python3 manage.py browsetype create "${COLLECTION}"_Product_PL00 --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 1500 15000 \
--green-range 1500 15000 \
--blue-range 1500 15000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_PL00 "TRUE_COLOR" --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 1500 15000 \
--green-range 1500 15000 \
--blue-range 1500 15000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_PL00 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--blue "green" \
--red-range 1500 20000 \
--green-range 1500 15000 \
--blue-range 1500 15000 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_PL00 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
python3 manage.py collectiontype create "${COLLECTION}"_Collection --traceback \
--coverage-type "RGBNir" \
--coverage-type "RGNirByte" \
......@@ -990,6 +1064,8 @@ if python3 manage.py id check "${COLLECTION}"; then
--product-type "${COLLECTION}"_Product_SP06 \
--product-type "${COLLECTION}"_Product_SP07 \
--product-type "${COLLECTION}"_Product_SK00 \
--product-type "${COLLECTION}"_Product_SW03 \
--product-type "${COLLECTION}"_Product_PL00 \
--product-type "${COLLECTION}"_Product_KS03
python3 manage.py collection create "${COLLECTION}" --type "${COLLECTION}"_Collection --traceback
......
......@@ -187,9 +187,11 @@ preprocessing:
- type: rpc
- type: no_op
PL00:
# todo reorder bands from bgrnir to rgbnir
data_file_globs:
- "*MS.tif"
SW03:
data_file_globs:
- "*.tif"
# this configuration is still a stub - not all product types are done
# https://gitlab.eox.at/esa/prism/vs/-/issues/56
# https://gitlab.eox.at/esa/prism/vs/-/issues/23
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