Skip to content

Commit

Permalink
fixed area bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusBahbah committed Jan 19, 2023
1 parent 7cfa58e commit e6309cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions multiexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)))

Expand Down

0 comments on commit e6309cf

Please sign in to comment.