From fa338719c640f1f364abb0b755a6ee21f74a893c Mon Sep 17 00:00:00 2001 From: bitterbark Date: Thu, 6 Oct 2022 15:24:06 -0600 Subject: [PATCH] update error message --- ADF_tools/h0-variable-grab/ncdump_var_hN | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ADF_tools/h0-variable-grab/ncdump_var_hN b/ADF_tools/h0-variable-grab/ncdump_var_hN index 08d43ab..14d3dab 100755 --- a/ADF_tools/h0-variable-grab/ncdump_var_hN +++ b/ADF_tools/h0-variable-grab/ncdump_var_hN @@ -28,10 +28,11 @@ from glob import glob if len(sys.argv) < 5: print("Error - not enough arguments supplied"+ - "\n USAGE: ncdump_var_hN case_name inputfile_path filetype [optional: output text file]"+ + "\n USAGE: ncdump_var_hN case_name inputfile_path filetype component [optional: output text file]"+ "\n case_name: the CESM case name "+ "\n inputfile_path: the path leading up to the case name (not include $case/atm/hist) "+ - "\n filetype = h0, h1, or h., h.nday1 for ocn"+ + "\n filetype = h0, h1, or any text that can be globbed( h., h.nday1 for ocn)"+ + "\n component = atm,lnd,ocn,... s.t. $case/$component/$hist "+ "\n optional: output text file in which to write the results."+ "\n (Otherwise results are printed to the screen *and* a local file named $case.txt)")