From c1dbac579c1088b7f5e6a6a4446f353e22f7e6e0 Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Mon, 27 May 2024 14:21:11 +0200 Subject: [PATCH] log: Introduce deleted log statement --- ADASMELIAE.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ADASMELIAE.py b/ADASMELIAE.py index 707b5da..110954d 100755 --- a/ADASMELIAE.py +++ b/ADASMELIAE.py @@ -191,6 +191,9 @@ if __name__ == "__main__": # Classifying warning status for the model # temperature < 15 --> 2 (Green) # temperature >= 15 --> 4 (Red) + logging.info( + f"Calculate warning status by checking if {tm_max} is below or above {THRESHOLD}" + ) run_command( command=f'cdo -s -aexpr,"WARNING_STATUS = {tm_max} < {THRESHOLD} ? 2 : 4" {max_temp_in_period_file} {unmasked_result_file}', ) -- GitLab