bakaano.alpha_earth¶
AlphaEarth embedding download and preprocessing.
Role: Provide static catchment descriptors from AlphaEarth bands.
- class bakaano.alpha_earth.AlphaEarth(working_dir, study_area, start_date, end_date)[source]¶
Bases:
objectAlphaEarth Class:¶
Role: Download and manage AlphaEarth embedding bands for the basin.
This class facilitates the downloading and preprocessing of Alpha Earth satellite embedding datasets. It includes methods for checking existing data, downloading missing bands, and ensuring data integrity.
Key Methods: - get_alpha_earth: Downloads Alpha Earth satellite embeddings. It checks for existing bands and downloads only the missing ones. The data is saved in GeoTIFF format.
Dependencies: - Google Earth Engine (GEE) for data retrieval. - Geopandas for shapefile handling. - Geemap for GEE integration.
Usage:
alpha_earth = AlphaEarth( working_dir="/path/to/working_dir", study_area="/path/to/shapefile.shp", start_date="YYYY-MM-DD", end_date="YYYY-MM-DD", ) alpha_earth.get_alpha_earth()