From d9edc173efe124a713612dbe1f60c90239e534e0 Mon Sep 17 00:00:00 2001
From: lewa <lene.wasskog@nibio.no>
Date: Mon, 22 Apr 2024 14:39:26 +0200
Subject: [PATCH] chore: Run maskregion with 6 processors

---
 ADASMELIAE.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ADASMELIAE.py b/ADASMELIAE.py
index 37294cf..3b3c9c3 100755
--- a/ADASMELIAE.py
+++ b/ADASMELIAE.py
@@ -201,7 +201,7 @@ if __name__ == "__main__":
     if mask_file_path is not None:
         logging.info(f"Mask file with {os.path.basename(mask_file_path)}")
         run_command(
-            command=f"cdo -maskregion,{mask_file_path} {unmasked_result_file} {final_result_file}",
+            command=f"cdo -P 6 -maskregion,{mask_file_path} {unmasked_result_file} {final_result_file}",
         )
     else:
         os.rename(unmasked_result_file, final_result_file)
-- 
GitLab