equinor / fmu-sumo

Interaction with Sumo in the FMU context
https://fmu-sumo.readthedocs.io/en/latest/
Apache License 2.0
0 stars 5 forks source link

More metadata #268

Closed rwiker closed 7 months ago

rwiker commented 7 months ago

Change metadata filtering, so that we can specify both "include" and "exclude" sets. This means that the select parameter should be a dictionary containing the keys include and/or exclude, both of which should be lists of attribute names. If one of these is specified as a an empty list, it is treated as missing.

It is also possible to specify select as a list; this will be treated the same as a dictionary with the list as the value of the "include" key.

The default value for case objects is to include everything, while for child objects, we exclude data.spec.columns and fmu.realization.parameters.

equinor-ruaj commented 7 months ago

Does this solve #260 ?

rwiker commented 7 months ago

Yes, I think this solves #260.