cryoswath.gis module
- cryoswath.gis.buffer_4326_shp(shp: Geometry, radius: float, simplify: bool = True) MultiPolygon [source]
- cryoswath.gis.find_planar_crs(*, shp: Geometry = None, lat: float = None, lon: float = None, region_id: str = None)[source]
- cryoswath.gis.subdivide_region(basin_gdf: GeoDataFrame, lat_bin_width_degree: float = 1, lon_bin_width_degree: float = 1) list[GeoDataFrame] [source]
Devides GeoDataFrame of basins into smaller GeoDataFrame based on their central lat/lon coords.
- Parameters:
basin_gdf (gpd.GeoDataFrame, optional) – Basins to subdivide.
lat_bin_width_degree (float, optional) – Requested sub-region latitude range in degrees. Defaults to 1.
lon_bin_width_degree (float, optional) – Requested sub-region longitude range in degrees.. Defaults to 1.
- Returns:
List of region parts.
- Return type:
list[gpd.GeoDataFrame]