NCAS-CMS / cf-python

A CF-compliant Earth Science data analysis library
http://ncas-cms.github.io/cf-python
MIT License
120 stars 19 forks source link

2D lat-lon coordinates calculation for CF-supported projections #628

Open sadielbartholomew opened 1 year ago

sadielbartholomew commented 1 year ago

Add, as a new feature, functionality which creates corresponding 2D latitude and longitude coordinates (as outputs) from 1D projection coordinates and coordinate reference parameters (as inputs), considering bounds if they are relevant.

This is a useful and important feature, above all, because regridding explicitly requires knowledge/input of the 2D lat-lon coordinates when considering fields with coordinates defined by a projection, even though they are superfluous and hence optional for projection cases, so the feature would allow us to support the full set of CF-supported projections in regridding operations.

Implementation plans and notes

Relevant standards and libraries

sadielbartholomew commented 1 year ago

(Details and plan outlined here as discussed and agreed externally with @davidhassell.)