{"id":26055956,"url":"https://github.com/ncar/mlso-utilities","last_synced_at":"2026-02-15T15:46:47.647Z","repository":{"id":47402986,"uuid":"60191455","full_name":"NCAR/mlso-utilities","owner":"NCAR","description":"Utilities for handling MLSO data and systems","archived":false,"fork":false,"pushed_at":"2025-03-10T21:15:52.000Z","size":114,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T01:20:30.463Z","etag":null,"topics":["hao","mlso"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NCAR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-01T16:01:06.000Z","updated_at":"2025-03-10T21:15:55.000Z","dependencies_parsed_at":"2023-01-29T22:30:49.964Z","dependency_job_id":"7f057c1d-21c7-4a7d-a7b6-f7f57cbddce2","html_url":"https://github.com/NCAR/mlso-utilities","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fmlso-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fmlso-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fmlso-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NCAR%2Fmlso-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NCAR","download_url":"https://codeload.github.com/NCAR/mlso-utilities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248334349,"owners_count":21086377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hao","mlso"],"created_at":"2025-03-08T10:25:48.138Z","updated_at":"2026-02-15T15:46:42.618Z","avatar_url":"https://github.com/NCAR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internal general purpose utilities for MLSO operations\n\n#### find_noncordyn_files.sh\n\nScript for finding files in a directory hierarchy that are not in the `cordyn` group or don't have the given (optional) permissions.\n\n    syntax: ./find_noncordyn_files.sh rootdir [r][w][x]\n\nFor example, to find files that are not `cordyn` group in `/hao/acos/sw/sbin` or are `cordyn` group, but aren't group readable, do:\n\n    $ VERBOSE=1 ./find_noncordyn_files.sh /hao/acos/sw/sbin r\n    /hao/acos/sw/sbin/GetTicket\n    /hao/acos/sw/sbin/GetTicket.new\n    /hao/acos/sw/sbin/backup-databases.sh\n    /hao/acos/sw/sbin/pspt_web\n    Searched for files that were not group cordyn or without g+r set\n\n\n#### fix_noncordyn_files.sh\n\nScript for changing, in a directory hierarchy:\n\n  1. all files to `cordyn` group with group read/write permissions\n  2. all directories to `cordyn` group with executable permissions\n\n    syntax: ./fix_noncordyn_files.sh rootdir\n\n\n#### hpss\n\nScript for generating reports of HPSS usage.\n\n    usage: hpss [-h] [-p PREFIX] [-f] [-k] [-s SMALL_FILES_MAX] [root [root ...]]\n\n    HPSS file size utility\n\n    positional arguments:\n      root                  HPSS root directory\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -p PREFIX, --prefix PREFIX\n                            prefix for log files, default is hpss\n      -f, --file            set to interpret root as a log file\n      -k, --keep-log        set to not delete log file\n      -s SMALL_FILES_MAX, --small-files-max SMALL_FILES_MAX\n                            warn about files smaller than this size in bytes\n\n\n#### hpss_gateway.sh\n\nScript to start and stop the `watch_hpss` process to watch a directory for new files to send to the HPSS.\n\n    usage: hpss_gateway.sh action instrument\n\n    positional arguments:\n      action      action to perform: start, stop, or restart\n      instrument  instrument to watch for: KCor or CoMP\n\nFor example, common usage would be to restart the process for an instrument:\n\n    hpss_gateway.sh restart KCor\n\n\n#### hpss_get.sh\n\nScript to generate an `hsi` input file that will download a directory hierarchy in tape order.\n\n    usage: hpss_get.sh hpss_dir [output_file]\n\n    positional arguments:\n      hpss_dir      directory to download, i.e., /CORDYN/COMP/2018\n      output_file   output file for hsi commands\n\n\n#### watch_hpss\n\nScript to watch a directory for new files to send to the HPSS. This routine should generally be started and stopped by `hpss_gateway.sh`.\n\n    usage: watch_hpss [-h] instrument\n\n    Watch for files to send to HPSS\n\n    positional arguments:\n      instrument  instrument to watch for: KCor or CoMP\n\n    optional arguments:\n      -h, --help  show this help message and exit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncar%2Fmlso-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncar%2Fmlso-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncar%2Fmlso-utilities/lists"}