reader.abstracted_metadata
The abstracted_metadata subpackage handles all workflows related to parsing the Abstracted Metadata section that is found
in Sentinel-1 metadata.
This class is not designed to be directly used by the user. It is designed for the classes in
PyBeamDimap.missions.
- class PyBeamDimap.reader.abstracted_metadata.AbstractedMetadata(metadata, product)
Bases:
object- property EsdMeasurement
Subclass to handle ESD Measurement section. Access this property to access ESD measurement data.
- __init__(metadata, product)
Class for handling the abstracted metadata section of Sentinel-1 metadata
- Parameters
metadata – ElementTree object containing parsed .dim data
product – Sentinel-1 Product type
- property baselines: pandas.DataFrame
Dataframe object containing baseline data between two image acquisitions
- property burst_boundary
Dataframe object containing burst boundary data
- property dataframe: pandas.DataFrame
Dataframe object containing all non-nested abstracted metadata elements
- property doppler_centroid_coeffs: pandas.DataFrame
Dataframe object containing doppler centroid coefficients
- get_attribute(name, attribute_type='Value') str
Load XML attribute from abstracted metadata section. Does not include nested sections.
- Parameters
name – Element to search for in abstracted metadata
attribute_type – Accepted attribute types are [Name, Value, Type, Description]
- property look_directions: pandas.DataFrame
Dataframe object containing look direction data
- property orbit_offsets: pandas.DataFrame
Dataframe object contaning orbit offsets
- property orbit_state_vectors: pandas.DataFrame
Dataframe object containing orbit state vectors
- property srgr_coeffs: pandas.DataFrame
Dataframe object containing slant range to ground range (SRGR) coefficients
- class PyBeamDimap.reader.abstracted_metadata.EsdMeasurement(metadata, product)
Bases:
object- __init__(metadata, product)
Class to handle ESD measurement properties in the abstracted metadata class
- dataframe(image=None, param=None, verbose=True)
Generate a Pandas dataframe of the ESD measurements. Only one image can be loaded at a time.
- Parameters
image – Dataset to check. Default will use first image in the dimap file.
param – Parameter to check. Default will use first parameter in the ESD measurement metadata