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

Output timeseries data as CSV #128

Open
ledm opened this issue Mar 26, 2024 · 1 comment
Open

Output timeseries data as CSV #128

ledm opened this issue Mar 26, 2024 · 1 comment
Assignees

Comments

@ledm
Copy link
Collaborator

ledm commented Mar 26, 2024

I need to extract the output time series data and write it as csv files so I can do it outside of bgcval2. The csv (or mauybe json?) format should be a lot more portable than shelve files.

Probably best open will be to add a "save_as_csv" option into the input.yml file.

In addition to the two columns (time and value), I'd like to include the wider metadata, maybe as a header, including the jobID, region, layer, metric, time shift, line colour and style. That kind of thing would be useful to ensure that the secondairy plots are consistent with bgcval2 output.

@ledm ledm self-assigned this Mar 26, 2024
@ledm
Copy link
Collaborator Author

ledm commented Mar 27, 2024

Working on this now. It'll need json and a new package jsondiff. I think this is why the tests have been failing.

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