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

[enh] Frequency generated metadata could be templated with jinja #227

Open
bzah opened this issue Oct 17, 2022 · 0 comments
Open

[enh] Frequency generated metadata could be templated with jinja #227

bzah opened this issue Oct 17, 2022 · 0 comments

Comments

@bzah
Copy link
Member

bzah commented Oct 17, 2022

Originally posted by @bzah in #223 (comment)

For now we have a EN_FREQ_MAPPING dictionary that contains many kind of information in order to turn a Frequency object into a readable metadata string.

It works, but it's not optimal as we don't handle well plurals, plus the mapping of magnitude is done statically (within a python intrepretade string) and it makes it hard to render frequencies for different languages.
Additionally this would help to gave a consistent way to interpret python objects into metadata all over icclim.

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