GEOS-ESM / GMAOpyobs

GMAO pyobs
Apache License 2.0
4 stars 1 forks source link

Pure python Cubed Sphere binning #59

Open amdasilva opened 2 months ago

amdasilva commented 2 months ago

Background

As we move toward QFED 4, there is a need for efficient binning of observations directly on the cubed sphere grid. For enhanced portability, it would be useful to have this implementation in pure python.

High Level Assumptions and Requirements

  1. Assume there exists netcdf files with the cubed sphere coordinates for each face.
  2. Given a list of coordinates (non,lat), come up with indices (i,j,face) on the cubed sphere grid.
  3. Provide efficient, vectorized, dining algorithm.

@amdasilva will provide API design on feature branch associated with this issue, and simple implementation of 3). @weiyuan-jiang will implement 2) and write tests.