Skip to content
GitLab
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
6d6894f1
Commit
6d6894f1
authored
Apr 04, 2020
by
Daniel Scheffler
Browse files
Fixed fallback algorithm within spectral homogenization.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
f389497c
Pipeline
#8092
passed with stage
in 17 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
HISTORY.rst
View file @
6d6894f1
...
...
@@ -2,6 +2,13 @@
History
=======
0.18.3 (coming soon)
--------------------
* Fixed fallback algorithm within spectral homogenization.
0.18.2 (2020-04-02)
-------------------
...
...
gms_preprocessing/algorithms/L1C_P.py
View file @
6d6894f1
...
...
@@ -911,7 +911,7 @@ class AtmCorr(object):
self
.
logger
.
error
(
traceback
.
format_exc
())
# TODO include that in the job summary
# seriali
ali
ze AC input
# serialize AC input
if
dump_ac_input
:
path_dump
=
self
.
inObjs
[
0
].
pathGen
.
get_path_ac_input_dump
()
with
open
(
path_dump
,
'wb'
)
as
outF
:
...
...
gms_preprocessing/algorithms/L2B_P.py
View file @
6d6894f1
...
...
@@ -131,13 +131,16 @@ class L2B_object(L2A_object):
n_clusters
=
CFG
.
spechomo_n_clusters
,
classif_alg
=
CFG
.
spechomo_classif_alg
,
kNN_n_neighbors
=
CFG
.
spechomo_kNN_n_neighbors
,
nodataVal
=
self
.
arr
.
nodata
,
src_nodataVal
=
self
.
arr
.
nodata
,
out_nodataVal
=
self
.
arr
.
nodata
,
compute_errors
=
CFG
.
spechomo_estimate_accuracy
,
bandwise_errors
=
CFG
.
spechomo_bandwise_accuracy
,
fallback_argskwargs
=
dict
(
args
=
dict
(
source_CWLs
=
src_cwls
,
target_CWLs
=
tgt_cwl
,),
kwargs
=
dict
(
kind
=
'linear'
)
))
arrcube
=
self
.
arr
,
source_CWLs
=
src_cwls
,
target_CWLs
=
tgt_cwl
,
kind
=
'linear'
)
)
###################
# update metadata #
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment