def METHOD_NAME(data: dict):
    error = "Either of the two (or both) required variables (od440aer, od870aer) are not available in data"
    with pytest.raises(AttributeError) as e:
        calc_ang4487aer(data)
    assert str(e.value) == error