Expand description
xarray-compatible multi-dimensional labeled array I/O.
Provides XarrayDataArray and XarrayDataset mirroring the Python xarray
data model, together with CSV round-trip, VTK export, and array operations
such as resampling, time-averaging, and finite-difference gradients.
Structs§
- Xarray
Coordinate - A labeled coordinate axis.
- Xarray
Data Array - A labeled N-dimensional array (mirrors
xarray.DataArray). - Xarray
Dataset - A collection of
XarrayDataArrayvariables (mirrorsxarray.Dataset).
Functions§
- linear_
index - Compute the C-order (row-major) flat index from multi-dimensional indices.
- read_
csv_ xarray - Read a labeled CSV back into an
XarrayDataArray. - resample_
linear - Resample an array to a new shape using nearest-neighbour / linear interpolation.
- spatial_
gradient - Compute the finite-difference gradient of an array along dimension
dim. - time_
average - Average an array along dimension
time_dim. - write_
csv_ xarray - Write each variable in the dataset as a CSV file.
- xarray_
to_ vtk_ structured - Export a 3-D variable from a dataset as a VTK structured grid.