From e6309cfd55e0cfcc57f7246dbf070d1b7385331d Mon Sep 17 00:00:00 2001 From: Rasmus Bahbah Nielsen <114926145+RasmusBahbah@users.noreply.github.com> Date: Thu, 19 Jan 2023 09:57:17 +0100 Subject: [PATCH] fixed area bug --- multiexec.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/multiexec.py b/multiexec.py index 2b44f42..319f337 100644 --- a/multiexec.py +++ b/multiexec.py @@ -19,7 +19,7 @@ def parse_arguments(): parser.add_argument("-st","--sday", type=str,help="Please input the start day") parser.add_argument("-en","--eday", type=str,help="Please input the end day") parser.add_argument("-re","--res", type=int,choices=[1000,2500,5000],default=2500,help="Please input the resolution of the output") - parser.add_argument("-ar","--area", type=list,default=None,help="Please input the areas you want to process") + parser.add_argument("-ar","--area", type=str,default=None,help="Please input the areas you want to process") parser.add_argument("-o","--output", type=str,default="tif",choices=["tif","csv","nc"],help="Please specify the out format") parser.add_argument("-c","--cores", type=int,default=4,help="Please input the number of cores you want to use") args = parser.parse_args() @@ -51,7 +51,6 @@ def multicarra2(date,res,area,out): area = [args.area for i in range(len(dates))] out = [args.output for i in range(len(dates))] - print("Processing for date range: " + args.sday + " to " + args.eday) print("Number of Days: " + str(len(dates)))