Skip to content

Releases: ClimateImpactLab/dscim

v0.6.0 2024-04-24

25 Apr 00:28
25dfb39
Compare
Choose a tag to compare

Added

  • Add an option for producing SCC ranges that account for only statistical uncertainty. (PR #143, @davidrzhdu)

Fixed

  • Fix concatenate_energy_damages netcdf saving functionality which was not clearing data encoding causing some coordinates to be truncated. (PR #229, @JMGilbert)
  • Fix tests broken by sorting update in pandas v2.2.1 ([PR #216] (#216), @JMGilbert)

v0.5.0 2023-11-17

18 Nov 06:18
653c62d
Compare
Choose a tag to compare

Added

  • Add naive list of package dependencies to pyproject.toml.(PR #123, @brews)
  • CI, coverage, DOI badges on README. (PR #134, @brews)

Changed

  • Dropped optional/unused dependencies click, dask-jobqueue, geopandas, gurobipy, ipywidgets, seaborn. (PR #99, @brews)
  • Switch build system from setuptools to hatchling. (PR #128, @brews)
  • Clean up unit test for dscim.utils.utils.c_equivalence. (PR #135, @brews)
  • Reformat gmst/gmsl pulse files by removing unnecessary dimensions and indices. (PR #169, @JMGilbert)

Fixed

  • Fix DeprecationWarning on import. (PR #128, @brews)
  • Fix write-to-copy warning in process_rff_sample(). (PR #116, @brews)
  • Fix exception from indexing with dask-backed boolean array and input climate Dataset attrs collision with xarray >= v2023.3.0. (PR #129, @brews)
  • Fix bad release header links in CHANGELOG.md. (PR #105, @brews)
  • Fixed broken code quality checks in CI. Now using ruff instead of flake8. (PR #107, @brews)
  • Minor code style cleanup. (PR #133, @brews)

[0.4.0] - 2023-07-06

06 Jul 20:34
701da3a
Compare
Choose a tag to compare

Added

Changed

  • Re-enable equity menu option tests. (PR #84, @JMGilbert)
  • Changed coastal_inputs function to work with new version of coastal outputs. (PR #75, @davidrzhdu)
  • Changed prep_mortality_damages function to work with new format mortality outputs. (PR #74 and PR #68, @JMGilbert)
  • Included US territories in damages and economic variable subsetting. (PR #78, @JMGilbert)
  • Changed format of eta_rhos to allow for multiple values of rho for the same eta. (PR #65, @JMGilbert)
  • Removed incomplete "time_trend" extrapolation option from dscim.utils.utils.model_outputs(), along with unused function arguments. This is a breaking change. (PR #53, @brews)

Removed

  • Removed clip_damage function in dscim/preprocessing/preprocessing.py. (PR #67, @JMGilbert)
  • Removed climate reformatting functions and files -- to be added back with climate file generation. (PR #67, @JMGilbert)
  • Remove diagnostics module. (PR #60, @JMGilbert)
  • Remove old/unnecessary files. (PR #57, @JMGilbert)
  • Remove unused “save_path” and “ec_cls” from read_energy_files_parallel(). (PR #56, @davidrzhdu)

Fixed

  • Make all input damages output files with correct chunksizes. (PR #83, @JMGilbert)
  • Add .load() to every loading of population data from EconVars. (PR #82, @davidrzhdu)
  • Make compute_ag_damages function correctly save outputs in float32. (PR #72 and PR #82, @davidrzhdu)
  • Make rff damage functions read in and save out in the proper filepath structure. (PR #79, @JMGilbert)
  • Enter the proper functional form of isoelastic utility when eta = 1. (PR #65, @JMGilbert)
  • Pin numpy version to stop tests failing. (PR #60, @JMGilbert)

[0.3.0] - 2022-09-29

29 Sep 22:00
1f9e606
Compare
Choose a tag to compare

Added

Changed

  • Removed unused “pulseyrs” and “global_cons” from convert_old_to_newformat_AR() and run_rff(). Note this is a breaking change. (PR #51, @davidrzhdu, @kemccusker)
  • Updated README with additional technical details. (PR #49, @brews)

Fixed

[0.2.1] - 2022-09-22

22 Sep 17:07
d49ea38
Compare
Choose a tag to compare

Fixed

[0.2.0] - 2022-09-16

16 Sep 17:10
f70f228
Compare
Choose a tag to compare

Changed

  • Remove mutable argument defaults to avoid gotchas. (PR #44, @brews)
  • Quiet unused, common, logging messages to terminal. (PR #14, @brews)

Fixed

  • Add missing self arg to global_consumption_calculation abstract method. (PR #43, @brews)

[0.1.0] - 2022-08-30

30 Aug 23:45
Compare
Choose a tag to compare
  • Initial release.