-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add export_field_outlines()
one liner export
#765
Comments
Also we should discuss if we actually want to keep all of this functionality of creating the field_outlines inside this function, or if it should be more a pure export of pre-created field outlines. The name of the function would indicate to users that this is a pure export, and it will be confusing atm.
Also not everyone have contact surfaces easily available, they are often created from averaging FWL/GOC parameters in the grid.. but several models do not have these contact parameters but rather read contacts directly from global_variables into various scripts to update contacts in volumetrics/sw job etc. |
Do we and assets have a shared definition of a field outline? Country outlines are a function of:
The first argument may generate many permutations of the the same planet. Field outlines are a function of:
My understanding as a layman (i.e., ignorant) is that in Drogon at least, this is defined primarily by the second point. |
@tnatt, as field outlines are made in various ways, is it recorded (e.g. as metadata) how they were made? And possibly why? I assume it would be nice to have this info directly in the geomodel, to make it easier to record for posterity and share between different users. |
Summary discussion 9/9/2024
(This text added to main issue) |
Summary discussion 10/9/2024
@jcrivenaes @tnatt is this an accurate summary before adding to the main issue comment? |
export_field_outlines()
one liner exportexport_field_outline()
one liner export
export_field_outline()
one liner exportexport_field_outlines()
one liner export
Sept 25 2024 - Updated function signature from discussions this week and removed unanswered questions that we have answered |
Currently field outlines are exported from RMS projects in the following way:
xtgeo.Surface
3.1. Convert contact to
xtgeo.Surface
3.2 Process, mask, store to RMS project (QC step, optional)
3.3 Get boundary polygons,
xtgeo.Polygons
3.4 Filter polygons with vertices < vertices limit
3.5 Export
xtgeo.Polygons
fmu-dataio/src/fmu/dataio/providers/objectdata/_xtgeo.py
Line 123 in b30c170
Simplification
We could explore grouping everything from step 2 into a single function and hide some details. A discussion of the arity of this function is still ongoing
Unanswered questions
Summary discussion 9/9/2024
The text was updated successfully, but these errors were encountered: