aboutsummaryrefslogtreecommitdiff
path: root/plotter/vertical_from_grib.py
diff options
context:
space:
mode:
Diffstat (limited to 'plotter/vertical_from_grib.py')
-rwxr-xr-xplotter/vertical_from_grib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plotter/vertical_from_grib.py b/plotter/vertical_from_grib.py
index 9f927a7..726c8be 100755
--- a/plotter/vertical_from_grib.py
+++ b/plotter/vertical_from_grib.py
@@ -66,8 +66,8 @@ def _plot(data, output, lat, lon, name, analysis=None):
if analysis is not None:
skt.addAnalysis(shade=True, analysis=analysis)
- # TODO get from source!
- skt.addInfo("FORECAST DWD ICON-D2")
+ if '_description' in data.attrs:
+ skt.addInfo(data.attrs['_description'])
init_for_filename = init.strftime('%Y-%m-%d-%HUTC')