Module rok4_tools.pyrolyse
Functions
def load() ‑> None
-
Create Pyramid object from the descriptor's path
Raises
FormatError
- Provided path or the TMS is not a well formed JSON
Exception
- Level issue : no one in the pyramid or the used TMS, or level ID not defined in the TMS
MissingAttributeError
- Attribute is missing in the content
StorageError
- Storage read issue (pyramid descriptor or TMS)
MissingEnvironmentError
- Missing object storage informations or TMS root directory
def main() ‑> None
def parse() ‑> None
-
Parse call arguments and check values
Exit program if an error occured
Raises
Exception
- option –progress is used without –json
def work() ‑> None
-
Browse pyramid's list and memorize wanted informations
If tiles' statistics wanted, we keep only one non null tile size by slab. We don't consider size of slab link but the slab target one.
def write() ‑> None
-
Write the informations as JSON, in the standard output or a file