Load a snapshot from various sources
load_snapshot.RdConveniently load an OSP snapshot from a local file, URL, or predefined template name.
Arguments
- source
Character string. Can be:
Path to a local file (.json)
URL to a remote snapshot file
Name of a template from the OSPSuite.BuildingBlockTemplates repository
- upgrade
Logical, default
FALSE. WhenTRUE, a below-floor snapshot (Version 74-78) is migrated up to the version the installed PK-Sim core emits via a round trip throughospsuite(slow, several minutes, and requires a compatible installed core). WhenFALSE, such a snapshot reports how to migrate and does not load. In-band snapshots (Version 79-81) are never migrated regardless of this argument.
Details
Available templates can be listed with osp_models().