aboutsummaryrefslogtreecommitdiff
path: root/plotter/vertical_from_grib.py
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-07 00:22:43 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-11-07 00:22:43 +0100
commit637edcf7b9da61edebfe5c8d0c7bafea3543ebba (patch)
tree6c557cf8fb984b91d9905afe99fca9b9112c7ffd /plotter/vertical_from_grib.py
parent6eb5ee144d5e730616f13d3d14129f0205282d90 (diff)
downloadmeteo_toolbox-637edcf7b9da61edebfe5c8d0c7bafea3543ebba.tar.gz
description in aggregator
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')