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_exposures
andget_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=False
in_get_litpop_single_polygon
) - litpop: minor improvements in readability and code efficiency, incl. better documentation
- litpop: method
LitPop().set_nightlights
is renamed toLitPop().set_nightlight_intensity
. - config: the
setup_logging
function was removed from the module, to change the logging level programmaticallyconfig.LOGGER.setLevel
can be used.
removed modules:
The following modules have been moved to CLIMADA-project/climada_petals:
climada,engine.supplychain
climada.entity.exposures.black_marble
climada.entity.exposures.crop_production
climada.entity.exposures.gdp_asset
climada.entity.exposures.open_street_map
climada.entity.exposures.spam_agrar
climada.entity.impact_funcs.drought
climada.entity.impact_funcs.relative_cropield
climada.entity.impact_funcs.river_flood
climada.hazard.drought
climada.hazard.emulator
climada.hazard.landslide
climada.hazard.low_flow
climada.hazard.relative_cropyield
climada.hazard.river_flood
climada.hazard.tc_rainfield
climada.hazard.tc_surge_bathtub
climada.hazard.tc_tracks_forecast
climada.hazard.wildfire