resqpy.well.well_name

resqpy.well.well_name(well_object, model=None)

Returns the ‘best’ citation title from the object or related well objects.

Parameters
  • well_object (object, uuid or root) – Object for which a well name is required. Can be a Trajectory, WellboreInterpretation, WellboreFeature, BlockedWell, WellboreMarkerFrame, WellboreFrame, DeviationSurvey or MdDatum object

  • model (model.Model, optional) – required if passing a uuid or root; not recommended otherwise

Returns

string being the ‘best’ citation title to serve as a well name, form the object or some related objects

Note

xml and relationships must be established for this function to work