eodal.metadata.database.db_model module

Implementation of a data model for eodal’s metadata DB including platform specific tables for storing e.g., Sentinel-2 metadata

Copyright (C) 2022 Lukas Valentin Graf

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

class eodal.metadata.database.db_model.PS_SuperDove_Metadata(**kwargs)[source]

Bases: Base

anomalous_pixels
clear_confidence_percent
clear_percent
cloud_cover
cloud_percent
epsg
geom
ground_control
gsd
heavy_haze_percent
instrument
item_type
light_haze_percent
ncols
nrows
orbit_direction
path_type
pixel_resolution
provider
quality_category
satellite_azimuth
satellite_id
scene_id
sensing_time
shadow_percent
snow_ice_percent
storage_device_ip
storage_device_ip_alias
storage_share
strip_id
sun_azimuth
sun_elevation
view_angle
visible_confidence_percent
visible_percent
class eodal.metadata.database.db_model.Regions(**kwargs)[source]

Bases: Base

geom
region_uid
class eodal.metadata.database.db_model.S1_Raw_Metadata(**kwargs)[source]

Bases: Base

geom
instrument_mode
mission_data_take_id
processing_software_name
processing_software_version
product_class
product_type
product_uri
relative_orbit_start
relative_orbit_stop
scene_id
sensing_date
sensing_orbit_direction
sensing_orbit_start
sensing_orbit_stop
sensing_time
spacecraft_name
storage_device_ip
storage_device_ip_alias
storage_share
class eodal.metadata.database.db_model.S2_Processed_Metadata(**kwargs)[source]

Bases: Base

bandstack
path_type
preview
product_uri
resampling_method
scene_id
scene_was_merged
scl
spatial_resolution
storage_device_ip
storage_device_ip_alias
storage_share
class eodal.metadata.database.db_model.S2_Raw_Metadata(**kwargs)[source]

Bases: Base

cloud_shadow_percentage
cloudy_pixel_percentage
dark_features_percentage
datatakeidentifier
degraded_msi_data_percentage
epsg
geom
high_proba_clouds_percentage
l1c_tile_id
medium_proba_clouds_percentage
mtd_msi_xml
mtd_tl_xml
ncols_10m
ncols_20m
ncols_60m
nodata_pixel_percentage
not_vegetated_percentage
nrows_10m
nrows_20m
nrows_60m
path_type
pdgs_baseline
processing_level
product_uri
reflectance_conversion
scene_id
sensing_date
sensing_orbit_direction
sensing_orbit_number
sensing_time
sensor_azimuth_angle
sensor_zenith_angle
snow_ice_percentage
solar_irradiance_b01
solar_irradiance_b02
solar_irradiance_b03
solar_irradiance_b04
solar_irradiance_b05
solar_irradiance_b06
solar_irradiance_b07
solar_irradiance_b08
solar_irradiance_b09
solar_irradiance_b10
solar_irradiance_b11
solar_irradiance_b12
solar_irradiance_b8a
spacecraft_name
storage_device_ip
storage_device_ip_alias
storage_share
sun_azimuth_angle
sun_zenith_angle
thin_cirrus_percentage
tile_id
ulx
uly
unclassified_percentage
vegetation_percentage
water_percentage
eodal.metadata.database.db_model.create_tables() None[source]

creates all Sentinel-2 related tables in the current <DEFAULT_SCHEMA>.