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.
ESMPy vs. XRegrid¶
A comparison of code complexity between raw ESMPy and the XRegrid API.