Miyawaki 2022
get_dmse_dt(temp, sphum, height, p_levels, time, zonal_mean=True, spline_smoothing_factor=0)
For a given latitude, this computes the time derivative of the mass weighted vertical integral of the zonal mean moist static energy, \(<[\partial_t m]>\), used in the paper to compute the parameter \(R_1\).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
temp
|
DataArray
|
|
required |
sphum
|
DataArray
|
|
required |
height
|
DataArray
|
|
required |
p_levels
|
DataArray
|
|
required |
time
|
DataArray
|
|
required |
zonal_mean
|
bool
|
|
True
|
spline_smoothing_factor
|
float
|
|
0
|
Returns:
Type | Description |
---|---|
DataArray
|
|
DataArray
|
|
Source code in isca_tools/papers/miyawaki_2022.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
get_dvmse_dy(R_a, lh, sh, dmse_dt)
This infers the divergence of moist static energy flux, \(<[\partial_y vm]>\), from equation \((2)\) in the paper:
\(<[\partial_t m]> + <[\partial_y vm]> = [R_a] + [LH] + [SH]\)
It is not computed directly for reasons outlined in section 2b of the paper.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
R_a
|
DataArray
|
|
required |
lh
|
DataArray
|
|
required |
sh
|
DataArray
|
|
required |
dmse_dt
|
DataArray
|
|
required |
Returns:
Type | Description |
---|---|
DataArray
|
|
Source code in isca_tools/papers/miyawaki_2022.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
get_r1(R_a, dmse_dt, dvmse_dy, time=None, spline_smoothing_factor=0)
Returns the non-dimensional number, \(R_1 = \frac{\partial_t m + \partial_y vm}{R_a}\).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
R_a
|
DataArray
|
|
required |
dmse_dt
|
DataArray
|
|
required |
dvmse_dy
|
DataArray
|
|
required |
time
|
Optional[DataArray]
|
|
None
|
spline_smoothing_factor
|
float
|
|
0
|
Returns:
Type | Description |
---|---|
DataArray
|
|
DataArray
|
The non-dimensional number, \(R_1 = \frac{\partial_t m + \partial_y vm}{R_a}\). |
Source code in isca_tools/papers/miyawaki_2022.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
|