Commit 6d6894f1 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed fallback algorithm within spectral homogenization.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent f389497c
Pipeline #8092 passed with stage
in 17 minutes and 57 seconds
......@@ -2,6 +2,13 @@
History
=======
0.18.3 (coming soon)
--------------------
* Fixed fallback algorithm within spectral homogenization.
0.18.2 (2020-04-02)
-------------------
......
......@@ -911,7 +911,7 @@ class AtmCorr(object):
self.logger.error(traceback.format_exc())
# TODO include that in the job summary
# serialialize 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:
......
......@@ -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 #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment