def METHOD_NAME(
    file_path: Union[str, os.PathLike[str]],
    field_name: str,
    dimensions: Tuple[int, int, int],
) -> npt.NDArray[np.float32]:
    field_name = field_name.strip()
    with open(file_path, "rb") as f:
        for entry in ecl_data_io.lazy_read(f):
            keyword = str(entry.read_keyword()).strip()
            if keyword == field_name:
                values = entry.read_array()
                if not isinstance(values, np.ndarray) and values == ecl_data_io.MESS:
                    raise ValueError(
                        f"{field_name} in {file_path} has MESS type"
                        " and not a real valued field"
                    )
                if np.issubdtype(values.dtype, np.integer):
                    raise ValueError(
                        "Ert does not support discrete bgrdecl field parameters. "
                        f"Attempted to import integer typed field {field_name}"
                        f" in {file_path}"
                    )
                values = values.astype(np.float32)
                return values.reshape(dimensions, order="F")
    raise ValueError(f"Did not find field parameter {field_name} in {file_path}")