v3.0.0
This is the first release of the core package after CLIMADA sources have been devided into climada_python (core) and climada_petals (extensions).
changed environment:
- cartopy>=0.18,<0.20.0
(>=0.18)
0.20 and higher are not accepted yet, because of their changes in the CRS objects. - rasterio>=1.1,<1.2.7
(>=1.1)
1.2.7 an higher are not accepted yet, also because of their changes in the CRS objects.
updated features:
- uncertainty_quantification: a complete rewriting of the module and its API. Now it can do uncertainty and sensitivity analysis for impact and cost benefit. All the data is stored in a data class with pandas dataframes attributes. Several plotting methods have been added. Saving and loading from hdf5 files has been added.
- impacts_funcs: added two easily modifiable generic impact functions (a step and a sigmoid function) which can be used for a broad range of hazards and resolutions.
- api_client: added convenience methods for creating CLIMADA objects from files accessible through the api,
get_hazard,get_exposuresandget_litpop,
and for collecting dataset information into data frames:into_datasets_df,into_files_df.
minor changes:
- litpop: fix of faulty shape handling for admin1 shapes with a hole (e.g. Brandenburg)
- litpop: remove parameter
reproject_first(and functionality forreproject_first=Falsein_get_litpop_single_polygon) - litpop: minor improvements in readability and code efficiency, incl. better documentation
- litpop: method
LitPop().set_nightlightsis renamed toLitPop().set_nightlight_intensity. - config: the
setup_loggingfunction was removed from the module, to change the logging level programmaticallyconfig.LOGGER.setLevelcan be used.
removed modules:
The following modules have been moved to CLIMADA-project/climada_petals:
climada,engine.supplychainclimada.entity.exposures.black_marbleclimada.entity.exposures.crop_productionclimada.entity.exposures.gdp_assetclimada.entity.exposures.open_street_mapclimada.entity.exposures.spam_agrarclimada.entity.impact_funcs.droughtclimada.entity.impact_funcs.relative_cropieldclimada.entity.impact_funcs.river_floodclimada.hazard.droughtclimada.hazard.emulatorclimada.hazard.landslideclimada.hazard.low_flowclimada.hazard.relative_cropyieldclimada.hazard.river_floodclimada.hazard.tc_rainfieldclimada.hazard.tc_surge_bathtubclimada.hazard.tc_tracks_forecastclimada.hazard.wildfire