Pressure Reconstructions and Interpolation Techniques
Goal: Learn several ways of calculating pressure.
Reconstructing pressure from a hybrid pressure.
Given surface pressure Ps, reference pressure P0, and parameters A and B, the pressure can be calculated from a formula
P = A*P0 + B*Ps
You can use cdutil module to calculate that:
cdutil.vertical.reconstructPressureFromHybrid
Using linear interpolation.
Given pressure S and depth I use linear interpolation to levels
cdutil.vertical.linearInterpolation(S,I,levels)
Using log-linear interpolation.
Given pressure S and depth I use linear interpolation to levels
cdutil.vertical.logLinearInterpolation(S,I,levels)