def test_io_import_bom_rf3_geodata(variable, expected, tolerance):
    """Test the importer Bom RF3."""
    root_path = pysteps.rcparams.data_sources["bom"]["root_path"]
    rel_path = os.path.join("prcp-cscn", "2", "2018", "06", "16")
    filename = os.path.join(root_path, rel_path, "2_20180616_100000.prcp-cscn.nc")
    ds_rainfall = netCDF4.Dataset(filename)
    geodata = pysteps.io.importers._import_bom_rf3_geodata(ds_rainfall)
    smart_assert(geodata[variable], expected, tolerance)

    ds_rainfall.close()
Test the importer Bom RF3.
pysteps/tests/test_io_bom_rf3.py