You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One idea that was discussed is to decouple the parameter group concept and make it purely as metadata attribute (see. ScalarParameter). This would essentially make every parameter "independent". Additionally, it requires a different approach when storing parameters into storage, wherein for testing purposes we could start with either pandas or polars.
Another issue relates to the actual design matrix group. This often contains a mixture of numerical and categorical parameters, which when being loaded from excel sheet as a DESIGN_MATRIX parameter group would then render all parameters as strings (into the storage that is). Nevertheless when storing such a parameter group, ert utilizes xr.Datasets concept of variables:
Update from meeting (13.12.2024):
One idea that was discussed is to decouple the parameter group concept and make it purely as metadata attribute (see.
ScalarParameter
). This would essentially make every parameter "independent". Additionally, it requires a different approach when storing parameters into storage, wherein for testing purposes we could start with either pandas or polars.@yngve-sk also suggested potentially to encode categories as integers and store the mapping into a stand-alone entry in
parameters.json
.Currently all GEN_KW group param types assume to be numbers (float), which prevents a direct read / write of categorical data from / to the storage.
ert/src/ert/config/gen_kw_config.py
Line 318 in 05b33a5
Another issue relates to the actual design matrix group. This often contains a mixture of numerical and categorical parameters, which when being loaded from excel sheet as a DESIGN_MATRIX parameter group would then render all parameters as strings (into the storage that is). Nevertheless when storing such a parameter group, ert utilizes
xr.Datasets
concept ofvariables
:ert/src/ert/config/gen_kw_config.py
Line 325 in 05b33a5
and
netcdf
to actually store the parameters:ert/src/ert/storage/local_ensemble.py
Line 789 in 05b33a5
This again is based on variables, wherein a single
Variable
equals a singleParameter group
, which needs to be of the same type.What we need is a support for a mixture of types in a single param group or to come up with another strategy of how to do it.
The text was updated successfully, but these errors were encountered: