Skip to content

v2.13.0

Choose a tag to compare

@Nkzono99 Nkzono99 released this 11 Apr 13:33
· 35 commits to main since this release

GridDataSeries のスライスをデフォルトで遅延評価するようになりました。data.phisp[:] で巨大な 4 次元配列を即座にメモリへ読み込む必要がなくなり、時間方向の部分読み出しや gifplot などの処理がそのままで軽量に動きます。

Highlights

  • data.phisp[:] がデフォルトで遅延選択 (GridDataSelection) を返すようになり、4 次元全体をロードせずに任意の時空間スライス・gifplot が実行可能に (28532fe)
  • 既存コードは __getattr__ フォールバックで互換動作するため、原則として書き換え不要

New Features

  • Add GridDataSelection lazy 4-D selector; GridDataSeries.__getitem__ now returns it by default and only materialises when the result is 3-D or smaller (28532fe)
  • Add GridDataSeries.lazy / GridDataSelection.select_space for explicit staged indexing (28532fe)
  • Add GridDataSelection.gifplot so 4-D animations stream frames from HDF5 instead of allocating the whole cube (28532fe)

Changes

  • series[:] now returns GridDataSelection instead of an eagerly materialised Data4d. Attribute access, numpy ufuncs, and iteration still transparently materialise on demand, so existing code keeps working (28532fe)

Full Changelog: v2.12.0...v2.13.0