User API¶
Regridder¶
util¶
data¶
Standard test data for regridding benchmark.
- xesmf.data.wave_smooth(lon, lat)¶
Spherical harmonic with low frequency.
- Parameters:
- lon, lat2D numpy array or xarray DataArray
Longitute/Latitude of cell centers
- Returns:
- f2D numpy array or xarray DataArray depending on input
2D wave field
Notes
\[\begin{split}Y_2^2 = 2 + \cos^2(\\theta) \cos(2 \phi)\end{split}\]References
[1]Jones, P. W. (1999). First-and second-order conservative remapping schemes for grids in spherical coordinates. Monthly Weather Review, 127(9), 2204-2210.
[2]Ullrich, P. A., Lauritzen, P. H., & Jablonowski, C. (2009). Geometrically exact conservative remapping (GECoRe): regular latitude–longitude and cubed-sphere grids. Monthly Weather Review, 137(6), 1721-1741.