Commit 222b4ba6 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Adapted code to latest SICOR options files. Added minimal version of SICOR.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 8e961042
......@@ -328,10 +328,10 @@ def get_path_ac_options(GMS_id):
ac_options_file_dic = {
'AVNIR-2': None,
'TM4': 'sicor_l8_user_options.json',
'TM5': 'sicor_l8_user_options.json',
'TM7': 'sicor_l8_user_options.json', # AC uses Landsat-8 options for L7 but reads only a subset of the options
'LDCM': 'sicor_l8_user_options.json',
'TM4': 'l8_options.json',
'TM5': 'l8_options.json',
'TM7': 'l8_options.json', # AC uses Landsat-8 options for L7 but reads only a subset of the options
'LDCM': 'l8_options.json',
'SPOT1a': None,
'SPOT1b': None,
'SPOT2a': None,
......@@ -344,8 +344,8 @@ def get_path_ac_options(GMS_id):
'SPOT5b': None,
'RE5': None,
'AST_full': None,
'S2A_full': 'sicor_s2_user_options.json',
'S2B_full': 'sicor_s2_user_options.json',
'S2A_full': 's2_options.json',
'S2B_full': 's2_options.json',
}
try:
......
......@@ -70,7 +70,7 @@ req = [
'scikit-learn',
'scipy',
'shapely',
'sicor',
'sicor>=0.15.2',
'spechomo',
'spectral>=0.16', # spectral<0.16 has some problems with writing signed integer 8bit data
'sqlalchemy',
......
......@@ -23,7 +23,7 @@ dependencies:
- scikit-learn=0.23.2 # pinned due to spechomo classifiers created with this version
- shapely
- scipy<=1.1.0 # pinned due to https://gitext.gfz-potsdam.de/EnMAP/sicor/-/issues/63
- sicor
- sicor>=0.15.2
- spechomo
- pip:
......
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