diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-11-07 00:22:43 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-11-07 00:22:43 +0100 |
commit | 637edcf7b9da61edebfe5c8d0c7bafea3543ebba (patch) | |
tree | 6c557cf8fb984b91d9905afe99fca9b9112c7ffd /plotter | |
parent | 6eb5ee144d5e730616f13d3d14129f0205282d90 (diff) | |
download | meteo_toolbox-637edcf7b9da61edebfe5c8d0c7bafea3543ebba.tar.gz |
description in aggregator
Diffstat (limited to 'plotter')
-rwxr-xr-x | plotter/vertical_from_grib.py | 4 |
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') |