def print_postprocessors_info(module_name, interface_methods, module_methods):
    """
    Helper function to print the postprocessors available in the module and in the interface.

    Parameters
    ----------
    module_name: str
        Name of the module, for example 'pysteps.postprocessing.diagnostics'.
    interface_methods: dict
        Dictionary of the postprocessors declared in the interface, for example _diagnostics_methods.
    module_methods: list
        List of the postprocessors available in the module, for example 'diagnostic_example1'.

    """
    print(f"\npostprocessors available in the {module_name} module")
    pprint(module_methods)

    print(
        "\npostprocessors available in the pysteps.postprocessing.get_method interface"
    )
    pprint([(short_name, f.__name__) for short_name, f in interface_methods.items()])

    module_methods_set = set(module_methods)
    interface_methods_set = set(interface_methods.keys())

    difference = module_methods_set ^ interface_methods_set
    if len(difference) > 0:
        # print("\nIMPORTANT:")
        _diff = module_methods_set - interface_methods_set
        if len(_diff) > 0:
            print(
                f"\nIMPORTANT:\nThe following postprocessors are available in {module_name} module but not in the pysteps.postprocessing.get_method interface"
            )
            pprint(_diff)
        _diff = interface_methods_set - module_methods_set
        if len(_diff) > 0:
            print(
                "\nWARNING:\n"
                f"The following postprocessors are available in the pysteps.postprocessing.get_method interface but not in the {module_name} module"
            )
            pprint(_diff)
Helper function to print the postprocessors available in the module and in the interface.

Parameters
----------
module_name: str
Name of the module, for example 'pysteps.postprocessing.diagnostics'.
interface_methods: dict
Dictionary of the postprocessors declared in the interface, for example _diagnostics_methods.
module_methods: list
List of the postprocessors available in the module, for example 'diagnostic_example1'.
pysteps/postprocessing/interface.py