Beispiel #1
0
def test_wellzone_to_isopoints():
    """Import well from file and find thicknesses"""

    mywell = Well(WFILE, zonelogname="Zone_model2", mdlogname="M_MDEPTH")
    # get the zpoints which is a Pandas
    zpoints = mywell.get_zonation_points(use_undef=False, tops=True)

    zisos = mywell.get_zonation_points(use_undef=False, tops=False)
    assert zisos.iat[10, 8] == 4
Beispiel #2
0
def test_wellzone_to_points():
    """Import well from file and put zone boundaries to a Pandas object."""

    mywell = Well(WFILE, zonelogname="Zone_model2", mdlogname="M_MDEPTH")

    # get the zpoints which is a Pandas
    zpoints = mywell.get_zonation_points(use_undef=False)
    assert zpoints.iat[9, 6] == 6

    # get the zpoints which is a Pandas
    zpoints = mywell.get_zonation_points(use_undef=True)
    assert zpoints.iat[9, 6] == 7

    with pytest.raises(ValueError):
        zpoints = mywell.get_zonation_points(zonelist=[1, 3, 4, 5])

    zpoints = mywell.get_zonation_points(zonelist=[3, 4, 5])
    assert zpoints.iat[6, 6] == 4

    zpoints = mywell.get_zonation_points(zonelist=(3, 5))
    assert zpoints.iat[6, 6] == 4
def test_wellzone_to_points():
    """Import well from file and put zone boundaries to a Pandas object."""

    wfile = "../xtgeo-testdata/wells/reek/1/OP_1.w"

    mywell = Well(wfile, zonelogname="Zonelog")
    logger.info("Imported %s", wfile)

    # get the zpoints which is a Pandas
    zpoints = mywell.get_zonation_points()

    print(zpoints)
Beispiel #4
0
def test_get_zonation_points():
    """Get zonations points (zone tops)"""

    mywell = Well(WFILE, zonelogname="Zonelog")
    mywell.get_zonation_points()