pymovements.Dataset.extract#
- Dataset.extract(*, remove_finished: bool = False, remove_top_level: bool = True, resume: bool = True, verbose: int = 1) Dataset [source]#
Extract downloaded dataset archive files.
- Parameters:
remove_finished (bool) – Remove archive files after extraction. (default: False)
remove_top_level (bool) – If
True
, remove the top-level directory if it has only one child. (default: True)resume (bool) – Resume previous extraction by skipping existing files. Checks for correct size of existing files but not integrity. (default: True)
verbose (int) – Verbosity levels: (1) Print messages for extracting each dataset resource without printing messages for recursive archives. (2) Print additional messages for each recursive archive extract. (default: 1)
- Returns:
Returns self, useful for method cascading.
- Return type: