Introducing yt xarray
summary
yt_xarray is an xarray accessor that exposes a ds.yt accessor and a load_grid returns a full yt Dataset call that links xarray arrays to yt without up-front copies when possible. It supports uniform grids with delayed chunked reads, stretched grids that currently interpolate to cell centers (in-memory required), and per-grid chunk-by-chunk interpolation using SciPy functions. Dask chunk alignment and multi-stretched-grid yt features remain unimplemented; basic plotting (slices, phase plots, volume renders) already works.
AI-written summary · about
