Log and make calculations reproducible

Create issue
Issue #17 new
Chris Mutel repo owner created an issue

Logging framework gist here.

Need new input argument for all LCA classes: logpath. This can be either a filepath or a directory (in which case, a log filename is generated). We then need to log the following:

  • Filepaths of all processed arrays for each matrix
  • Hash of each processed array. This is fast, ~one millionth of a second per array.
  • Functional unit
  • Seed value for RNGs if Monte Carlo

Brightway2-data will be updated to include a new datastore for these logfiles, and utility functions to read the logs and construct the necessary arguments to reproduce the calculations.

Comments (2)

  1. Log in to comment