From 50bddc917f39c0b4ba4f955b7dfe2e54d1d68674 Mon Sep 17 00:00:00 2001 From: Gildas Cambon <gildas.cambon@ird.fr> Date: Thu, 24 Nov 2022 12:50:52 +0100 Subject: [PATCH] Small bug fix : move dl=2 out of the if ownArea == 0: --- Aforc_ERA5/ERA5_request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Aforc_ERA5/ERA5_request.py b/Aforc_ERA5/ERA5_request.py index e6a659c3..19e04b61 100644 --- a/Aforc_ERA5/ERA5_request.py +++ b/Aforc_ERA5/ERA5_request.py @@ -37,9 +37,8 @@ from era5_crocotools_param import * print('year_start is '+str(year_start)) # ------------------------------------------------- - +dl=2 if ownArea == 0: - dl = 2 lines = [line.rstrip('\n') for line in open(paramFile)] for line in lines: if "lonmin" in line: -- GitLab