Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
arosics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Scheffler
arosics
Commits
bffb61cf
There was a problem fetching the pipeline summary.
Commit
bffb61cf
authored
7 years ago
by
Daniel Scheffler
Browse files
Options
Downloads
Patches
Plain Diff
Simplified dependency checks.
parent
4abdb080
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
arosics/__init__.py
+5
-7
5 additions, 7 deletions
arosics/__init__.py
setup.py
+9
-14
9 additions, 14 deletions
setup.py
with
14 additions
and
21 deletions
arosics/__init__.py
+
5
−
7
View file @
bffb61cf
...
...
@@ -3,6 +3,7 @@
"""
Top-level package for arosics.
"""
import
warnings
from
importlib
import
util
from
arosics.CoReg
import
COREG
from
arosics.CoReg_local
import
COREG_LOCAL
...
...
@@ -11,8 +12,8 @@ from arosics.Tie_Point_Grid import Tie_Point_Grid
__author__
=
"""
Daniel Scheffler
"""
__email__
=
'
daniel.scheffler@gfz-potsdam.de
'
__version__
=
'
0.6.
0
'
__versionalias__
=
'
2017-10-10_0
1
'
__version__
=
'
0.6.
1
'
__versionalias__
=
'
2017-10-10_0
2
'
__all__
=
[
'
COREG
'
,
'
COREG_LOCAL
'
,
'
DESHIFTER
'
,
...
...
@@ -20,10 +21,7 @@ __all__ = ['COREG',
# check optional dependencies
try
:
import
pyfftw
except
ImportError
:
pyfftw
=
None
if
not
util
.
find_spec
(
'
pyfftw
'
):
warnings
.
warn
(
'
PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.
'
)
del
warnings
,
pyfftw
del
util
,
warnings
This diff is collapsed.
Click to expand it.
setup.py
+
9
−
14
View file @
bffb61cf
...
...
@@ -5,6 +5,7 @@
from
setuptools
import
setup
,
find_packages
import
warnings
from
importlib
import
util
with
open
(
'
README.rst
'
)
as
readme_file
:
readme
=
readme_file
.
read
()
...
...
@@ -27,7 +28,7 @@ test_requirements = requirements + ['coverage', 'nose', 'nose-htmloutput', 'redn
setup
(
name
=
'
arosics
'
,
version
=
'
0.6.
0
'
,
version
=
'
0.6.
1
'
,
description
=
"
An Automated and Robust Open-Source Image Co-Registration Software for Multi-Sensor Satellite Data
"
,
long_description
=
readme
+
'
\n\n
'
+
history
,
author
=
"
Daniel Scheffler
"
,
...
...
@@ -59,23 +60,17 @@ setup(
)
# check for pyffw
try
:
import
pyfftw
except
ImportError
:
# check for pyfftw
if
not
util
.
find_spec
(
'
pyfftw
'
):
warnings
.
warn
(
'
You need to install pyfftw manually (see https://pypi.python.org/pypi/pyFFTW) for speeding up
'
'
the computation. It is not automatically installed.
'
)
# TODO
'
the computation. It is not automatically installed.
'
)
# check for basemap
try
:
from
mpl_toolkits.basemap
import
Basemap
except
ImportError
:
if
not
util
.
find_spec
(
'
mpl_toolkits.basemap
'
):
warnings
.
warn
(
'
You need to install basemap manually if you want to plot maps (see www./matplotlib.org/basemap).
'
'
It is not automatically installed.
'
)
# TODO
'
It is not automatically installed.
'
)
# check for pykrige
try
:
import
pykrige
except
ImportError
:
if
not
util
.
find_spec
(
'
pykrige
'
):
warnings
.
warn
(
'
You need to install pykrige manually if you want to interpolate tie point grids produced by AROSICS
'
'
(see https://github.com/bsmurphy/PyKrige). It is not automatically installed.
'
)
# TODO
'
(see https://github.com/bsmurphy/PyKrige). It is not automatically installed.
'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment