data_downloader.services.ARIATileCentroidPoint#
- class data_downloader.services.ARIATileCentroidPoint(centroid_point: list[float], flightDirection: Literal['ASCENDING', 'DESCENDING'] = 'ASCENDING', maxResults: int = 10000)#
Class for ARIAS scenes within a spatial tile based on the centroid point.
Scenes are searched based on the centroid point of the tile (spatial intersection). The flight direction should be specified to determine the direction of scenes.
- __init__(centroid_point: list[float], flightDirection: Literal['ASCENDING', 'DESCENDING'] = 'ASCENDING', maxResults: int = 10000) None#
Initialize ARIAFrame object with given centroid point and flight direction.
- Parameters:
centroid_point (list[float]) – Centroid point of frame in [lon, lat] format in WGS84.
flightDirection (Literal["ASCENDING", "DESCENDING"]) – Flight direction of ASF scenes.
maxResults (int) – Maximum number of results to return.
Methods
__init__(centroid_point[, flightDirection, ...])Initialize ARIAFrame object with given centroid point and flight direction.
download(folder[, urls])Download Scenes to the specified folder.
save_boundaries(folder[, filename])Save the boundaries of Scenes to a GeoJSON file.
to_gdf([crs])Convert the GeoJSON to a geopandas.GeoDataFrame.
Attributes
Baselines corresponding to ASF interferogram scenes.
Boundary file name for saving downloaded scenes.
Centroid point of the tile in WKT format.
Flight direction of the scenes.
geopandas.GeoDataFrame representation of Scenes.
GeoJSON representation of Scenes.
Pairs corresponding to ASF interferogram scenes.
Perpendicular baselines corresponding to ASF scenes.
String representation of the ASFScenes instance.
String representation of the ASFScenes instance.
List of URLs for downloading Scenes.
- __init__(centroid_point: list[float], flightDirection: Literal['ASCENDING', 'DESCENDING'] = 'ASCENDING', maxResults: int = 10000) None#
Initialize ARIAFrame object with given centroid point and flight direction.
- Parameters:
centroid_point (list[float]) – Centroid point of frame in [lon, lat] format in WGS84.
flightDirection (Literal["ASCENDING", "DESCENDING"]) – Flight direction of ASF scenes.
maxResults (int) – Maximum number of results to return.
- property centroid: str#
Centroid point of the tile in WKT format.
- property flightDirection: Literal['ASCENDING', 'DESCENDING']#
Flight direction of the scenes.
- property baselines: Baselines#
Baselines corresponding to ASF interferogram scenes.
- property boundary_file: str#
Boundary file name for saving downloaded scenes.
- download(folder: PathLike, urls: list[str] | None = None) None#
Download Scenes to the specified folder.
- ..hint::
The data will be saved in a subfolder named frame_{frame}_path_{path}. You can specify a parent folder, and the subfolder will be created automatically.
- Parameters:
folder (PathLike) – The folder where the Scenes will be saved.
urls (list[str] or None, optional) – List of URLs to download. If None, all URLs will be used.
- property gdf: GeoDataFrame#
geopandas.GeoDataFrame representation of Scenes.
- property geojson: dict#
GeoJSON representation of Scenes.
- property perpendicular_baselines: np.ndarray#
Perpendicular baselines corresponding to ASF scenes.
- property repr: str#
String representation of the ASFScenes instance.
- save_boundaries(folder: PathLike, filename: str | None = None) None#
Save the boundaries of Scenes to a GeoJSON file.
- Parameters:
folder (PathLike) – The folder where the GeoJSON file will be saved.
filename (str, optional) – The name of the output GeoJSON file. If None, it will use the default boundary file name. Default is None.
- property scenes_repr: str#
String representation of the ASFScenes instance.
- to_gdf(crs: int | str | None = None) GeoDataFrame#
Convert the GeoJSON to a geopandas.GeoDataFrame.
- Parameters:
crs (int, str, or None, optional) – The CRS to set for the GeoDataFrame. If None, the CRS will not be set. Default is None.
- Returns:
The GeoDataFrame representation of the Scenes.
- Return type:
gpd.GeoDataFrame
- property url: Series#
List of URLs for downloading Scenes.