Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype for provenance tracking mechanism #259

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

huard
Copy link

@huard huard commented Sep 3, 2021

This builds on @dcherian work to track history and cell_method and adds basic provenance tracking.
#228 (comment)

It's inspired by what metaclipR is doing.

Things to do:

  • xarray: grab more context information for function calls (dimension, arguments)
  • Add nodes for call arguments ds:Argument
  • Inference mechanism to detect relevant terms in an ontology. For instance, CMIP5 is defined, so when we find a project or project_id called CMIP5, we should try to refer to it instead of creating a new ds:Project entry as is done here.
  • Make sure the logic works when multiple functions are chained.
  • API to save (serialize) the graph in an external file when dataset is written to disk.

I'm hoping someone can take over for a while because I won't be able to invest a lot of time on this in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants