From d8ce9136b87fe504f03cdcf84261ededec47a2a6 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Thu, 8 Aug 2024 11:35:51 -0400 Subject: [PATCH] update CLI arg description and README.md --- README.md | 5 +++-- concatenator/run_stitchee.py | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 056a2cf..ac37f24 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,9 @@ options: Required: path/directory or path list - Files to be concatenated, specified via a (1) single directory containing the files to be concatenated, (2) single text file - containing linebreak-separated paths of the files to be concatenated, or (3) multiple filepaths of the files to be concatenated. + Files to be concatenated, specified via (1) multiple paths of the files to be concatenated, (2) single path to text + file containing linebreak-separated paths of files to be concatenated, (3) single path to netCDF file to be copied to + output path, or a (4) single directory containing the files to be concatenated. -o OUTPUT_PATH, --output_path OUTPUT_PATH The output filename for the merged output. ``` diff --git a/concatenator/run_stitchee.py b/concatenator/run_stitchee.py index f2cdf42..a269a69 100644 --- a/concatenator/run_stitchee.py +++ b/concatenator/run_stitchee.py @@ -30,10 +30,11 @@ def parse_args(args: list) -> argparse.Namespace: "input", metavar="path/directory or path list", nargs="+", - help="Files to be concatenated, specified via a " - "(1) single directory containing the files to be concatenated, " - "(2) single text file containing linebreak-separated paths of the files to be concatenated, " - "or (3) multiple filepaths of the files to be concatenated.", + help="Files to be concatenated, specified via " + "(1) multiple paths of the files to be concatenated, " + "(2) single path to text file containing linebreak-separated paths of files to be concatenated, " + "(3) single path to netCDF file to be copied to output path, " + "or a (4) single directory containing the files to be concatenated.", ) req_grp.add_argument( "-o",