__init__.py 773 Bytes
Newer Older
1
2
3
4
# -*- coding: utf-8 -*-

"""Top-level package for arosics."""

5
import warnings
6
7
8
9
import os

if 'GDAL_DATA' not in os.environ:
    raise EnvironmentError("Please ensure that the GDAL_DATA environment variable is set and try again!")
10

11
12
13
14
15
from arosics.CoReg import COREG
from arosics.CoReg_local import COREG_LOCAL
from arosics.DeShifter import DESHIFTER
from arosics.Tie_Point_Grid import Tie_Point_Grid

16
17
__author__ = """Daniel Scheffler"""
__email__ = 'daniel.scheffler@gfz-potsdam.de'
Daniel Scheffler's avatar
Daniel Scheffler committed
18
19
__version__ = '0.4.27'
__versionalias__ = '2017-09-08_01'
20

21
22
23
24
25

# check optional dependencies
try:
    import pyfftw
except ImportError:
26
    pyfftw = None
27
28
29
    warnings.warn('PYFFTW library is missing. However, coregistration works. But in some cases it can be much slower.')

del warnings, pyfftw