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

Automate pulling of stash2lfric variable mapping #947

Open
jfrost-mo opened this issue Nov 26, 2024 · 0 comments
Open

Automate pulling of stash2lfric variable mapping #947

jfrost-mo opened this issue Nov 26, 2024 · 0 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request question Further information is requested

Comments

@jfrost-mo
Copy link
Member

What problem does your feature request solve?

The mapping of variables from STASH codes to LFRic in _stash_to_lfric.py comes from a centrally maintained file in MOSRS. We want to ensure it remains up to date, and does not drift.

Describe the solution you'd like

It would be really nice to copy it automatically, so it remains up-to-date.

Describe alternatives you've considered

We also need to consider restricted files, as while the variable mappings are openly licenced we will have other things, like METplus masks, that are going to be sensitive, and thus shouldn't be in the public repository. Perhaps they should use a similar copy method but end up in the restricted repository? We'd have to check if they are suitable for sharing with the partnership, otherwise we might have to directly fetch from MOSRS.

Another consideration is that all MOSRS repositories should be migrated to GitHub over the next year and a half (ish), so thinks might get practically easier then.

@jfrost-mo jfrost-mo added enhancement New feature or request question Further information is requested dependencies Pull requests that update a dependency file labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant