Maintain Simulation Metadata¶
This module implements persistent metadata, e.g. for simulations.
The metadata is stored as a folder containing .json files.
- class postcactus.metadatafolder.MetaDataFolder(path, name='metadata')¶
Class maintaining persistent metadata as attributes.
Each attribute is mapped to a json file in a given folder.
Opens or creates a metadata folder.
- Parameters
path – Parent directory.
name – Name of the metadata folder.