Skip to content

Releases: open-atmos/PySDM

PySDM v2.38

13 Jan 19:21
a14b15f
Compare
Choose a tag to compare

What's Changed

  • Graf et al. 2019 Fig 4 example draft (parcel, condensation, isotopes) including the move of reusable notebook_vars() into PySDM_examples/utils by @bhiogade in #1222
  • fixing whitespace issue (pre-commit) that preveted pypi upload of the previous release by @slayoo in #1232

Full Changelog: v2.37...v2.37.1

PySDM v2.37

13 Jan 12:48
ccf178c
Compare
Choose a tag to compare

What's Changed

  • link to tutorials within README.md; fix badge urls; fix mybinder init logic (.binder/postBuild script that now deletes everything but examples and tutorials folders) by @bhiogade in #1228
  • Add a test that checks parcel equilibrium supersaturation does not depend on dz by @claresinger in #1225

Full Changelog: v2.36...v2.37

PySDM v2.36

10 Jan 21:01
e0fdb11
Compare
Choose a tag to compare

What's Changed

  • introducing PySDM tutorials with first two based on collision and condensation classroom notebooks by @claresinger in #1164

Full Changelog: v2.35...v2.36

PySDM v2.35

09 Jan 13:12
bc9483e
Compare
Choose a tag to compare

What's Changed

  • add render-on-github badge to Kreidenweis example notebook by @bhiogade in #1210
  • clarify notebook execution commands by @slayoo in #1211
  • replace nbviewer badge with render-on-github for Merlivat & Nief 1967 example by @bhiogade in #1213
  • update package metadata (urls changes reflecting the move of PySDM-examples into the PySDM repo) by @bhiogade in #1215
  • Add render-on-github badge and fix my binder link by @bhiogade in #1214
  • improve SimpleGeometric kernel docstring by @bhiogade in #1223

New Contributors

Full Changelog: v2.34...v2.35

PySDM v2.34

24 Dec 23:03
9c36aef
Compare
Choose a tag to compare

What's Changed

  • stable water isotopologues:

    • new base attributes: Moles1H, Moles16O, MolesLightWater + havy isotopes via make_mole_amount_factory (previously developed for Hoppel gap)
    • new derived attributes: isotopic deltas (via new make_delta_factory)
    • backend isotope methods: isotopic_delta via physics.trivia (both CPU and GPU)
    • sketch of IsotopicFractionation dynamic (attribite dependencies, trigerring delta calculation)
    • VSMOW constants
    • isotope-related physics formulae:
      • isotope_equilibrium_fractionation_factors: BarkanAndLuz2005 (Oxygen 17, liquid), HoritaAndWesolowski1994 (Oxygen 18 and Deuterium, liquid), Majoube1970 (Oxygen 18, ice), Majoube1971 (Oxygen 18, liquid), MerlivatAndNief1967 (Deuterium, liquid & ice), VanHook1968 (D, T, O18, O17; liquid & ice)
      • isotope_meteoric_water_line_excess: Dansgaard1964 (Oxygen 18 vs. Deuterium), BarkanAndLuz2007 (Oxygen 17 vs. Oxygen 18); Craig 1961 Fig 1 and Barkan & Luz 2007 Fig 4 unit tests
      • isotope_ratio_evolution: MerlivatAndJouzel1979 (differential), RayleighDistillation (integral) + test checking when these two match
    • trivia formulae: isotopic_delta_2_ratio, isotopic_ratio_2_delta, isotopic_enrichment_to_delta_SMOW, mixing_ratio_to_specific_content
    • new examples (all environment-free, depicting formulae):
      • Bolot_et_al_2013: Fig 1 (incl. unit tests)
      • Merlivat_and_Nief_1967: Fig 2 (incl. unit tests)
      • Pierchala_et_al_2022: Fig 3 & 4 (incl. smoke tests)
      • Van_Hook_1968: Fig 1
  • formulae machinery:

    • constants_defaults: all calculations logic moved to compute_derived_values function called from Formulae ctor
    • PPM, PER_CENT, PER_MEG, PER_MILLE
    • dry-air molar mass derived from NIST N2, O2, Ar and C composition ratios
    • water molar mass derived from VSMOW isotopic ratios
  • CI:

    • run git diff on pre-commit jpb failure
    • bump pypartmc from 1.0.0 to 1.0.1 by @dependabot in #1204
    • cleanup precommit workflow (#1205)

Full Changelog: v2.33...v2.34

PySDM v2.33

08 Dec 07:02
b24cc6e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.32...v2.33

PySDM v2.32

07 Dec 01:11
edb6ea7
Compare
Choose a tag to compare

What's Changed

  • Bump pypartmc from 0.6.4 to 0.7.1 by @dependabot in #1186
  • sort out pkg_resources deprecation using importlib.metadata (requires Python 3.8) by @slayoo in #1194
  • split packaging and publishing into separate jobs; enforce setuptools[-scm] versions that work by @slayoo in #1199

Full Changelog: v2.31...v2.32

PySDM v2.31

07 Nov 09:11
a14b680
Compare
Choose a tag to compare
  • added argument-range checks for GunnKinzer1949 interpolation of terminal velocities (thanks @bradybhalla for reporting and identifying the issue, thanks @abulenok for providing the fix)
  • failing Particulator instantiation if user supplies values for a derived attribute
  • simplifcations/cleanups in dry_volume & acidity attributes code
  • disabling multi-threading on arm64 until we have a fix for atomic operations (thanks @jtbuch and @pb475 for reporting the problem and help with debugging it!)

PySDM v2.30

17 Oct 07:43
10a05b1
Compare
Choose a tag to compare
  • mass instead of volume as base attribute (incl. introduction of physics.particle_shape_and_density) #1147
  • new cases for test_attribute_update_single_breakup (#1158)
  • compatibility fixes for newer versions of setuptools_scm
  • docstring cleanups

thanks @abulenok, @AgnieszkaMakulska & @Delcior

PySDM v2.29

29 Sep 12:43
082de09
Compare
Choose a tag to compare
  • added CPU vs. GPU performance comparison for the Srivastava_1978 setup
  • removed spurious index copying in attributes