Skip to content
Snippets Groups Projects
Commit a20ad19f authored by Felix Kleinert's avatar Felix Kleinert
Browse files

update map plot

parent 83d920eb
Branches
Tags
No related merge requests found
Pipeline #37516 failed
...@@ -194,8 +194,8 @@ class PlotStationMap(AbstractPlotClass): ...@@ -194,8 +194,8 @@ class PlotStationMap(AbstractPlotClass):
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
fig = plt.figure(figsize=(10, 5)) fig = plt.figure(figsize=(10, 5))
self._ax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree()) self._ax = fig.add_subplot(1, 1, 1, projection=ccrs.PlateCarree())
self._ax.set_extent([0, 20, 42, 58], crs=ccrs.PlateCarree()) self._ax.set_extent([4, 17, 44, 58], crs=ccrs.PlateCarree())
self._gl = self._ax.gridlines(xlocs=range(0, 21, 5), ylocs=range(42, 59, 2), draw_labels=True) 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.xformatter = LONGITUDE_FORMATTER
self._gl.yformatter = LATITUDE_FORMATTER self._gl.yformatter = LATITUDE_FORMATTER
self._draw_background() self._draw_background()
......
...@@ -204,7 +204,7 @@ class PostProcessing(RunEnvironment): ...@@ -204,7 +204,7 @@ class PostProcessing(RunEnvironment):
logging.warning( logging.warning(
f"Skip 'PlotStationMap` because running on a hpc node: {self.data_store.get('hostname')}") f"Skip 'PlotStationMap` because running on a hpc node: {self.data_store.get('hostname')}")
else: 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: if "PlotMonthlySummary" in plot_list:
PlotMonthlySummary(self.test_data.stations, path, r"forecasts_%s_test.nc", self.target_var, PlotMonthlySummary(self.test_data.stations, path, r"forecasts_%s_test.nc", self.target_var,
plot_folder=self.plot_path) plot_folder=self.plot_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment