oggm.utils.base_dir_to_tar#

oggm.utils.base_dir_to_tar(base_dir=None, delete=True)[source]#

Merge the directories into 1000 bundles as tar files.

The tar file is located at the same location of the original directory.

Parameters
base_dirstr

path to the basedir to parse (defaults to the working directory)

to_base_dirstr

path to the basedir where to write the directory (defaults to the same location of the original directory)

deletebool

delete the original directory tars afterwards (default)