XRegrid Examples Gallery¶
This gallery demonstrates the capabilities of XRegrid through practical, runnable examples leveraging standard xarray tutorial datasets.
Examples Overview¶
Basic Regridding¶
Standard rectilinear grid regridding using ERA-Interim data.
Conservative Regridding¶
Flux-conserving interpolation essential for preserving area-weighted integrals.
Curvilinear Grids¶
Regridding from curvilinear Arctic grids (RASM) to standard rectilinear grids.
Weather Data: Station to Grid¶
Regridding station-like point data to a regular 2D grid using nearest-neighbor methods.
Performance Optimization¶
Efficient workflows using weight reuse to speed up repeated regridding operations.
Accessor Showcase¶
Simplified workflows using the .regrid.to() xarray accessor.
Unstructured Grids¶
Regridding for MPAS and ICON style unstructured meshes.
Larger-than-Memory Data¶
Handling massive datasets using Dask and parallel weight generation.
ESMPy vs. XRegrid¶
A comparison of code complexity between raw ESMPy and the XRegrid API.