coincident.io.sliderule.subset_gedi02a#
- coincident.io.sliderule.subset_gedi02a(gf, aoi=None, include_worldcover=False, include_3dep=False, sliderule_params=None)#
Subsets GEDI L2A data based on a given GeoDataFrame and optional area of interest (AOI).
- Parameters:
gf (gpd.GeoDataFrame) – A GeoDataFrame of results from coincident.search.search(dataset=’gedi’)
aoi (gpd.GeoDataFrame, optional) – A GeoDataFrame with a POLYGON to subset. If not provided the union of geometries in gf is used.
include_worldcover (bool, optional) – Whether to include WorldCover data in the processing. Default is False.
include_3dep (bool, optional) – Whether to include 3DEP data in the processing. Default is False.
sliderule_params (dict[Any], optional) – A dictionary of additional parameters to be passed to SlideRule gedi.gedi02ap.
- Returns:
A GeoDataFrame containing the subsetted GEDI L2A data.
- Return type:
gpd.GeoDataFrame
Notes
The function sets degrade_filter=True and l2_quality_filter=True by default.