From a20ad19f3d3cca9c6002bd7333182b195960379c Mon Sep 17 00:00:00 2001 From: Felix Kleinert <f.kleinert@fz-juelich.de> Date: Mon, 25 May 2020 08:25:57 +0200 Subject: [PATCH] update map plot --- src/plotting/postprocessing_plotting.py | 4 ++-- src/run_modules/post_processing.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plotting/postprocessing_plotting.py b/src/plotting/postprocessing_plotting.py index ca3f3aa2..75450d93 100644 --- a/src/plotting/postprocessing_plotting.py +++ b/src/plotting/postprocessing_plotting.py @@ -194,8 +194,8 @@ class PlotStationMap(AbstractPlotClass): from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER fig = plt.figure(figsize=(10, 5)) self._ax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree()) - self._ax.set_extent([0, 20, 42, 58], crs=ccrs.PlateCarree()) - self._gl = self._ax.gridlines(xlocs=range(0, 21, 5), ylocs=range(42, 59, 2), draw_labels=True) + self._ax.set_extent([4, 17, 44, 58], crs=ccrs.PlateCarree()) + self._gl = self._ax.gridlines(xlocs=range(0, 21, 5), ylocs=range(44, 59, 2), draw_labels=True) self._gl.xformatter = LONGITUDE_FORMATTER self._gl.yformatter = LATITUDE_FORMATTER self._draw_background() diff --git a/src/run_modules/post_processing.py b/src/run_modules/post_processing.py index bc3cdf26..9e74582d 100644 --- a/src/run_modules/post_processing.py +++ b/src/run_modules/post_processing.py @@ -204,7 +204,7 @@ class PostProcessing(RunEnvironment): logging.warning( f"Skip 'PlotStationMap` because running on a hpc node: {self.data_store.get('hostname')}") else: - PlotStationMap(generators={'b': self.test_data}, plot_folder=self.plot_path) + PlotStationMap(generators={'b': self.test_data, 'blue': self.train_data}, plot_folder=self.plot_path) if "PlotMonthlySummary" in plot_list: PlotMonthlySummary(self.test_data.stations, path, r"forecasts_%s_test.nc", self.target_var, plot_folder=self.plot_path) -- GitLab