eodal.metadata.database.querying module¶
Functions to query remote sensing platform independent metadata from the metadata DB.
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/>.
- eodal.metadata.database.querying.find_raw_data_by_bbox(platform: str, time_start: datetime, time_end: datetime, bounding_box: Polygon, metadata_filters: List[Filter]) GeoDataFrame[source]¶
Query the metadata DB by a geographic bounding box, time period and custom filters
- eodal.metadata.database.querying.get_region(region: str) GeoDataFrame[source]¶
Queries the metadata DB for a specific region and its geographic extent.
- Parameters:
region – unique region identifier
- Returns:
GeoDataFrame with the geometry of the queried region
- eodal.metadata.database.querying.get_s2_tile_footprint(tile_name: str) GeoDataFrame[source]¶
Queries the geographic extent of a Sentinel-2 tile
- Parameters:
sensor – name of the sensor the tiling scheme belongs to (e.g., ‘sentinel2’)
tile_name – name of the tile in the tiling scheme (e.g., ‘T32TMT’)
- Returns:
extent of the tile in geographic coordinates (WGS84)