Tools
gdptools
Keywords: area-weighted aggregation; gridded to vector data; subset
Domain: Climate; Domain Agnostic
Language: Python
Environment: Windows; Linux
Description:
This Python package can be used to aggregate gridded or polygon dataset to a target polygon dataset. The input gridded dataset can be any dataset that is readable by Xarray, and thus can handle multi-dimensional datasets, while the input target polygon dataset can be any vector dataset that is readable by Geopandas. An example of this is aggregating a CONUS404 gridded dataset spanning multiple timesteps to a polygon dataset representing the HUC8 basins covering an entire state. The outputs are a GeoDataframe of the polygon dataset and an Xarray DataSet containing the aggregations values for each polygon and timestep.
Linked Catalog Usecases: