konrad.utils.ozonesquash¶
- konrad.utils.ozonesquash(o3, z, squash)[source]¶
Squashes the ozone profile upwards or stretches it downwards, with no change to the shape of the profile above the ozone concentration maximum
- Parameters
o3 (ndarray) – initial ozone profile
z (ndarray) – corresponding height values
squash – float, with 1 being no squash, numbers < 1 squashing the profile towards the maximum, numbers > 1, stretching the profile downwards
- Returns
ndarray – new ozone profile