EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESA
PRISM
VS
Commits
fa8fbf3b
Commit
fa8fbf3b
authored
4 years ago
by
Lubomir Dolezal
Browse files
Options
Downloads
Patches
Plain Diff
add config for new emg types
parent
ddc3fbb7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!49
Production release 1.1.1
,
!42
Redis statuses
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/emg_init-db.sh
+77
-1
77 additions, 1 deletion
config/emg_init-db.sh
config/emg_preprocessor-config.yml
+3
-1
3 additions, 1 deletion
config/emg_preprocessor-config.yml
with
80 additions
and
2 deletions
config/emg_init-db.sh
+
77
−
1
View file @
fa8fbf3b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
config/emg_preprocessor-config.yml
+
3
−
1
View file @
fa8fbf3b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment