eodal.utils.sentinel1 module

Sentinel-1 specific helper functions to interact with datasets organized in .SAFE structure.

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.utils.sentinel1.get_S1_acquistion_time_from_safe(dot_safe_name: Path | Dict[str, Any]) date[source]

Determines the image acquisition time of a dataset in .SAFE format based on the file naming

Parameters:

dot_safe_name – name of the .SAFE dataset

Returns:

image acquistion time (full timestamp)

eodal.utils.sentinel1.get_S1_platform_from_safe(dot_safe_name: Path | Dict[str, str]) str[source]

Get the platform information from a .SAFE archive

Parameters:

dot_safe_name – file-path to .SAFE archive or asset item returned from STAC

Returns:

satellite platform (e.g., S1A for Sentinel-1A)

eodal.utils.sentinel1.get_s1_imaging_mode_from_safe(dot_safe_name: Path | Dict[str, str]) str[source]

Get the imaging mode information from a Sentinel-1 .SAFE archive

Parameters:

dot_safe_name – file-path to .SAFE archive or asset item returned from STAC

Returns:

imaging mode (e.g., IW for interferometric wide-swath)