I am using pvlib to calculate diffuse and direct incoming solar radiation at the surface and this works well. I account for clouds, albedo, sea-ice etc. when calculating the