-
Can xESMF regrid data onto another grid with another projection map. For example: latlon square grid onto a LAEA grid? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The answer is yes, but a nuance might help : xESMF (well ESMF really) does regridding, not reprojecting. As long as you have the latitude and longitude coordinates for your input and output grids, xESMF can do it. But, it does not provide tools to compute those coordinates. I guess you could generate the LAEA grid you want, then use something like |
Beta Was this translation helpful? Give feedback.
The answer is yes, but a nuance might help : xESMF (well ESMF really) does regridding, not reprojecting. As long as you have the latitude and longitude coordinates for your input and output grids, xESMF can do it. But, it does not provide tools to compute those coordinates.
I guess you could generate the LAEA grid you want, then use something like
cartopy
(or directlypyproj
) to get the lat/lon (PlateCarree
) version of the coordinates and pass that to xESMF.