v2.13.0
GridDataSeries のスライスをデフォルトで遅延評価するようになりました。data.phisp[:] で巨大な 4 次元配列を即座にメモリへ読み込む必要がなくなり、時間方向の部分読み出しや gifplot などの処理がそのままで軽量に動きます。
Highlights
data.phisp[:]がデフォルトで遅延選択 (GridDataSelection) を返すようになり、4 次元全体をロードせずに任意の時空間スライス・gifplotが実行可能に (28532fe)- 既存コードは
__getattr__フォールバックで互換動作するため、原則として書き換え不要
New Features
- Add
GridDataSelectionlazy 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_spacefor explicit staged indexing (28532fe) - Add
GridDataSelection.gifplotso 4-D animations stream frames from HDF5 instead of allocating the whole cube (28532fe)
Changes
series[:]now returnsGridDataSelectioninstead of an eagerly materialisedData4d. 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