Hello! See the attached report relating the compressibility of firn, the density profile, and the resulting index of refraction profile. The gradient of the index of refraction profile determines the curvature of classically refracted rays.