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
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
97f802c6
Commit
97f802c6
authored
Mar 17, 2020
by
Daniel Scheffler
Browse files
Set default of 'vswir_overlap_algorithm' parameter to 'swir_only'.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
8f89ce41
Pipeline
#7467
canceled with stage
in 22 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/enpt_cli.py
View file @
97f802c6
...
...
@@ -123,7 +123,7 @@ def get_enpt_argparser():
"('linear', 'nearest', 'zero', 'slinear', 'quadratic', 'cubic')"
)
add
(
'--ortho_resampAlg'
,
type
=
str
,
default
=
'bilinear'
,
help
=
"Ortho-rectification resampling algorithm ('nearest', 'bilinear', 'gauss')"
)
add
(
'--vswir_overlap_algorithm'
,
type
=
str
,
default
=
'
average
'
,
add
(
'--vswir_overlap_algorithm'
,
type
=
str
,
default
=
'
swir_only
'
,
help
=
"Algorithm specifying how to deal with the spectral bands in the VNIR/SWIR spectral overlap region "
"('order_by_wvl', 'average', 'vnir_only', 'swir_only')"
)
...
...
enpt/options/options_default.json
View file @
97f802c6
...
...
@@ -63,12 +63,12 @@
"orthorectification"
:
{
"resamp_alg"
:
"bilinear"
,
/*Ortho-rectification
resampling
algorithm
('nearest'
,
'bilinear'
,
'gauss')*/
"vswir_overlap_algorithm"
:
"
average
"
/*Algorithm
how
to
output
the
spectral
bands
in
the
VNIR/SWIR
spectral
overlap
region
'order_by_wvl':
keep
spectral
bands
unchanged
,
order
bands
by
wavelength
'average':
average
the
spectral
information
within
the
overlap
'vnir_only':
only
use
the
VNIR
bands
(cut
overlapping
SWIR
bands)
'swir_only':
only
use
the
SWIR
bands
(cut
overlapping
VNIR
bands)
*/
"vswir_overlap_algorithm"
:
"
swir_only
"
/*Algorithm
how
to
output
the
spectral
bands
in
the
VNIR/SWIR
spectral
overlap
region
'order_by_wvl':
keep
spectral
bands
unchanged
,
order
bands
by
wavelength
'average':
average
the
spectral
information
within
the
overlap
'vnir_only':
only
use
the
VNIR
bands
(cut
overlapping
SWIR
bands)
'swir_only':
only
use
the
SWIR
bands
(cut
overlapping
VNIR
bands)
*/
}
}
}
\ No newline at end of file
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