From 637edcf7b9da61edebfe5c8d0c7bafea3543ebba Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 7 Nov 2023 00:22:43 +0100 Subject: description in aggregator --- plotter/vertical_from_grib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plotter/vertical_from_grib.py') 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') -- cgit v1.2.3