Function calculateWellSegments

  • Caluclate the segments top for a single well

    Parameters

    • dictionary: Record<string, WellboreHeader>

      dictionary of wellbore headers indexed by wellbore name

    • included: WellboreHeader[]

      array of wellbore headers that should be included

    • Optionalselected: string

      id of selected wellbore if applicable (will be processed first => sequence = 0)

    Returns Record<string, [number, number]>

    dictionary of segment tops in MD Msl indexed by wellbore id