Skip to content

v2.0-beta

Pre-release
Pre-release

Choose a tag to compare

@emanuel-schmid emanuel-schmid released this 11 Mar 18:50
· 2484 commits to main since this release

With this release the increasing difficulties to set up a valid conda environment should be addressed. It is expected that this release has issues and hoped that they can be identified and addressed soon.

changed environment:

  • geopandas version up to 0.8 compatible
  • conda-forge is first choice channel now, because there were several issues with the default channel

major changes:

  • climada.entity.exposures.Exposures restructured, unshackled from GeoDataFrame inheritance, uses composition instead.
  • The GeoDataFrame data is now a property of the Exposures object: exposure.gdf.
  • The default crs, climada.util.constants.DEF_CRS is now 'EPSG:4326'. It used to be {'init': 'EPSG:4326'}.
  • The changed default format is now correctly interpreted by the CRS.from_user_input method of both packages, rasterio and pyproj.
  • The crs format {'init': '[source]:[id]'} is not generally accepted anymore. In certain cases the crs have to be redefined to be compatible with climada 2.x.