Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2 

3# gms_preprocessing, spatial and spectral homogenization of satellite remote sensing data 

4# 

5# Copyright (C) 2020 Daniel Scheffler (GFZ Potsdam, daniel.scheffler@gfz-potsdam.de) 

6# 

7# This software was developed within the context of the GeoMultiSens project funded 

8# by the German Federal Ministry of Education and Research 

9# (project grant code: 01 IS 14 010 A-C). 

10# 

11# This program is free software: you can redistribute it and/or modify it under 

12# the terms of the GNU General Public License as published by the Free Software 

13# Foundation, either version 3 of the License, or (at your option) any later version. 

14# Please note the following exception: `gms_preprocessing` depends on tqdm, which 

15# is distributed under the Mozilla Public Licence (MPL) v2.0 except for the files 

16# "tqdm/_tqdm.py", "setup.py", "README.rst", "MANIFEST.in" and ".gitignore". 

17# Details can be found here: https://github.com/tqdm/tqdm/blob/master/LICENCE. 

18# 

19# This program is distributed in the hope that it will be useful, but WITHOUT 

20# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 

21# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 

22# details. 

23# 

24# You should have received a copy of the GNU Lesser General Public License along 

25# with this program. If not, see <http://www.gnu.org/licenses/>. 

26 

27import os 

28import sklearn # noqa # avoids a static TLS ImportError during runtime of SICOR (when importing sklearn there) 

29if 'MPLBACKEND' not in os.environ: 

30 os.environ['MPLBACKEND'] = 'Agg' 

31 

32from . import algorithms # noqa: E402 

33from . import io # noqa: E402 

34from . import misc # noqa: E402 

35from . import processing # noqa: E402 

36from . import options # noqa: F401 (imported but unused) 

37from .options import config # noqa: F401 (imported but unused) 

38from .options.config import set_config # noqa: F401 (imported but unused) 

39from .processing.process_controller import ProcessController # noqa: E402 

40from .version import __version__, __versionalias__ # noqa (E402 + F401) 

41 

42__author__ = """Daniel Scheffler""" 

43__email__ = 'daniel.scheffler@gfz-potsdam.de' 

44__all__ = ['__version__', 

45 '__versionalias__', 

46 'algorithms', 

47 'io', 

48 'misc', 

49 'processing', 

50 'config' # noqa - only to keep compatibility with HU-INF codes 

51 'options', 

52 'set_config', 

53 'ProcessController', 

54 ]