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
geomultisens
gms_preprocessing
Commits
e7c0588e
Commit
e7c0588e
authored
Dec 14, 2017
by
Daniel Scheffler
Browse files
Fixed missing logger.
parent
0b84b858
Pipeline
#1720
passed with stage
in 11 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/L2B_P.py
View file @
e7c0588e
...
...
@@ -83,7 +83,7 @@ class L2B_object(L2A_object):
####################################
# perform spectral homogenization! #
####################################
SpH
=
SpectralHomogenizer
(
classifier_rootDir
=
CFG
.
path_spechomo_classif
)
SpH
=
SpectralHomogenizer
(
classifier_rootDir
=
CFG
.
path_spechomo_classif
,
logger
=
self
.
logger
)
if
method
==
'LI'
or
CFG
.
datasetid_spectral_ref
is
None
:
# linear interpolation
...
...
@@ -122,7 +122,7 @@ class L2B_object(L2A_object):
class
SpectralHomogenizer
(
object
):
def
__init__
(
self
,
classifier_rootDir
=
''
,
logger
=
None
):
self
.
classifier_rootDir
=
classifier_rootDir
or
CFG
.
path_spechomo_classif
self
.
logger
=
logger
or
logging
.
getLogger
(
self
.
__class__
.
__name__
)
self
.
logger
=
logger
or
logging
.
getLogger
(
self
.
__class__
.
__name__
)
# FIXME own logger logs nothing
def
interpolate_cube
(
self
,
arrcube
,
source_CWLs
,
target_CWLs
,
kind
=
'linear'
):
# type: (Union[np.ndarray, GeoArray], list, list) -> np.ndarray
...
...
Daniel Scheffler
@danschef
mentioned in commit
04ceef61
·
Feb 06, 2018
mentioned in commit
04ceef61
mentioned in commit 04ceef618556a98056c94dfdacdc45faaf071d08
Toggle commit list
Daniel Scheffler
@danschef
mentioned in commit
d4984981
·
Mar 31, 2020
mentioned in commit
d4984981
mentioned in commit d498498185327c1cc3b964f3a6dd407ce2bb5cb3
Toggle commit list
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