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

Support more than one directory for PSyclone scripts #13

Open
hiker opened this issue Feb 4, 2025 · 0 comments
Open

Support more than one directory for PSyclone scripts #13

hiker opened this issue Feb 4, 2025 · 0 comments

Comments

@hiker
Copy link
Collaborator

hiker commented Feb 4, 2025

ATM there is no way to easily keep PSyclone optimisations script consistent across all sites. Links can't be used (fcm extract discards them), so what happens atm is that UKMO adds optimisation scripts to their directory, and no partner site gets this (unless they use a UKMO configuration for PSyclone).

Improve fab to support a hierarchy of directories for finding file-specific optimisation scripts, eg.:

  1. Search for SITE/PATH/file.py
  2. Search for default/PATH/file.py (maybe more directories? default, minimum??)
  3. Search for SITE/global.py
  4. Search for default/global.py

This would allow that optimisation scripts can be added and be used by all sites, but still each site would have the option to use their own custom script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant