From bf302dd085cee8373ee1f97c8e49f7350fb47c0e Mon Sep 17 00:00:00 2001
From: leufen1 <l.leufen@fz-juelich.de>
Date: Thu, 15 Sep 2022 11:15:35 +0200
Subject: [PATCH] store block mse values to nc file

---
 mlair/run_modules/post_processing.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mlair/run_modules/post_processing.py b/mlair/run_modules/post_processing.py
index e7d587cf..785de2e4 100644
--- a/mlair/run_modules/post_processing.py
+++ b/mlair/run_modules/post_processing.py
@@ -182,6 +182,10 @@ class PostProcessing(RunEnvironment):
             file_name = os.path.join(report_path, f"uncertainty_estimate_raw_results_{season}.nc")
             self.uncertainty_estimate_seasons[season].to_netcdf(path=file_name)
 
+        # store block mse per station
+        file_name = os.path.join(report_path, f"block_mse_raw_results.nc")
+        self.block_mse_per_station.to_netcdf(path=file_name)
+
         # store statistics
         if percentiles is None:
             percentiles = [.05, .1, .25, .5, .75, .9, .95]
-- 
GitLab