Commit 06421541 authored by Niklas Bohn's avatar Niklas Bohn
parents 7112f819 d3f199ee
......@@ -104,7 +104,10 @@ def get_tables(sicor_table_path=None, sensor="s2", style="link", optional_downlo
:raises: ValueError if tables are not present after all attempts to acquire them.
"""
settings = os.path.join(os.path.dirname(options.__file__), "{sensor}_options.json".format(sensor=sensor))
if sensor == "enmap":
settings = os.path.join(os.path.dirname(options.__file__), "{sensor}_options_old.json".format(sensor=sensor))
else:
settings = os.path.join(os.path.dirname(options.__file__), "{sensor}_options.json".format(sensor=sensor))
opts = get_options(settings)
sicor_tables = set([op['atm_tables_fn'] for scat_type, op in opts["RTFO"].items()] +
[opts['cld_mask']["persistence_file"], opts['cld_mask']["novelty_detector"]])
......
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