Skip to content

Releases: LDEO-CREW/Pythonic-DISORT

v1.4

21 Jan 03:30
b8942e7

Choose a tag to compare

Hotfix for is_antiderivative_wrt_tau functionality. Otherwise same as v1.3.

What's Changed

Full Changelog: v1.3...v1.4

v1.3

21 Jan 00:21

Choose a tag to compare

Major optimizations in almost every part of the code.

For users, the only function change is that cache_BDRF_Fourier_modes(N, mu0, BDRF_Fourier_modes) has been changed to cache_BDRF_Fourier_modes(N, BDRF_Fourier_modes, mu0=0), i.e. cache_BDRF_Fourier_modes can now cache with respect to a fixed number of streams or w.r.t. both a fixed number of streams and a fixed $\mu_0$.

What's Changed

  • Bump actions/download-artifact from 4.1.9 to 5.0.0 by @dependabot[bot] in #34
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #35
  • Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #36
  • Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 by @dependabot[bot] in #37

Full Changelog: v1.2...v1.3

v1.2

22 Jul 16:57

Choose a tag to compare

  • pydisort now internally enforces Kirchoff's law of thermal radiation for the isotropic internal source (its emissivity is set to 1 - omega_arr). Consequently, emissivity no longer needs to be factored into s_poly_coeffs and subroutines.generate_s_poly_coeffs has been changed accordingly.
  • Streamlined code in PythonicDISORT. This should not cause any noticeable change in functionality or performance.

Full Changelog: v1.1...v1.2

v1.1

30 Apr 18:17

Choose a tag to compare

  • Fixed bug wherein having a layer with no scattering inbetween two scattering layers will cause miscalculations
  • Implemented zeroing of tiny single-scattering albedo $\omega$ values or tiny Legendre coefficients -- it will still be better for users to zero such values themselves
  • General improvements to documentation including a new warning that using an excessive number of streams $\text{NQuad} \gtrsim 300$ will cause some quadrature angles to be extremely glancing ($\mu \sim 0$) and the computed intensity at those angles may be inaccurate

Full Changelog: v1.0.3...v1.1

v1.0.3

21 Mar 15:08

Choose a tag to compare

What's Changed

  • Upgraded the BDRF_Fourier_modes argument in pydisort such that the list can now contain functions and scalars
  • Upgraded subroutines.cache_BDRF_Fourier_modes and updated documentation accordingly
  • Bump actions/download-artifact from 4.1.8 to 4.1.9 by @dependabot in #31
  • Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.4 by @dependabot in #30

Full Changelog: v1.0.1...v1.0.3 (v1.0.2 skipped)

v1.0.1

03 Mar 05:44

Choose a tag to compare

The restriction on the phase function Legendre coefficients Leg_coeffs_all is corrected from $[0, 1]$ to $[-1, 1]$.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

24 Jan 04:47

Choose a tag to compare

v1.0.0 is finally out! We added subroutines to facilitate the modeling of longwave radiative transfer. In addition, we implemented almost all of DISORT's longwave radiative transfer tests (tests 6 and 7 in particular) and tested PythonicDISORT on the anisotropic Hapke BDRF.

We are now confident that PythonicDISORT matches DISORT in functionality.

Full Changelog: v0.9.5...v1.0.0

v0.9.5

08 Nov 00:41

Choose a tag to compare

What's Changed

  • Fixed bug in computing the antiderivative of u0
  • Improved PythonicDISORT.subroutines.interpolate such that it can now interpolate u0
  • Changed the default of use_banded_solver_NLayers from 13 to 10 (the associated git commit message states "10 to 13" but that is a typo)
  • Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3 by @dependabot in #22
  • Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 by @dependabot in #27

Full Changelog: v0.9.3...v0.9.5 (v0.9.4 skipped)

v0.9.3

13 Oct 23:36

Choose a tag to compare

v0.9.3 is identical to v0.9.2 except that two sets of values that were used for debugging are no longer being returned.

Full Changelog: v0.9.2...v0.9.3

v0.9.2

13 Oct 20:18

Choose a tag to compare

  • Fixed bug in direct beam multilayer solver.
  • Changed assert-based input checks to if-statements that raise ValueError.
  • Added return_tau_arr argument to every output function (tau is the optical depth and tau_arr demarcates the layers in the atmosphere)
  • Improved and corrected documentation.
  • Added explanatory preamble to each PyTest.

Full Changelog: v0.9.1...v0.9.2