ScenarioArchiveZipper
Creates a single tar archive containing a scenario and its selected resources.
Archive format::
scenario_archive.tar
├── scenario_info.json # ScenarioArchivePackage
└── resources/
├── <resource_id_1>.tar # Individual resource tar (ResourceZipper format)
├── <resource_id_2>.tar
└── ...
Attributes
COMPRESS_FORMATS: dictFunctions
__init__
Initialize self. See help(type(self)) for accurate signature.
scenario_id :
str resource_mode :
str user :
User compress_format :
str - tar zip
Export the scenario and selected resources into a single tar archive.
Return type :
str unzip @classmethod
Extract a scenario archive and return its metadata and resource tar paths.
archive_path :
str Path to the scenario archive tar file.
Return type :
tuple