2.5.1.3. pycsamt.metadata.provenance#
Reusable provenance metadata for electromagnetic data products.
Classes
|
Describe creation and stewardship of a scientific data product. |
- class pycsamt.metadata.provenance.ProvenanceMeta(create_time=None, creating_application=None, creator=None, submitter=None, extra=<factory>)[source]
Bases:
PyCSAMTObjectDescribe creation and stewardship of a scientific data product.
This object is deliberately independent of EDI and XML syntax. It maps naturally to EMTF provenance fields while remaining reusable by future formats and airborne data products.
- Parameters:
create_time (datetime or str, optional) – Product creation time. Strings are preserved verbatim so historical metadata can be retained without inventing a timezone or precision.
creating_application (str, optional) – Application that created the data product.
creator (Person, optional) – Original creator and person responsible for submission/archiving.
submitter (Person, optional) – Original creator and person responsible for submission/archiving.
extra (dict) – Unmodelled provenance fields retained losslessly in memory.
- validate()[source]
Validate object state.
Subclasses can override this hook. The base implementation intentionally accepts all states.
- Return type:
None