ingest_graph¶
- lsst.pipe.base.quantum_graph.ingest_graph.ingest_graph(butler_config: str | Config, uri: str | ParseResult | ResourcePath | Path | None = None, *, transfer: str | None = 'move', batch_size: int = 10000, output_run: str | None = None) None¶
Ingest a provenance graph into a butler repository.
- Parameters:
- butler_config
str Path or alias for the butler repository, or a butler repository config object.
- uriconvertible to
lsst.resources.ResourcePathorNone, optional Location of the provenance quantum graph to ingest.
Noneindicates that the quantum graph has already been ingested, but other ingests and/or deletions failed and need to be resumed.- batch_size
int, optional Number of datasets to process in each transaction.
- output_run
str, optional Output
RUNcollection name. Only needs to be provided ifuriisNone. If it is provided the output run in the graph is checked against it.
- butler_config
Notes
After this operation, no further processing may be done in the
RUNcollection.If this process is interrupted, it can pick up where it left off if run again (at the cost of some duplicate work to figure out how much progress it had made).