Skip to content

v3.2.0

Compare
Choose a tag to compare
@emanuel-schmid emanuel-schmid released this 07 Jul 14:57
· 508 commits to main since this release

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.