Module rok4_tools.make_layer
Functions
def main() ‑> None
-
Main function
Return 0 if success, 1 if an error occured
def parse() ‑> None
-
Parse call arguments and check values
Exit program if an error occured
def work() ‑> None
-
Load informations and write layer descriptor
If the directory option is provided, descriptor will be written in it, else it is print into standard output.
Raises
Exception
- name contains forbidden characters or used pyramids do not shared same parameters (format, tms…)
MissingEnvironmentError
- Missing object storage informations
StorageError
- Storage write issue