A model for attenuation and scattering in the Earth's crust