def importers_info():
    """Print all the available importers."""

    # Importers available in the `io.importers` module
    available_importers = [
        attr for attr in dir(importers) if attr.startswith("import_")
    ]

    print("\nImporters available in the pysteps.io.importers module")
    pprint(available_importers)

    # Importers declared in the pysteps.io.get_method interface
    importers_in_the_interface = [
        f.__name__ for f in interface._importer_methods.values()
    ]

    print("\nImporters available in the pysteps.io.get_method interface")
    pprint(
        [
            (short_name, f.__name__)
            for short_name, f in interface._importer_methods.items()
        ]
    )

    # Let's use sets to find out if there are importers present in the importer module
    # but not declared in the interface, and viceversa.
    available_importers = set(available_importers)
    importers_in_the_interface = set(importers_in_the_interface)

    difference = available_importers ^ importers_in_the_interface
    if len(difference) > 0:
        _diff = available_importers - importers_in_the_interface
        if len(_diff) > 0:
            print(
                "\nIMPORTANT:\nThe following importers are available in pysteps.io.importers module "
                "but not in the pysteps.io.get_method interface"
            )
            pprint(_diff)
        _diff = importers_in_the_interface - available_importers
        if len(_diff) > 0:
            print(
                "\nWARNING:\n"
                "The following importers are available in the pysteps.io.get_method "
                "interface but not in the pysteps.io.importers module"
            )
            pprint(_diff)

    return available_importers, importers_in_the_interface
Print all the available importers.
pysteps/io/interface.py