Skip to content
Snippets Groups Projects
Commit c1dbac57 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

log: Introduce deleted log statement

parent 55f965c0
Branches
No related tags found
No related merge requests found
...@@ -191,6 +191,9 @@ if __name__ == "__main__": ...@@ -191,6 +191,9 @@ if __name__ == "__main__":
# Classifying warning status for the model # Classifying warning status for the model
# temperature < 15 --> 2 (Green) # temperature < 15 --> 2 (Green)
# temperature >= 15 --> 4 (Red) # temperature >= 15 --> 4 (Red)
logging.info(
f"Calculate warning status by checking if {tm_max} is below or above {THRESHOLD}"
)
run_command( run_command(
command=f'cdo -s -aexpr,"WARNING_STATUS = {tm_max} < {THRESHOLD} ? 2 : 4" {max_temp_in_period_file} {unmasked_result_file}', command=f'cdo -s -aexpr,"WARNING_STATUS = {tm_max} < {THRESHOLD} ? 2 : 4" {max_temp_in_period_file} {unmasked_result_file}',
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment