equinor / fmu-config

Tool for a general YAML to YAML/IPL setup in FMU runs. Replaces manual global_variables.ipl
https://equinor.github.io/fmu-config/
GNU Lesser General Public License v3.0
0 stars 7 forks source link

API towards global_variables for FIPNUM -> Region/zone queries #33

Open berland opened 3 years ago

berland commented 3 years ago

Given a well-defined dictionary structure in global_variables.yml an API is needed somewhere to answer questions like "What is the RMS segment/region name/number for Eclipse's FIPNUM 8.

This query should work both ways, and also support more Eclipse regions than FIPNUM as long as they can be defined in the yaml file.

berland commented 3 years ago

See https://github.com/equinor/subscript/blob/master/src/subscript/prtvol2csv/fipmapper.py for a candidate