def get_dimord(measure, calc=None, community=None):
    """
    Get the dimension order of a network measure.

    Parameters
    ----------

    measure : str
        Name of funciton in teneto.networkmeasures.
    calc : str, default=None
        Calc parameter for the function
    community : bool, default=None
        If not null, then community property is assumed to be believed.

    Returns
    -------

    dimord : str
        Dimension order. So "node,node,time" would define the dimensions of the network measure.

    """
    if not calc:
        calc = ''
    else:
        calc = '_' + calc
    if not community:
        community = ''
    else:
        community = 'community'
    if 'community' in calc and 'community' in community:
        community = ''
    if calc == 'community_avg' or calc == 'community_pairs':
        community = ''
    dimord_dict = {'temporal_closeness_centrality': 'node',
        'temporal_degree_centrality': 'node',
        'temporal_degree_centralit_avg': 'node',
        'temporal_degree_centrality_time': 'node,time',
        'temporal_efficiency': 'global', 'temporal_efficiency_global':
        'global', 'temporal_efficiency_node': 'node',
        'temporal_efficiency_to': 'node', 'sid_global': 'global,time',
        'community_pairs': 'community,community,time', 'community_avg':
        'community,time', 'sid': 'community,community,time',
        'reachability_latency_global': 'global', 'reachability_latency':
        'global', 'reachability_latency_node': 'node', 'fluctuability':
        'node', 'fluctuability_global': 'global', 'bursty_coeff':
        'edge,edge', 'bursty_coeff_edge': 'edge,edge', 'bursty_coeff_node':
        'node', 'bursty_coeff_meanEdgePerNode': 'node', 'volatility_global':
        'time'}
    if measure + calc + community in dimord_dict:
        return dimord_dict[measure + calc + community]
    else:
        print('WARNINGL: get_dimord() returned unknown dimension labels')
        return 'unknown'
