diff --git a/HISTORY.rst b/HISTORY.rst index 489610e42e0a3f42d135e38434df192a564737d6..e332447419fc7f718ca8af9d8eaca162d60278ae 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,8 @@ History * Removed travis related files. * Fixed dead URLs. * Added documentation on how to create jobs from job IDs. +* Increased automatic ECMWF download timeout from 5 to 10 minutes + to get rid of timeout errors although downloads are running properly. 0.19.3 (2020-12-03) diff --git a/gms_preprocessing/algorithms/L1C_P.py b/gms_preprocessing/algorithms/L1C_P.py index ad12460a2752e565192b2c08ea8e56413cd315d9..b6ce1a897608d432805cdeade730c64bf41bf67a 100644 --- a/gms_preprocessing/algorithms/L1C_P.py +++ b/gms_preprocessing/algorithms/L1C_P.py @@ -807,7 +807,7 @@ class AtmCorr(object): "fc_sea_salt_AOT_550nm"] # NOTE: use_signals must be set to True while executed as multiprocessing worker (e.g., in multiprocessing.Pool) - @timeout_decorator.timeout(seconds=60*5, timeout_exception=TimeoutError) + @timeout_decorator.timeout(seconds=60*10, timeout_exception=TimeoutError) def run_request(): try: with MultiSlotLock('ECMWF download lock', allowed_slots=1, logger=self.logger):