v3.2.0
changed environment:
- scikit-learn >=1.0
>=0.23 - rasterio >=1.2.7,<1.3
>=1.2.7
new features:
- Warning class added. Allows creating warning maps from generic 2d-maps, or form Hazard or Impact objects.
- Set of lines and polygons util functions. Exposures with lines and/or polygons can be disaggregated to points, which can be used to compute impacts that can be reaggregated afterward.
updated features:
- Offline mode for API client enabled. Results from the CLIMADA data api can be cached and re-used later without internet connection.
minor changes:
- Most tutorials and guides have been overhauled and consolidated.
- Updated API wrapper functions: get clearer error messages when data doesn't exist and added method to get the standard centroids to create new hazards.
- If more than one dataset with equal data-type and name meet the requirements, the API client only fetches the newest version, unless
version='any'
is specified.