Releases: CLIMADA-project/climada_python
v2.0-beta
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.
v1.5.1
changed environment
Many external dependencies had to be updated or added, among others:
- numpy: 1.16 > 1.18
- pandas: 0.24 > 1.0
- gdal: 2.3 > 3.0
- matplotlib: 3.1 > 3.2
- rasterio: 1.0 > 1.1
- xarray: 0.12 > 0.13
- netcdf4: 1.4 >1.5
new features:
- module river_flood
- modules relative_cropyield and crop_potential, classes
RelativeCropyield(Hazard) andCropProduction(Exposure): assess climate impacts on agricultural crop yields (rice, maize, wheat, soy) based on global gridded crop model runs from the Inter-Sectoral Impact Model Intercomparison Project (ISIMIP), e.g. ISIMIP2b, combined with crop statistics from FAOSTAT. - module low_flow, class
LowFlow(hazard): assess climate change impacts on surface water discharge (river low flow) based on hydrological model runs from ISIMIP. - module climada.engine.impact_data: Functions to read reported impact data from The International Disaster Database EM-DAT and load into a CLIMADA Impact instance.
- class climada.entity.impact_funcs.trop_cyclone.IFSTropCyclone: regionally calibrated impact function set for TC wind (based on Eberenz et al., in review; c.f. climada_papers)
minor changes:
- module trop_cyclone :use statistical estimate as a fallback only if radius information is missing from the reported data
- module util.constants :add NATEARTH_CENTROIDS_150AS and NATEARTH_CENTROIDS_360AS datasets
- module util.coordinates : method get_country_code has mapping of disputed areas to values above 900
- module util.coordinates : new method
get_isimip_gridpoints() - class hazard.tc_tracks.TCTracks: new fields
boundsandextent, new methodsubset - class hazard.centroids.Centroids: new method
from_geodataframe(), new optional parameterextentinselect()
v1.5.0
changed environment
Many external dependencies had to be updated or added, among others:
- numpy: 1.16 > 1.19
- pandas: 0.24 > 1.0
- gdal: 2.3 > 3.0
- matplotlib: 3.1 > 3.2
- rasterio: 1.0 > 1.1
- xarray: 0.12 > 0.13
- netcdf4: 1.4 >1.5
new features:
- module river_flood
- modules relative_cropyield and crop_potential, classes
RelativeCropyield(Hazard) andCropProduction(Exposure): assess climate impacts on agricultural crop yields (rice, maize, wheat, soy) based on global gridded crop model runs from the Inter-Sectoral Impact Model Intercomparison Project (ISIMIP), e.g. ISIMIP2b, combined with crop statistics from FAOSTAT. - module low_flow, class
LowFlow(hazard): assess climate change impacts on surface water discharge (river low flow) based on hydrological model runs from ISIMIP. - module climada.engine.impact_data: Functions to read reported impact data from The International Disaster Database EM-DAT and load into a CLIMADA Impact instance.
- class climada.entity.impact_funcs.trop_cyclone.IFSTropCyclone: regionally calibrated impact function set for TC wind (based on Eberenz et al., in review; c.f. climada_papers)
minor changes:
- module trop_cyclone :use statistical estimate as a fallback only if radius information is missing from the reported data
- module util.constants :add NATEARTH_CENTROIDS_150AS and NATEARTH_CENTROIDS_360AS datasets
- module util.coordinates : method get_country_code has mapping of disputed areas to values above 900
- module util.coordinates : new method
get_isimip_gridpoints() - class hazard.tc_tracks.TCTracks: new fields
boundsandextent, new methodsubset - class hazard.centroids.Centroids: new method
from_geodataframe(), new optional parameterextentinselect()
lecture 2020
This version mainly fixes a bug in the readthedocs configuration which produced truncated source documentation.
Apart from that there are only minor changes.
climada.plot.geo_im_from_arrayhandles NAN in intensity data- the build status of the README page points to the now appropriate Jenkins pipeline.
lecture 2020
- storm_europe: new module
Provides models to calculate economic damages of European winter windstorms/extratropical cyclones. - util.finance.gdp: new feature
GDP data for the country TWN (Republic of China / Taiwan) is not provided by World Bank API usually called in climada.util.finance.gdp.
As a workaround, a new feature is provided to call util.finance.gdp(’TWN’) returning GDP data from another data source (International Monetary Fund, IMF).
The IMF data is not accessed via an API but from a static CSV-file available in the repository at data.system.GDP_TWN_IMF_WEO_data.csv.
The file contains current GDP data from 1980 to 2024 (GDP data are estimates/ projections after 2018).
Data Source:
https://www.imf.org/external/pubs/ft/weo/2019/02/weodata/index.aspx
More specifically:
https://www.imf.org/external/pubs/ft/weo/2019/02/weodata/weorept.aspx?sy=1980&ey=2024&scsm=1&ssd=1&sic=1&sort=country&ds=.&br=1&pr1.x=42&pr1.y=10&c=528&s=NGDPD%2CNGDP_D%2CNGDPDPC&grp=0&a=
lecture 2020
v1.4.0
correction for Windows
- remove import elevation module not available for Windows
new tropical cyclone features
- TCSurge for tropical cyclone surge approximation implemented.
- Climate change impacts on wind intensity and frequency in tropcical cyclones implemented.
- Combination of measures in cost benefit analysis implemented.
- Version used for cost benefit analysis explanatory paper.
raster handlers
- new Centroids class which supports raster and point data.
- Exposures can be set from raster data and can handle raster centroids.
documentation structure
- documentation: add contributors, data , configuration and introduction sections. update installation and tutorials section.
- tutorials: moved from script folder to doc folder
- LitPop: include new population data version v4.11
- unit tests: update according to update World Bank