Changelog
Contents
Changelog#
v3.3.2#
Release date: 2023-03-02
Dependency Updates#
Removed:
pybufrkit#662
v3.3.1#
Release date: 2023-02-27
Description#
Patch-relaese with altered base config file so that the basic installation test passes.
Changed#
The base config file
climada/conf/climada.confhas an entry forCONFIG.hazard.test_data.
v3.3.0#
Release date: 2023-02-17
Code freeze date: 2023-02-05
Description#
Dependency Changes#
new:
sparse (>=0.13) for #578
updated:
python 3.9 - python 3.8 will still work, but python 3.9 is now the default version for installing climada (#614)
contextily >=1.0 (no longer restricted to <1.2 as
contextily.sourceshas been replaced in #517)cartopy >=0.20.0,<0.20.3 (>=0.20.3 has an issue with geographic crs in plots)
matplotlib >=3.2,<3.6 (3.6 depends on cartopy 0.21)
Added#
climada.hazard.Hazard.from_xarray_raster(_file)class methods for readingHazardobjects from anxarray.Dataset, or from a file that can be read byxarray. #507, #589, #652.climada.engine.impact.Impactobjects have new methodsfrom_hdf5andwrite_hdf5for reading their data from, and writing it to, H5 files #606climada.engine.impact.Impactobjects has a new class methodconcatfor concatenation of impacts based on the same exposures #529.climada.engine.impact_calc: this module was separated fromclimada.engine.impactand contains the code that dealing with impact calculation while the latter focuses on impact data #560.The classes
Hazard,ImpactandImpactFreqCurvehave a novel attributefrequency_unit. Before it was implicitly set to annual, now it can be specified and accordingly displayed in plots. #532.CONTRIBUTING.md #518.
Changelog based on the CLIMADA release overview and https://keepachangelog.com template #626.
Changed#
The
Impactcalculation underwent a major refactoring. Now the suggested way to run an impact calculation is byclimada.engine.impact_calc.ImpactCalc.impact(). #436, #527.Addition of uncertainty helper methods variables: list of hazard, list of impact function sets, and hazard fraction. This allows to pre-compute hazards or impact function sets from different sources from which one can then sample uniformly. #513
Full initialization of most Climada objects is now possible (and suggested!) in one step, by simply calling the constructor with all arguments required for coherently filling the object with data: #560, #553, #550, #564, #563, #565, #573, #569, #570, #574, #559, #571, #549, #567, #568, #562.
It is possible now to set the
fractionof aHazardobject toNonewhich will have the same effect as if it were1everywhere. This saves a lot of memory and calculation time, #541.The online documentation has been completely overhauled: #597, #600, #609, #620, #615, #617, #622, #656.
Updated installation instructions #644
Fixed#
Deprecated#
climada.enginge.impact.Impact.calc()andclimada.enginge.impact.Impact.calc_impact_yearset()#436.