This package will provide geospatial regridding/remapping functionality on xarray data objects
Geospatial gridded datasets (climate models, remote sensing images, etc.) frequency exist on dissimilar grids. Existing tools (CDO, NCL, NCO, ESMF, etc.) have addressed this with both stand-alone command line tools and python libraries. While existing python libraries have some of the desired functionality, they do not currently interface with xarray.
This is a list of requirements:
da.remap.remap_to([('lat', 0.5), ('lon', 0.75)], how='nearest'))
My original thought here would be to xarray’s accessor namespace on top of the
DataArray. In my examples above, this would be the
To be efficient, many of these regridding techniques will need to make use of a tree datastructure for multi-dimensional lookups. It would nice could be integrated a bit more deeply into xarray (e.g.,
Often it is useful to specify function signatures, class methods / attributes.
This lists tests that should be used to verify that the code is working correctly, especially with respect to meeting requirements. Ideally, this would be a list of unit tests demonstrating that requirements have been met.