EOX GitLab Instance

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

redo emg type_bands prod types, now more cov types per prod type

parent 928355f2
No related branches found
No related tags found
2 merge requests!49Production release 1.1.1,!46Emg prod types
......@@ -93,10 +93,11 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
# EQ02_3
python3 manage.py producttype create "${COLLECTION}"_Product_EQ02_3 --traceback \
# EQ02
python3 manage.py producttype create "${COLLECTION}"_Product_EQ02 --traceback \
--coverage-type "BGRNir" \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_3 --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
......@@ -106,7 +107,7 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_3 "TRUE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
......@@ -116,42 +117,9 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_3 "FALSE_COLOR" --traceback \
--red "green" \
--green "red" \
--blue "blue" \
--red-range 0 600 \
--green-range 0 500 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
# EQ02_4
python3 manage.py producttype create "${COLLECTION}"_Product_EQ02_4 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_4 --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 600 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_4 "TRUE_COLOR" --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 600 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_4 "FALSE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--green "red" \
--blue "green" \
--red-range 0 700 \
--green-range 0 500 \
......@@ -159,8 +127,8 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02_4 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
python3 manage.py browsetype create "${COLLECTION}"_Product_EQ02 "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# EW01
python3 manage.py producttype create "${COLLECTION}"_Product_EW01 --traceback \
--coverage-type "grayscale"
......@@ -172,238 +140,106 @@ if python3 manage.py id check "${COLLECTION}"; then
--red "gray" \
--red-range 0 1500 \
--red-nodata 0
# EW02_3
python3 manage.py producttype create "${COLLECTION}"_Product_EW02_3 --traceback \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_3 --traceback \
# EW02
python3 manage.py producttype create "${COLLECTION}"_Product_EW02 --traceback \
--coverage-type "BGRNir" \
--coverage-type "RGB" \
--coverage-type "CBGYRReNirNir2"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 0 750 \
--green-range 0 1200 \
--blue-range 0 800 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_3 "TRUE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 0 750 \
--green-range 0 1200 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_3 "FALSE_COLOR" --traceback \
--red "green" \
--green "red" \
--blue "blue" \
--red-range 0 1200 \
--green-range 0 750 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
# EW02_4
python3 manage.py producttype create "${COLLECTION}"_Product_EW02_4 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_4 --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 650 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_4 "TRUE_COLOR" --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 650 \
--blue-range 0 500 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_4 "FALSE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--green "red" \
--blue "green" \
--red-range 0 700 \
--green-range 0 500 \
--blue-range 0 650 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_4 "NDVI" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
# EW02_8
python3 manage.py producttype create "${COLLECTION}"_Product_EW02_8 --traceback \
# EW03
python3 manage.py producttype create "${COLLECTION}"_Product_EW03 --traceback \
--coverage-type "BGRNir" \
--coverage-type "RGB" \
--coverage-type "CBGYRReNirNir2"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_8 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 150 750 \
--green-range 250 800 \
--blue-range 200 600 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_8 "TRUE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 150 750 \
--green-range 250 800 \
--blue-range 200 600 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_8 "FALSE_COLOR" --traceback \
--red "nir_2" \
--green "red" \
--blue "green" \
--red-range 250 1000 \
--green-range 250 800 \
--blue-range 200 650 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW02_8 "NDVI" --traceback \
--grey "(nir_2-red)/(nir_2+red)" --grey-range -1 1
# EW03_3
python3 manage.py producttype create "${COLLECTION}"_Product_EW03_3 --traceback \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_3 --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 0 750 \
--green-range 0 1200 \
--blue-range 0 800 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_3 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 0 750 \
--green-range 0 1200 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_3 "FALSE_COLOR" --traceback \
--red "green" \
--green "red" \
--blue "blue" \
--red-range 0 1200 \
--green-range 0 750 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
# EW03_4
python3 manage.py producttype create "${COLLECTION}"_Product_EW03_4 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_4 --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 650 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_4 "TRUE_COLOR" --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 500 \
--green-range 0 650 \
--blue-range 0 500 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_4 "FALSE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--green "red" \
--blue "green" \
--red-range 0 700 \
--green-range 0 500 \
--blue-range 0 650 \
--red-range 100 700 \
--green-range 100 600 \
--blue-range 100 700 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_4 "NDVI" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
# EW03_8
python3 manage.py producttype create "${COLLECTION}"_Product_EW03_8 --traceback \
--coverage-type "CBGYRReNirNir2"
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_8 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 150 750 \
--green-range 250 800 \
--blue-range 200 600 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_8 "TRUE_COLOR" --traceback \
python3 manage.py producttype create "${COLLECTION}"_Product_GE01 --traceback \
--coverage-type "BGRNir" \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 150 750 \
--green-range 250 800 \
--blue-range 200 600 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_8 "FALSE_COLOR" --traceback \
--red "nir_2" \
--green "red" \
--blue "green" \
--red-range 250 1000 \
--green-range 250 800 \
--blue-range 200 650 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_EW03_8 "NDVI" --traceback \
--grey "(nir_2-red)/(nir_2+red)" --grey-range -1 1
# GE01_4
python3 manage.py producttype create "${COLLECTION}"_Product_GE01_4 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_4 --traceback \
--red "blue" \
--green "green" \
--blue "red" \
--red-range 0 600 \
--green-range 0 700 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_4 "TRUE_COLOR" --traceback \
--red "blue" \
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "red" \
--blue "blue" \
--red-range 0 600 \
--green-range 0 700 \
--blue-range 0 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_4 "FALSE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--green "red" \
--blue "green" \
--red-range 0 1000 \
--green-range 0 600 \
......@@ -411,42 +247,9 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_4 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
# GE01_3
python3 manage.py producttype create "${COLLECTION}"_Product_GE01_3 --traceback \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_3 --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1000 2048 \
--green-range 1000 2048 \
--blue-range 1000 2048 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_3 "TRUE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1000 1900 \
--green-range 1000 1900 \
--blue-range 1000 1900 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_3 "FALSE_COLOR" --traceback \
--red "green" \
--green "red" \
--blue "blue" \
--red-range 1000 1900 \
--green-range 1000 1900 \
--blue-range 1000 1900 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
# GE01_1
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01 "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# GE01_1 - believe that this cant be fixed anyhow because of rendering grayscale vs rgb
python3 manage.py producttype create "${COLLECTION}"_Product_GE01_1 --traceback \
--coverage-type "grayscale"
python3 manage.py browsetype create "${COLLECTION}"_Product_GE01_1 --traceback \
......@@ -459,39 +262,40 @@ if python3 manage.py id check "${COLLECTION}"; then
--red-nodata 0
# GY01
python3 manage.py producttype create "${COLLECTION}"_Product_GY01 --traceback \
--coverage-type "RGBNir"
--coverage-type "BGRNir" \
--coverage-type "RGB"
python3 manage.py browsetype create "${COLLECTION}"_Product_GY01 --traceback \
--red "blue" \
--red "red" \
--green "green" \
--blue "red" \
--red-range 50 450 \
--blue "blue" \
--red-range 50 600 \
--green-range 50 800 \
--blue-range 50 600 \
--blue-range 50 450 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GY01 "TRUE_COLOR" --traceback \
--red "blue" \
--red "red" \
--green "green" \
--blue "red" \
--red-range 50 450 \
--blue "blue" \
--red-range 50 600 \
--green-range 50 800 \
--blue-range 50 600 \
--blue-range 50 450 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GY01 "FALSE_COLOR" --traceback \
--red "nir" \
--green "blue" \
--green "red" \
--blue "green" \
--red-range 50 1000 \
--green-range 50 450 \
--green-range 50 600 \
--blue-range 50 800 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_GY01 "NDVI" --traceback \
--grey "(nir-blue)/(nir+blue)" --grey-range -1 1
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# IK02
python3 manage.py producttype create "${COLLECTION}"_Product_IK02 --traceback \
--coverage-type "RGBNir"
......@@ -562,51 +366,20 @@ if python3 manage.py id check "${COLLECTION}"; then
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RE00 "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# RS02_2
python3 manage.py producttype create "${COLLECTION}"_Product_RS02_2 --traceback \
--coverage-type "sar_hh_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_2 --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_2 "TRUE_COLOR" --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
# RS02_3
python3 manage.py producttype create "${COLLECTION}"_Product_RS02_3 --traceback \
--coverage-type "sar_hh_vv_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_3 --traceback \
# RS02
python3 manage.py producttype create "${COLLECTION}"_Product_RS02 --traceback \
--coverage-type "sar_hh_gray" \
--coverage-type "sar_hh_vv_gray" \
--coverage-type "sar_hh_hv_vh_vv_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02 --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_3 "TRUE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02 "TRUE_COLOR" --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
# RS02_7
python3 manage.py producttype create "${COLLECTION}"_Product_RS02_7 --traceback \
--coverage-type "sar_hh_hv_vh_vv_rgb"
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_7 --traceback \
--red "red" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_7 "TRUE_COLOR" --traceback \
--red "red" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_7 "FALSE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1 65535 \
--green-range 1 65535 \
--blue-range 1 65535 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_RS02_7 "NDVI" --traceback \
--grey "(vh-vv)/(vh+vv)" --grey-range -1 1
# SP04
python3 manage.py producttype create "${COLLECTION}"_Product_SP04 --traceback \
--coverage-type "RGBNirByte"
......@@ -666,50 +439,18 @@ if python3 manage.py id check "${COLLECTION}"; then
--green-nodata 0 \
--blue-nodata 0
# TX01_2
python3 manage.py producttype create "${COLLECTION}"_Product_TX01_2 --traceback \
--coverage-type "sar_hh_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_2 --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_2 "TRUE_COLOR" --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
# TX01_3
python3 manage.py producttype create "${COLLECTION}"_Product_TX01_3 --traceback \
--coverage-type "sar_hh_vv_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_3 --traceback \
python3 manage.py producttype create "${COLLECTION}"_Product_TX01 --traceback \
--coverage-type "sar_hh_gray" \
--coverage-type "sar_hh_vv_gray" \
--coverage-type "sar_hh_hv_vh_vv_gray"
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01 --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_3 "TRUE_COLOR" --traceback \
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01 "TRUE_COLOR" --traceback \
--red "gray" \
--red-range 1 65535 \
--red-nodata 0
# TX01_7
python3 manage.py producttype create "${COLLECTION}"_Product_TX01_7 --traceback \
--coverage-type "sar_hh_hv_vh_vv_rgb"
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_7 --traceback \
--red "red" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_7 "TRUE_COLOR" --traceback \
--red "red" \
--red-range 1 65535 \
--red-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_7 "FALSE_COLOR" --traceback \
--red "red" \
--green "green" \
--blue "blue" \
--red-range 1 65535 \
--green-range 1 65535 \
--blue-range 1 65535 \
--red-nodata 0 \
--green-nodata 0 \
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_TX01_7 "NDVI" --traceback \
--grey "(vh-vv)/(vh+vv)" --grey-range -1 1
# DM02
python3 manage.py producttype create "${COLLECTION}"_Product_DM02 --traceback \
--coverage-type "RGBNir"
......@@ -885,7 +626,6 @@ if python3 manage.py id check "${COLLECTION}"; then
--blue-nodata 0
python3 manage.py browsetype create "${COLLECTION}"_Product_PH1A "NDVI" --traceback \
--grey "(nir-red)/(nir+red)" --grey-range -1 1
# PH1B
python3 manage.py producttype create "${COLLECTION}"_Product_PH1B --traceback \
--coverage-type "RGBNir"
......@@ -921,6 +661,7 @@ 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
# SK00
python3 manage.py producttype create "${COLLECTION}"_Product_SK00 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_SK00 --traceback \
......@@ -955,6 +696,7 @@ 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
# SW03
python3 manage.py producttype create "${COLLECTION}"_Product_SW03 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_SW03 --traceback \
......@@ -989,7 +731,7 @@ if python3 manage.py id check "${COLLECTION}"; then
--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
# PL00 bands go in order b,g,r,nir
python3 manage.py producttype create "${COLLECTION}"_Product_PL00 --traceback \
--coverage-type "RGBNir"
python3 manage.py browsetype create "${COLLECTION}"_Product_PL00 --traceback \
......@@ -1034,7 +776,7 @@ if python3 manage.py id check "${COLLECTION}"; then
--coverage-type "BGRReNir" \
--coverage-type "sar_hh_gray" \
--coverage-type "sar_hh_vv_gray" \
--coverage-type "sar_hh_hv_vh_vv_rgb" \
--coverage-type "sar_hh_hv_vh_vv_gray" \
--product-type "${COLLECTION}"_Product_PH1A \
--product-type "${COLLECTION}"_Product_PH1B \
--product-type "${COLLECTION}"_Product_DM02 \
......@@ -1045,26 +787,16 @@ if python3 manage.py id check "${COLLECTION}"; then
--product-type "${COLLECTION}"_Product_CS03 \
--product-type "${COLLECTION}"_Product_CS04 \
--product-type "${COLLECTION}"_Product_EW01 \
--product-type "${COLLECTION}"_Product_EW02_3 \
--product-type "${COLLECTION}"_Product_EW02_4 \
--product-type "${COLLECTION}"_Product_EW02_8 \
--product-type "${COLLECTION}"_Product_EW03_3 \
--product-type "${COLLECTION}"_Product_EW03_4 \
--product-type "${COLLECTION}"_Product_EW03_8 \
--product-type "${COLLECTION}"_Product_EQ02_3 \
--product-type "${COLLECTION}"_Product_EQ02_4 \
--product-type "${COLLECTION}"_Product_GE01_4 \
--product-type "${COLLECTION}"_Product_GE01_3 \
--product-type "${COLLECTION}"_Product_EW02 \
--product-type "${COLLECTION}"_Product_EW03 \
--product-type "${COLLECTION}"_Product_EQ02 \
--product-type "${COLLECTION}"_Product_GE01 \
--product-type "${COLLECTION}"_Product_GE01_1 \
--product-type "${COLLECTION}"_Product_GY01 \
--product-type "${COLLECTION}"_Product_TX01_2 \
--product-type "${COLLECTION}"_Product_TX01_3 \
--product-type "${COLLECTION}"_Product_TX01_7 \
--product-type "${COLLECTION}"_Product_TX01 \
--product-type "${COLLECTION}"_Product_IK02 \
--product-type "${COLLECTION}"_Product_RE00 \
--product-type "${COLLECTION}"_Product_RS02_2 \
--product-type "${COLLECTION}"_Product_RS02_3 \
--product-type "${COLLECTION}"_Product_RS02_7 \
--product-type "${COLLECTION}"_Product_RS02 \
--product-type "${COLLECTION}"_Product_SP04 \
--product-type "${COLLECTION}"_Product_SP05 \
--product-type "${COLLECTION}"_Product_SP06 \
......
......@@ -63,10 +63,10 @@ preprocessing:
group_by: ".*/(.*)_P..tif"
sort_by: ".*_P(R|G|B|N).tif"
order:
- R
- G
- B
- G
- N
- R
RS02:
data_file_globs:
- "*imagery_*.tif"
......
......@@ -72,20 +72,15 @@ backends:
- !env '${COLLECTION}'
coverages:
DM02: RGBNir
EQ02_3:
EQ02:
~:
product_type_name: !env '${COLLECTION}_Product_EQ02_3'
product_type_name: !env '${COLLECTION}_Product_EQ02'
collections:
- !env '${COLLECTION}'
coverages:
EQ02_3: RGB
EQ02_4:
~:
product_type_name: !env '${COLLECTION}_Product_EQ02_4'
collections:
- !env '${COLLECTION}'
coverages:
EQ02_4: RGBNir
EQ02:
- RGB
- BGRNir
EW01:
~:
product_type_name: !env '${COLLECTION}_Product_EW01'
......@@ -93,63 +88,36 @@ backends:
- !env '${COLLECTION}'
coverages:
EW01: grayscale
EW02_3:
~:
product_type_name: !env '${COLLECTION}_Product_EW02_3'
collections:
- !env '${COLLECTION}'
coverages:
EW02_3: RGB
EW02_4:
~:
product_type_name: !env '${COLLECTION}_Product_EW02_4'
collections:
- !env '${COLLECTION}'
coverages:
EW02_4: RGBNir
EW02_8:
~:
product_type_name: !env '${COLLECTION}_Product_EW02_8'
collections:
- !env '${COLLECTION}'
coverages:
EW02_8: CBGYRReNirNir2
EW03_3:
~:
product_type_name: !env '${COLLECTION}_Product_EW03_3'
collections:
- !env '${COLLECTION}'
coverages:
EW03_3: RGB
EW03_4:
EW02:
~:
product_type_name: !env '${COLLECTION}_Product_EW03_4'
product_type_name: !env '${COLLECTION}_Product_EW02'
collections:
- !env '${COLLECTION}'
coverages:
EW03_4: RGBNir
EW03_8:
EW02:
- RGB
- BGRNir
- CBGYRReNirNir2
EW03:
~:
product_type_name: !env '${COLLECTION}_Product_EW03_8'
product_type_name: !env '${COLLECTION}_Product_EW03'
collections:
- !env '${COLLECTION}'
coverages:
EW03_8: CBGYRReNirNir2
GE01_4:
EW03:
- RGB
- BGRNir
- CBGYRReNirNir2
GE01:
~:
product_type_name: !env '${COLLECTION}_Product_GE01_4'
product_type_name: !env '${COLLECTION}_Product_GE01'
collections:
- !env '${COLLECTION}'
coverages:
GE01_4: RGBNir
GE01_3:
~:
product_type_name: !env '${COLLECTION}_Product_GE01_3'
collections:
- !env '${COLLECTION}'
coverages:
GE01_3: RGB
GE01_1:
GE01:
- RGB
- BGRNir
GE01_1: # I think that because of browse types this can not be fixed
~:
product_type_name: !env '${COLLECTION}_Product_GE01_1'
collections:
......@@ -198,27 +166,16 @@ backends:
- !env '${COLLECTION}'
coverages:
RE00: BGRReNir
RS02_2:
~:
product_type_name: !env '${COLLECTION}_Product_RS02_2'
collections:
- !env '${COLLECTION}'
coverages:
RS02_2: sar_hh_gray
RS02_3:
~:
product_type_name: !env '${COLLECTION}_Product_RS02_3'
collections:
- !env '${COLLECTION}'
coverages:
RS02_3: sar_hh_vv_gray
RS02_7:
RS02:
~:
product_type_name: !env '${COLLECTION}_Product_RS02_7'
product_type_name: !env '${COLLECTION}_Product_RS02'
collections:
- !env '${COLLECTION}'
coverages:
RS02_7: sar_hh_hv_vh_vv_rgb
RS02:
- sar_hh_gray
- sar_hh_vv_gray
- sar_hh_hv_vh_vv_gray
SP04:
~:
product_type_name: !env '${COLLECTION}_Product_SP04'
......@@ -268,27 +225,16 @@ backends:
- !env '${COLLECTION}'
coverages:
PL00: RGBNir
TX01_2:
~:
product_type_name: !env '${COLLECTION}_Product_TX01_2'
collections:
- !env '${COLLECTION}'
coverages:
TX01_2: sar_hh_gray
TX01_3:
~:
product_type_name: !env '${COLLECTION}_Product_TX01_3'
collections:
- !env '${COLLECTION}'
coverages:
TX01_3: sar_hh_vv_gray
TX01_7:
TX01:
~:
product_type_name: !env '${COLLECTION}_Product_TX01_7'
product_type_name: !env '${COLLECTION}_Product_TX01'
collections:
- !env '${COLLECTION}'
coverages:
TX01_7: sar_hh_hv_vh_vv_rgb
TX01:
- sar_hh_gray
- sar_hh_vv_gray
- sar_hh_hv_vh_vv_gray
post_handlers:
- path: registrar.post_handlers.ReportingPostHandler
......
......@@ -466,64 +466,10 @@
"allowed_value_ranges": [
[0, 65535]
]
},
{
"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]
]
}
],
"data_type": "Uint16",
"name": "sar_hh_hv_vh_vv_rgb"
"name": "sar_hh_hv_vh_vv"
},{
"bands": [
{
......@@ -814,4 +760,81 @@
],
"data_type": "Float32",
"name": "float32_grayscale"
},{
"bands": [
{
"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": "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": "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": "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]
]
}
],
"data_type": "Uint16",
"name": "BGRNir"
}]
......@@ -61,11 +61,11 @@ preprocessing:
stack_bands:
group_by: ".*/(.*)_P..tif"
sort_by: ".*_P(R|G|B|N).tif"
order:
- R
- G
order: # to match browse type in init_db
- B
- G
- N
- R
MER_RR__2P:
georeference:
geotransforms:
......
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