pangeo-data / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
183 stars 32 forks source link

add util to build tripolar grid #228

Closed raphaeldussin closed 1 year ago

raphaeldussin commented 1 year ago

PR #223 uses data files that are too big, this PR adds code to build a simple (simplistic?) tripolar grid for testing purposes only. PR #223 could then use this function to generate its own tests with synthetic data from a tripolar grid to a regular grid using some type of field (e.g. sin(lat) )

raphaeldussin commented 1 year ago

@huard @aulemahal this implements the simple_tripolar_grid function whose purpose you've already figured out. The remaining routines are copied from a GFDL package rather than adding a new dependency for very little code. This will help solve issues regarding testing with data from tripolar grids.

raphaeldussin commented 1 year ago

@aulemahal friendly reminder