From aa6cd85b833453a0ca6310312361e0591ab7963c Mon Sep 17 00:00:00 2001 From: Paola Petrelli Date: Thu, 30 Apr 2020 01:22:38 +0000 Subject: [PATCH] allowing multiple years --- cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.py b/cli.py index 0b4bf4b..c383e4d 100644 --- a/cli.py +++ b/cli.py @@ -192,7 +192,7 @@ def common_args(f): help="Create json file to add request to queue"), click.option('--stream', '-s', required=True, type=click.Choice(['surface','wave','pressure', 'land']), help="ECMWF stream currently operative analysis surface, pressure levels, wave model and ERA5 land"), - click.option('--year', '-y', required=True, + click.option('--year', '-y', multiple=True, required=True, help="year to download"), click.option('--month', '-m', multiple=True, help="month/s to download, if not specified all months for year will be downloaded "),