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

Added option to exclude data from json #453

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

tylerflex
Copy link
Collaborator

@tylerflex tylerflex commented Aug 4, 2022

Can add include_data=False to to_json(), to_yaml() and to_file() note that it won't affect .hdf5 format.

Also note, could not get the config validator to globally set the xarray encoder function so I did It directly in the _json_string() function.

@momchil-flex
Copy link
Collaborator

Looks good, note that it needs black/lint.

@tylerflex tylerflex merged commit 7188cb1 into develop Aug 5, 2022
@tylerflex tylerflex deleted the tyler/data_json branch August 5, 2022 07:50
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

Successfully merging this pull request may close these issues.

2 participants