def import_bom_rf3(filename, **kwargs):
    """
    Import a NetCDF radar rainfall product from the BoM Rainfields3.

    Parameters
    ----------
    filename: str
        Name of the file to import.

    {extra_kwargs_doc}

    Returns
    -------
    out: tuple
        A three-element tuple containing the rainfall field in mm/h imported
        from the Bureau RF3 netcdf, the quality field and the metadata. The
        quality field is currently set to None.
    """
    if not NETCDF4_IMPORTED:
        raise MissingOptionalDependency(
            "netCDF4 package is required to import BoM Rainfields3 products "
            "but it is not installed"
        )

    precip, geodata = _import_bom_rf3_data(filename)
    metadata = geodata

    metadata["transform"] = None
    metadata["zerovalue"] = np.nanmin(precip)
    metadata["threshold"] = _get_threshold_value(precip)

    return precip, None, metadata
Import a NetCDF radar rainfall product from the BoM Rainfields3.

Parameters
----------
filename: str
Name of the file to import.

{extra_kwargs_doc}

Returns
-------
out: tuple
A three-element tuple containing the rainfall field in mm/h imported
from the Bureau RF3 netcdf, the quality field and the metadata. The
quality field is currently set to None.
pysteps/io/importers.py