def METHOD_NAME(tmpdir):
    """Report zone log mismatch grid and well, export updated wellsegment"""
    g1 = xtgeo.grid_from_file(GRIDFILE)
    zo = xtgeo.gridproperty_from_file(ZONEFILE, name="Zone")
    w1 = xtgeo.well_from_file(WELL1)
    res = g1.report_zone_mismatch(
        well=w1,
        zonelogname="Zonelog",
        zoneprop=zo,
        zonelogrange=(1, 3),
        depthrange=[1300, 9999],
        resultformat=3,
    )
    mywell = res["WELLINTV"]
    logger.info("\n%s", mywell.dataframe.to_string())
    mywell.to_file(join(tmpdir, "w1_zlog_report.rmswell"))