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: make list of accepted units overwritable/configurable #154

Open
petrrr opened this issue Oct 24, 2024 · 0 comments
Open

ENH: make list of accepted units overwritable/configurable #154

petrrr opened this issue Oct 24, 2024 · 0 comments

Comments

@petrrr
Copy link

petrrr commented Oct 24, 2024

This issue to propose a feature to overwrite the build in list of accepted units.

This might be an elegant way to address some of the other issues:

  • It would allow to add units which are not present in the list, but are considered valid;
  • If more restricted checking is desired (e.g. version 1.2, SI units only, base units only, ... ) the list could also be restricted by the user.

This would allow the behaviour of the validator to be adapted to individual needs and without the need to wait from new release. I also think that requirements might be conflictiong depending on usage. For example: relaxed checking for legacy metadata, strict checking against StationXML version 1.2 (or newer) for new submitted StationXML files.

@petrrr petrrr changed the title ENH: make list of accepted units overwritable ENH: make list of accepted units overwritable/configurable Nov 13, 2024
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