Skip to content

Commit

Permalink
Print parameter group dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Blunde1 committed Mar 14, 2024
1 parent f34d40c commit 58f7835
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/ert/analysis/_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,20 @@ def _create_temporary_parameter_storage(
) -> TempStorage:
temp_storage = TempStorage()
config_node = ensemble.experiment.parameter_configuration[param_group]

####
prior_xdata = ensemble.load_parameters(param_group)
print(f"prior_xdata shape: {prior_xdata.shape}")
print(f"prior_xdata: {prior_xdata.coords}")
print(f"prior_xdata: {prior_xdata.dims}")
# print(f"prior_xdata values: {prior_xdata["values"].shape}")
# es_prior = storage.get_ensemble_by_name("es_prior")
# es_prior_xdata = es_prior.load_parameters("FIELDPAR").sel(
# realizations=realization
# )
# es_prior_values_from_storage = es_prior_xdata["values"].values
####

temp_storage[param_group] = config_node.load_parameters(
ensemble, param_group, iens_active_index
)
Expand Down

0 comments on commit 58f7835

Please sign in to comment.