Coverage for enpt/model/metadata/__init__.py: 100%
7 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-03-07 11:39 +0000
« prev ^ index » next coverage.py v7.4.1, created at 2024-03-07 11:39 +0000
1# -*- coding: utf-8 -*-
3# EnPT, EnMAP Processing Tool - A Python package for pre-processing of EnMAP Level-1B data
4#
5# Copyright (C) 2018-2024 Karl Segl (GFZ Potsdam, segl@gfz-potsdam.de), Daniel Scheffler
6# (GFZ Potsdam, danschef@gfz-potsdam.de), Niklas Bohn (GFZ Potsdam, nbohn@gfz-potsdam.de),
7# Stéphane Guillaso (GFZ Potsdam, stephane.guillaso@gfz-potsdam.de)
8#
9# This software was developed within the context of the EnMAP project supported
10# by the DLR Space Administration with funds of the German Federal Ministry of
11# Economic Affairs and Energy (on the basis of a decision by the German Bundestag:
12# 50 EE 1529) and contributions from DLR, GFZ and OHB System AG.
13#
14# This program is free software: you can redistribute it and/or modify it under
15# the terms of the GNU General Public License as published by the Free Software
16# Foundation, either version 3 of the License, or (at your option) any later
17# version. Please note the following exception: `EnPT` depends on tqdm, which
18# is distributed under the Mozilla Public Licence (MPL) v2.0 except for the files
19# "tqdm/_tqdm.py", "setup.py", "README.rst", "MANIFEST.in" and ".gitignore".
20# Details can be found here: https://github.com/tqdm/tqdm/blob/master/LICENCE.
21#
22# This program is distributed in the hope that it will be useful, but WITHOUT
23# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
24# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
25# details.
26#
27# You should have received a copy of the GNU Lesser General Public License along
28# with this program. If not, see <https://www.gnu.org/licenses/>.
30"""EnPT metadata modules. All objects and functions regarding EnMAP metadata are implemented here."""
32from .metadata_sensorgeo import EnMAP_Metadata_L1B_Detector_SensorGeo, EnMAP_Metadata_L1B_SensorGeo # noqa: F401
33from .metadata_mapgeo import EnMAP_Metadata_L2A_MapGeo # noqa: F401
36__author__ = 'Daniel Scheffler'
39# Define L1B_product_props
40L1B_product_props = dict(
41 xml_detector_label=dict(
42 VNIR='VNIRDetector',
43 SWIR='SWIRDetector'
44 ),
45 fn_detector_suffix=dict(
46 VNIR='D1',
47 SWIR='D2'
48 )
49)
52L1B_product_props_DLR = dict(
53 xml_detector_label=dict(
54 VNIR='vnir',
55 SWIR='swir'
56 ),
57 fn_detector_suffix=dict(
58 VNIR='D1',
59 SWIR='D2'
60 )
61)
64# Define L1B_product_props
65L2A_product_props_DLR = dict(
66 xml_detector_label=dict(
67 VNIR='vnir',
68 SWIR='swir'
69 ),
70 fn_detector_suffix=dict(
71 VNIR='D1',
72 SWIR='D2'
73 )
74)