seismopy / mopy

A python package to calculate seismic source parameters
11 stars 1 forks source link

Design Provenance record-keeping #9

Open d-chambers opened 5 years ago

d-chambers commented 5 years ago

We need to make sure the provenance tracking system works well enough to enable fine-grained experimentation. In particular it should:

  1. Log any methods calls on the mopy objects which change the data in any of the dataframes. It should also store the method parameters, perhaps unless they are too large (eg if a big array was one of the input params).

  2. Distinguish between the object types when their methods were called (eg the methods applied on StatsGroup should propagate all the way to SpectrumGroup)

  3. (tentative) Also include the processing information from Traces.

Right now it is very simple and essentially mimics the processing tracking on the Trace object. If we need something more complex, there are some systems out there we may be able to use or take inspiration from like seisprov.