def METHOD_NAME(rain_data=RAIN_DATA, snow_data=SNOW_DATA, name="{phase}rate"):
    """Make CF-compliant rain and snow cubes from supplied arrays"""
    if "rate" in name:
        units = "m s-1"
        time_bounds = None
    else:
        units = "m"
        time_bounds = (datetime(2017, 11, 10, 3, 0), datetime(2017, 11, 10, 4, 0))
    rain = set_up_variable_cube(
        rain_data,
        name.format(phase="rain"),
        units,
        time_bounds=time_bounds,
        spatial_grid="equalarea",
        attributes=COMMON_ATTRS,
        standard_grid_metadata="uk_ens",
    )
    snow = set_up_variable_cube(
        snow_data,
        name.format(phase="lwe_snow"),
        units,
        time_bounds=time_bounds,
        spatial_grid="equalarea",
        attributes=COMMON_ATTRS,
        standard_grid_metadata="uk_ens",
    )
    return rain, snow