def discover_importers():
    """
    Search for installed importers plugins in the entrypoint 'pysteps.plugins.importers'

    The importers found are added to the `pysteps.io.interface_importer_methods`
    dictionary containing the available importers.
    """
    # The pkg resources needs to be reload to detect new packages installed during
    # the execution of the python application. For example, when the plugins are
    # installed during the tests
    import pkg_resources

    importlib.reload(pkg_resources)
    # Backward compatibility with previous entry point 'pysteps.plugins.importers' next to 'pysteps.plugins.importer'
    for entry_point in list(
        pkg_resources.iter_entry_points(group="pysteps.plugins.importer", name=None)
    ) + list(
        pkg_resources.iter_entry_points(group="pysteps.plugins.importers", name=None)
    ):
        _importer = entry_point.load()

        importer_function_name = _importer.__name__
        importer_short_name = importer_function_name.replace("import_", "")

        _postprocess_kws = getattr(_importer, "postprocess_kws", dict())
        _importer = postprocess_import(**_postprocess_kws)(_importer)
        if importer_short_name not in _importer_methods:
            _importer_methods[importer_short_name] = _importer
        else:
            RuntimeWarning(
                f"The importer identifier '{importer_short_name}' is already available in"
                "'pysteps.io.interface._importer_methods'.\n"
                f"Skipping {entry_point.module_name}:{entry_point.attrs}"
            )

        if hasattr(importers, importer_function_name):
            RuntimeWarning(
                f"The importer function '{importer_function_name}' is already an attribute"
                "of 'pysteps.io.importers`.\n"
                f"Skipping {entry_point.module_name}:{entry_point.attrs}"
            )
        else:
            setattr(importers, importer_function_name, _importer)
Search for installed importers plugins in the entrypoint 'pysteps.plugins.importers'

The importers found are added to the `pysteps.io.interface_importer_methods`
dictionary containing the available importers.
pysteps/io/interface.py