Skip to content
GitLab
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
7f33e5ab
Commit
7f33e5ab
authored
Dec 10, 2020
by
Daniel Scheffler
Browse files
Merge branch 'feature/add_urlchecker' into 'master'
Feature/add urlchecker See merge request
!50
parents
96659969
734310b3
Pipeline
#16665
passed with stages
in 6 minutes and 35 seconds
Changes
9
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7f33e5ab
...
...
@@ -67,6 +67,15 @@ test_styles:
when
:
always
test_urls
:
stage
:
test
script
:
-
source /root/miniconda3/bin/activate ci_env
-
pip install -U urlchecker
-
make urlcheck
when
:
always
test_enpt_install
:
stage
:
test
script
:
...
...
.zenodo.json
View file @
7f33e5ab
...
...
@@ -79,7 +79,7 @@
},
{
"scheme"
:
"url"
,
"identifier"
:
"
http://
www.enmap.org/enmapbox
.html
"
,
"identifier"
:
"www.enmap.org/
data_tools/
enmapbox
/
"
,
"relation"
:
"isPartOf"
}
],
...
...
HISTORY.rst
View file @
7f33e5ab
...
...
@@ -2,8 +2,14 @@
History
=======
0.16.4 (2020-12-10)
-------------------
* Added URL checker CI job and fixed all dead UR
0.16.3 (2020-11-03)
-------------------
-
-------------------
* Replaced deprecated 'source activate' by 'conda activate'.
* Updated installation instructions.
...
...
Makefile
View file @
7f33e5ab
...
...
@@ -56,6 +56,9 @@ lint: ## check style with flake8
pycodestyle enpt
--exclude
=
"*.ipynb,*.ipynb*"
--max-line-length
=
120
>
./tests/linting/pycodestyle.log
-
pydocstyle enpt
>
./tests/linting/pydocstyle.log
urlcheck
:
##
check for dead URLs
urlchecker check
.
--file-types
.py,.rst,.md,.json
test
:
##
run tests quickly with the default Python
python setup.py
test
...
...
docs/algorithm_descriptions.rst
View file @
7f33e5ab
...
...
@@ -188,6 +188,6 @@ summarized below:
.. _SICOR: https://gitext.gfz-potsdam.de/EnMAP/sicor
.. _`documentation pages of SICOR`: http://enmap.gitext.gfz-potsdam.de/sicor/doc/
.. _`documentation pages of SICOR`: http
s
://enmap.gitext
-pages
.gfz-potsdam.de/sicor/doc/
.. _AROSICS: https://gitext.gfz-potsdam.de/danschef/arosics
.. _pyresample: https://github.com/pytroll/pyresample
\ No newline at end of file
docs/tutorial.rst
View file @
7f33e5ab
...
...
@@ -5,8 +5,8 @@ From EnMAP Level-1B to Level-2A
*******************************
In this tutorial, we generate EnMAP_ Level-2A from Level-1B data using the EnMAP processing tool (EnPT_).
Please refer to the overview about EnMAP data products `here <
http://
www.enmap.org/dataproducts
.html
>`__ to learn
more
about the differences between EnMAP processing levels.
Please refer to the overview about EnMAP data products `here <www.enmap.org/
mission/
dataproducts
/
>`__ to learn
more
about the differences between EnMAP processing levels.
As described in the :ref:`usage` section of this documentation, the input parameters of EnPT_ can be set using the
Python application programming interface (API), the command line interface (CLI) or the graphical userface (GUI) within
...
...
@@ -15,8 +15,8 @@ found `here <https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapb
.. _EnPT: https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/EnPT
.. _EnMAP:
http://
www.enmap.org
/
.. _EnMAP-Box:
http://
www.enmap.org/enmapbox
.html
.. _EnMAP: www.enmap.org
.. _EnMAP-Box: www.enmap.org/
data_tools/
enmapbox
/
.. _QGIS: https://www.qgis.org
...
...
@@ -33,8 +33,9 @@ This tutorial requires some software to be installed on your machine:
for installation instructions)
- EnPT_ (see `here <https://enmap.gitext-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/EnPT/doc/installation.html>`__
for installation instructions)
- `EnPT EnMAP-Box App (GUI)`_ (see `here <http://enmap.gitext.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/
installation.html>`__ for installation instructions)
- `EnPT EnMAP-Box App (GUI)`_ (see `here
<https://enmap.gitext-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/installation.html>`__
for installation instructions)
.. _`EnPT EnMAP-Box App (GUI)`: https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp
...
...
@@ -43,7 +44,7 @@ Data
""""
You can download the input data for this tutorial
`here <https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/EnPT/
raw
/master/tests/data/
`here <https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/EnPT/
-/tree
/master/tests/data/
EnMAP_Level_1B/ENMAP01-____L1B-DT000000987_20130205T105307Z_001_V000101_20190426T143700Z__rows0-99.zip>`__.
Inspect the Level-1B data
...
...
@@ -52,7 +53,7 @@ Inspect the Level-1B data
The downloaded zip-archive contains a subset of an EnMAP Level-1B dataset covering a rural region in Bavaria, Germany.
Extract the zip-archive on your local disk and inspect the extracted files. An explanation of all the contained files
is given `here <https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/EnPT/
raw
/master/tests/data/>`__.
is given `here <https://gitext.gfz-potsdam.de/EnMAP/GFZ_Tools_EnMAP_BOX/EnPT/
-/tree
/master/tests/data/>`__.
.. image:: img/tut__contents_test_dataset.png
...
...
enpt/version.py
View file @
7f33e5ab
...
...
@@ -27,6 +27,6 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__
=
'0.16.
3
'
__versionalias__
=
'2020110
3
.01'
__version__
=
'0.16.
4
'
__versionalias__
=
'20201
2
10.01'
__author__
=
'Daniel Scheffler'
setup.py
View file @
7f33e5ab
...
...
@@ -64,7 +64,7 @@ req = [
req_setup
=
[
'setuptools-git'
]
# needed for package_data version controlled by GIT
req_test
=
[
'coverage'
,
'nose'
,
'nose2'
,
'nose-htmloutput'
,
'rednose'
]
req_test
=
[
'coverage'
,
'nose'
,
'nose2'
,
'nose-htmloutput'
,
'rednose'
,
'urlchecker'
]
req_doc
=
[
'sphinx-argparse'
,
'sphinx_rtd_theme'
]
...
...
tests/gitlab_CI_docker/context/environment_enpt.yml
View file @
7f33e5ab
...
...
@@ -39,3 +39,4 @@ dependencies:
-
rednose
-
sphinx-argparse
-
sphinx_rtd_theme
-
urlchecker
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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