Implement proper argument parsing and cleanup and debug
Implement proper argument parsing and cleanup and debug

- This tool is growing, hence the need to use argparse.
- There were also a few outstanding bugs that have been fixed.

omad/datacube-experiments