Added
- Documentation pages added using mkdocs (PR #254, @JMGilbert)
- Added discounting option
constant_gwr, which applies discounting across SSPs (PR #405, @JMGilbert).
Changed
- The function signature for
calculate_labor_batch_damages()insrc/dscim/preprocessing/input_damages.pywas updated to include additional args with default values that allow the labor SCC application to run without modifyingdscimcode in the future. This is backwards compatible. (PR #415, @JMGilbert). - Python version for running automated tests in CI upgraded from Python 3.10 to 3.12 (PR #270, @brews).
Fixed
- Fixed how quantile regression SCCs (
quantreg) are calculated by allowing for the full cloud of damage points in the damage function fit stage (previously thebatchdimension was incorrectly reduced before damage function fit even ifquantreg=True) (PR #405, @JMGilbert). - Minor code cleanup. Switch old %-string formatting to use f-strings (PR #351, @brews).
- Pin
numcodecspackage to 0.15.1 to fix automated tests in CI. This works withzarr < 3. (PR #406, @JMGilbert). - Pin
statsmodelsto 0.14.5 to fix automated tests in CI. (PR #429, @C1587S).
Removed
- Removed
preprocessing/climateandpreprocessing/miscsubpackages. (PR #249, @JMGilbert)- The modules in these subpackages referenced hard coded filepaths and were used for old versions of climate files and inputs that are now properly formatted by default
- Removed
utils/generate_yamlandutils/plotting_utilsmodules. (PR #249, @JMGilbert)generate_yamlseems to have been designed for an old version ofdscim-epaand that functionality has now been transferred to thescripts/directory_setup.pyscript in thedscim-epaanddscim-facts-eparepositoriesplotting utilswas only in use for a single diagnostic and was transferred to the script that generated that diagnostic
- Removed
midprocessingupdate_damage_function_libraryandutilsconstant_equivalent_discount_rate,calculate_constant_equivalent_discount_rate, andget_model_weightsfunctions. (PR #249, @JMGilbert)update_damage_function_librarywas previously used to move files prior to the functionality that directly saved files into the appropriate locationconstant_equivalent_discount_rateandcalculate_constant_equivalent_discount_rateare used for integration paper tables, and have been transferred to the appropriate scriptsget_model_weightsis used for a few diagnostics and has been transferred to the appropriate scripts
New Contributors
Full Changelog: v0.6.0...v0.7.0