Skip to content

clima v0.7.3

Choose a tag to compare

@Nicholaswogan Nicholaswogan released this 21 Feb 20:33
· 10 commits to main since this release

Changes since v0.7.2

Highlights

  • Refined AdiabatClimate RCE stage-control flow with explicit mode progression logic.
  • Added optional require_mode2 control (exposed to Python) to force a mode-2 pass after mode-1 convergence before optional mode-3 polishing.
  • Reduced redundant nonlinear solves in RCE by skipping solve calls when only mode transitions are required (perform_solve flow).
  • Improved RCE iteration logging to print iteration + mode each loop.

Adiabat / RCE

  • Reworked outer-loop mode transition handling in src/adiabat/clima_adiabat_solve.f90.
  • Added and documented require_mode2 in AdiabatClimate (src/adiabat/clima_adiabat.f90).
  • Added C/Fortran/Cython wrappers for require_mode2:
    • clima/fortran/AdiabatClimate.f90
    • clima/cython/AdiabatClimate_pxd.pxd
    • clima/cython/AdiabatClimate.pyx

make_column consistency

  • Removed standalone make_column from clima_adiabat_general and unified behavior through AdiabatClimate_make_column, which now routes through self%make_profile(...) so altitude/column handling is consistent with the unified altitude scheme.

Documentation / API notes

  • Clarified that N_surface and N_ocean are strictly consistent when reference_pressure <= 0 (i.e. when planet_radius is defined at P_surf).

Compatibility notes

  • Existing scripts should remain compatible; new require_mode2 option is additive.
  • RCE loop internals changed, so iteration-by-iteration logs may differ slightly even when final converged states are unchanged.

Full Changelog: v0.7.2...v0.7.3