NEDAS.models.topaz.v5.postproc module
- NEDAS.models.topaz.v5.postproc.adjust_dp(dp, depth, onem)
Adjusts the pressure layers (dp) to ensure no negative values and recalculates layer thickness based on depth constraints.
Parameters: dp (ndarray): 3D array of pressure layers (kdm, jdm, idm). depth (ndarray): 2D array of depths (jdm, idm). onem (float): Scaling factor.
Returns: ndarray: Adjusted dp array.