Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
c809d163
Unverified
Commit
c809d163
authored
Jan 22, 2020
by
Daniel Scheffler
Browse files
Added environment_enmapbox.yml. Improved exception message.
Signed-off-by:
danschef
<
daniel.scheffler@gfz-potsdam.de
>
parent
44ab000e
Pipeline
#5639
passed with stage
in 51 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
enpt/io/reader.py
View file @
c809d163
...
...
@@ -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
)
...
...
tests/gitlab_CI_docker/context/environment_enmapbox.yml
0 → 100644
View file @
c809d163
name
:
enmapbox
channels
:
&id1
-
http://conda.anaconda.org/conda-forge
dependencies
:
-
python=3.*.*
-
pip
# avoids that conda uses the wrong pip
-
qgis
-
numpy
-
scikit-learn
-
matplotlib
-
pip
:
-
scipy
-
astropy
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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