arrakis.cleanup
DANGER ZONE: Purge directories of un-needed FITS files.
Attributes
Functions
|
|
|
Command-line interface |
|
Clean up beam images flow |
|
Make a tarball of the cutouts directory |
|
Clean up beam images |
Module Contents
- arrakis.cleanup.main(datadir: pathlib.Path, overwrite: bool = False) None [source]
Clean up beam images flow
- Parameters:
datadir (Path) – Directory with sub dir ‘cutouts’
overwrite (bool) – Overwrite existing tarball
- arrakis.cleanup.make_cutout_tarball(cutdir: pathlib.Path, overwrite: bool = False) pathlib.Path [source]
Make a tarball of the cutouts directory
- Parameters:
cutdir (Path) – Directory containing cutouts
- Returns:
Path to the tarball
- Return type:
Path