aboutsummaryrefslogtreecommitdiff
path: root/plotter/horizontal.py
diff options
context:
space:
mode:
Diffstat (limited to 'plotter/horizontal.py')
-rwxr-xr-xplotter/horizontal.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/plotter/horizontal.py b/plotter/horizontal.py
index d75236b..218fd33 100755
--- a/plotter/horizontal.py
+++ b/plotter/horizontal.py
@@ -87,14 +87,16 @@ def _plot(data, output, name, layers, area = None):
'file': outname,
'init': init_str,
'valid': valid_str,
- 'valid_offset': hours_since_init_str
+ 'valid_offset': hours_since_init_str,
+ 'display_name': name,
+ 'id': name
}
)
with open(os.path.join(output, f'{name}.index.json'), 'w') as f:
f.write(json.dumps(index, indent=4))
- return { 'name': name, 'indexfile': f'{name}.index.json' }
+ return { 'name': name, 'indexfile': f'{name}.index.json', 'list_title': 'INIT+' }
def _layer(data, layertype, **kwargs):
layertypes={