<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_resource_scenario(scenario_id, resource_attr_id, quiet=False, **kwargs):
 """ Remove the data associated with a resource in a scenario. """

    _check_can_edit_scenario(scenario_id, kwargs['user_id'])

    _delete_resourcescenario(scenario_id, resource_attr_id, suppress_error=quiet)