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

Simplify adding extra dimensions in I/O variable creation #248

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

johnomotani
Copy link
Collaborator

Allow coords argument to create_dynamic_variable!() and write_single_value!() to be NamedTuple as well as coordinate. This change makes it simple to add an extra dimension for which there is not a coordinate struct, and simplifies the code by replacing the special-purpose arguments for n_ion_species, n_neutral_species and diagnostic_var_size.

This change makes it simple to add an extra dimension for which there is
not a `coordinate` struct, replacing the special-purpose arguments for
n_ion_species, n_neutral_species and diagnostic_var_size.
@johnomotani johnomotani added the enhancement New feature or request label Sep 10, 2024
@johnomotani johnomotani merged commit 69b80ba into master Sep 13, 2024
17 checks passed
@johnomotani johnomotani deleted the simplify-io-variable-creation branch September 13, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant