From 52e1269f5423b5210c1188d360626d598423b26a Mon Sep 17 00:00:00 2001 From: Ciheim Brown Date: Mon, 23 Dec 2024 11:58:53 -0500 Subject: [PATCH] Adding verbose flag --- fre/catalog/frecatalog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fre/catalog/frecatalog.py b/fre/catalog/frecatalog.py index 58149e5e..53f30d30 100644 --- a/fre/catalog/frecatalog.py +++ b/fre/catalog/frecatalog.py @@ -26,13 +26,14 @@ def catalog_cli(): @click.option('--filter_realm', nargs = 1) @click.option('--filter_freq', nargs = 1) @click.option('--filter_chunk', nargs = 1) +@click.option('--verbose', is_flag = True, default = False) @click.option('--overwrite', is_flag = True, default = False) @click.option('--append', is_flag = True, default = False) @click.option('--slow', is_flag = True, default = False, help = "Open NetCDF files to retrieve additional vocabulary (standard_name and intrafile static variables") @click.pass_context def builder(context, input_path = None, output_path = None, config = None, filter_realm = None, - filter_freq = None, filter_chunk = None, overwrite = False, append = False, slow = False): + filter_freq = None, filter_chunk = None, verbose = False, overwrite = False, append = False, slow = False): # pylint: disable=unused-argument """ - Generate .csv and .json files for catalog """ context.forward(gen_intake_gfdl.create_catalog_cli)