Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better configurability of the aeroval pages #965

Closed
AugustinMortier opened this issue Jan 25, 2024 · 0 comments · Fixed by #1025
Closed

Better configurability of the aeroval pages #965

AugustinMortier opened this issue Jan 25, 2024 · 0 comments · Fixed by #1025
Assignees
Labels
aeroval-tools Issues related to AeroVal web tools
Milestone

Comments

@AugustinMortier
Copy link
Member

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aeroval-tools Issues related to AeroVal web tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants