Skip to content

v1.9.1

Choose a tag to compare

@jeandet jeandet released this 06 Oct 11:13
· 266 commits to main since this release

Bug fixes

  • SpeasyVariable.clamp_with_nan() works on multi-component variables (e.g. amda/imf) instead of
    raising IndexError, and clamps each value on its own. A per-component VALIDMIN/VALIDMAX is
    applied per column, and an explicit valid_min=0 or valid_max=0 is no longer ignored.

  • SpeasyVariable.sanitized() no longer ignores an explicit valid_min=0 or valid_max=0, accepts
    per-component bounds as arrays, and filters with a single bound when only VALIDMIN or VALIDMAX is set.

  • A zero-lifetime cache entry is expired immediately by @jeandet in #397

  • Fix clamp_with_nan on multi-component variables by @Beforerr in #396