pyaerocom
pyaerocom copied to clipboard
Better configurability of the aeroval pages
Right now, there is a default set of AeroVal pages rendered for each experiment:
- maps.php
- evaluation.php
- intercomp.php
- overall.php
- infos.php
This list is harcoded in AeroVal.
Now, there are two options in the config files within the webdisp_opts key:
- hide_pages
- add_pages
which are arrays made of the page names to be hidden or added e.g:
"hide_pages": [
"maps.php",
"intercomp.php",
"overall.php"
]
In order to clarify what will be available online eventually, it would better to have a single entry describing which pages are supposed to be rendered. e.g:
"pages": ["maps", "evaluation", "intercomp", "overall", "infos"]
We suggest to use page "keys" ("evaluation") instead of page names ("evaluation.php") in case the pages are renamed later. The mapping will be performed by AeroVal itself.
The suggested keys are:
- maps (default)
- evaluation (default)
- intercomp (default)
- overall (default)
- infos (default)
- cams2-82_reports (optional)
- cams2-83_reports (optional)