specfem::io::NPZ

template<typename OpType>
class NPZ

NPZ I/O backend for compressed NumPy archive format.

Provides File, Group, and Dataset abstractions for .npz files (ZIP archives of .npy). Offers compact storage while maintaining NumPy compatibility.

Template Parameters:

OpType – Operation type (specfem::io::read or specfem::io::write)

Public Types

using IO_OpType = OpType

Operation type (read/write)

using File = impl::NPZ::File<OpType>

NPZ file implementation.

using Group = impl::NPZ::Group<OpType>

NPZ group implementation.

template<typename ViewType>
using Dataset = impl::NPZ::Dataset<ViewType, OpType>

NPZ dataset implementation