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

Utility function(s) - add/remove validation data to/from existing BPX #19

Open
ejfdickinson opened this issue Jan 18, 2023 · 0 comments

Comments

@ejfdickinson
Copy link
Collaborator

Suggestion from Darryl at About:Energy, seconded by me!

  • Provide a utility function that will take validation data in a suitable format (for example .csv) and merge it with an existing BPX .json. Include some sanity checking (for example, input data contain time series that are the same length of array).

  • Maybe also consider a utility function that will strip validation data (or some subset of it) from the BPX .json.

Ensure that any generated BPX .json passes the schema validation in parse_bpx_file() before being returned.

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