Unverified Commit c809d163 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added environment_enmapbox.yml. Improved exception message.

Signed-off-by: Daniel Scheffler's avatardanschef <daniel.scheffler@gfz-potsdam.de>
parent 44ab000e
Pipeline #5639 passed with stage
in 51 minutes and 29 seconds
......@@ -116,7 +116,8 @@ class L1B_Reader(object):
def _validate_enmap_l1b_rootdir(rootdir_l1b):
"""Check for valid EnMAP L1B root directory."""
if not os.path.isdir(rootdir_l1b):
raise NotADirectoryError(rootdir_l1b)
raise NotADirectoryError(rootdir_l1b, 'EnMAP images have to be provided either as zip-archives or as '
'a directory containing all extracted files.')
files = os.listdir(rootdir_l1b)
name: enmapbox
channels: &id1
- http://conda.anaconda.org/conda-forge
- python=3.*.*
- pip # avoids that conda uses the wrong pip
- qgis
- numpy
- scikit-learn
- matplotlib
- pip:
- scipy
- astropy
Supports Markdown
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