History & provenance tracking

cf_xarray will eventually provide functions that add a cell_methods attribute, and a history attribute, that plug in to xarray’s attribute tracking functionality.

Progress is blocked by a few pull requests:

  1. An Xarray pull request to pass “context” to a custom keep_attrs handler.

  2. Two cf_xarray pull requests that leverage the above: 1, 2


If this capability is of interest, contributions toward finishing the above Pull Requests are very welcome.