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

Converting non-flattened parameter arrays #130

Closed
odunbar opened this issue Mar 18, 2022 · 0 comments
Closed

Converting non-flattened parameter arrays #130

odunbar opened this issue Mar 18, 2022 · 0 comments

Comments

@odunbar
Copy link
Collaborator

odunbar commented Mar 18, 2022

We should add some ParameterDistribution functions that are based on the provided method batch to help clean up/convert outputs.

At the end of EKP we are often returned a N_ens x total_param_dimensions-array (or similar).
However sometimes we may need the following forms

  • a dictionary Dict(param_1_name => Array(N_ens x param_1_dimensions), ... )
  • an N_ens-array of dictionaries [Dict(param_1_name => Array(param_1_dimensions), ... ), ...]

The core of these methods is the slicing of the array back into parameter-sized chunks, but this is exactly what batch provides

@odunbar odunbar closed this as completed Jun 8, 2023
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