def check_dimension(in_value):
    """ Convert common dimension names to a preset value."""

    if in_value in ('t', 'time', 'temporal'):
        return 'time'
    elif in_value in ('s', 'band', 'bands', 'spectral'):
        return 'bands'
    return in_value