Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gts2
gts2_client
Commits
d8fed950
Commit
d8fed950
authored
Jan 23, 2018
by
Hannes Diedrich
Browse files
Removed rgb channel setting: water because it uses B01 which can not be stacked.
parent
6a81b10f
Pipeline
#1792
passed with stages
in 17 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d8fed950
...
...
@@ -137,7 +137,7 @@ The list of arguments including their default values can be called from the comm
*
-q RGB_BANDS_SELECTION, --rgb_bands_selection RGB_BANDS_SELECTION
band selection for rgb production, choose from:
realistic, nice_looking, vegetation,
healthy_vegetation_urban,
water,
snow, agriculture
healthy_vegetation_urban, snow, agriculture
(default: realistic)
*
-w MERGE_TIFS, --merge_tifs MERGE_TIFS
Merge tifs and RGBs if area in two or more MGRS tiles
...
...
gts2_client/gts2_client.py
View file @
d8fed950
...
...
@@ -30,7 +30,6 @@ band_settings = {"realistic": ("B04", "B03", "B02"),
"nice_looking"
:
(
"B11"
,
"B08"
,
"B03"
),
"vegetation"
:
(
"B8A"
,
"B04"
,
"B03"
),
"healthy_vegetation_urban"
:
(
"B8A"
,
"B11"
,
"B02"
),
"water"
:
(
"B08"
,
"B12"
,
"B01"
),
"snow"
:
(
"B08"
,
"B11"
,
"B04"
),
"agriculture"
:
(
"B11"
,
"B08"
,
"B02"
)}
...
...
@@ -870,7 +869,7 @@ if __name__ == "__main__":
help
=
"file extension of rgb files e.g.[jpg, png], default: jpg"
)
parser
.
add_argument
(
"-q"
,
"--rgb_bands_selection"
,
action
=
"store"
,
required
=
False
,
type
=
str
,
default
=
"realistic"
,
help
=
"band selection for rgb production, choose from: [realistic, nice_looking, vegetation, "
"healthy_vegetation_urban,
water,
snow, agriculture]"
)
"healthy_vegetation_urban, snow, agriculture]"
)
parser
.
add_argument
(
"-w"
,
"--merge_tifs"
,
action
=
"store"
,
required
=
False
,
type
=
str2bool
,
default
=
False
,
help
=
"Merge tifs and RGBs if area in two or more MGRS tiles per time step (True or False)."
)
parser
.
add_argument
(
"-x"
,
"--merge_tile"
,
action
=
"store"
,
required
=
False
,
type
=
str
,
default
=
None
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment