hydromodpy.results.export.rocrate#
RO-Crate v1.1 metadata generator (https://www.researchobject.org/ro-crate/1.1/).
Emits a JSON-LD ro-crate-metadata.json describing one simulation,
including its inputs, outputs, lockfile, solver binary fingerprint and
license. The embedded PROV-O CreateAction is produced by
hydromodpy.results.export.prov, so the same payload can be re-used
when serialised on its own.
The generated graph stays self-contained: every hasPart / object /
result reference resolves to a sibling entity in the same @graph.
Functions
|
Return the RO-Crate JSON-LD payload as a plain |
|
Parse a serialised RO-Crate string back to a dict (test helper). |
|
Render the RO-Crate for sim_id and write it to output_path. |
|
Write the RO-Crate alongside an |