Skip to content

Make command-line batch processing easier by adding new entry point scripts #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

tsgolden
Copy link

GUTILS already has a process_folder function that can be used interactively to process an entire folder from binary through to ASCII and NetCDF. This is useful, but it's not accessible as a command-line executable. And no equivalent exists for running the IOOS compliance checker against a folder of NetCDF files, interactively or otherwise.

This PR makes it possible to easily process an entire folder of binary glider data and also run it through the IOOS compliance checker. It does this by defining two new entry point scripts:

  • gutils_process_folder
  • gutils_check_folder

For example, to process an entire glider deployment, assuming you already have GUTILS installed, you could simply run:

gutils_process_folder /path/to/deployment --workers 4 --log_level INFO

These entry point scripts should be generally useful, but were particularly designed to enable containerized batch processing of delayed-mode glider data, for which they should be especially useful.

Because GUTILS hadn't been updated in a while, this PR also makes a couple tweaks to the Dockerfile and CI config in order to get everything working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants