Radiation
frierson_atmospheric_heating(ds, albedo=0)
Returns the atmospheric radiative heating rate from the surface and top of atmosphere energy fluxes. A negative value indicates that the atmosphere is cooling.
This takes into account any radiation that is absorbed by the atmosphere on its way down from space to the surface,
as specified through tau_equator
and the amount reflected at the surface through the albedo
.
In Isca, there is no absorption of the shortwave radiation as it moves back up through the atmosphere to space after being reflected at the surface.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds
|
Dataset
|
Dataset for particular experiment, must contain:
|
required |
albedo
|
float
|
Fraction of incident shortwave radiation reflected by the surface.
It is specified through the option |
0
|
Returns: Atmospheric radiative heating rate in \(W/m^2\).
Source code in isca_tools/utils/radiation.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 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 |
|
frierson_net_toa_sw_dwn(insolation, surface_pressure, albedo=0, tau_equator=0, tau_lat_var=0, pressure_exponent=4, ref_pressure=101325)
Function to calculate the net downward shortwave radiation at the top of atmosphere for the Frierson and Byrne radiation schemes.
This takes into account any radiation that is absorbed by the atmosphere on its way down from space to the surface,
as specified through tau_equator
and the amount reflected at the surface through the albedo
.
In Isca, there is no absorption of the shortwave radiation as it moves back up through the atmosphere to space after being reflected at the surface.
All default values are the default values in Isca if the option is not specified in the relavent namelist
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
insolation
|
DataArray
|
Incident shortwave radiation at the top of atmosphere
with dimensions of latitude, longitude and time.
This is saved by Isca if the variable |
required |
surface_pressure
|
DataArray
|
Surface pressure in Pa with dimensions of latitude, longitude and time, \(p_s\).
This is saved by Isca if the variable |
required |
albedo
|
float
|
Fraction of incident shortwave radiation reflected by the surface.
It is specified through the option |
0
|
tau_equator
|
float
|
Surface optical depth at the equator, \(\tau_{0e}^*\).
It is specified through the option |
0
|
tau_lat_var
|
float
|
Variation of optical depth with latitude, \(\Delta \tau^*\).
It is specified through the option |
0
|
pressure_exponent
|
float
|
Determines the variation of optical depth with pressure, \(\kappa^*\).
It is specified through the option |
4
|
ref_pressure
|
float
|
Reference pressure used by Isca in Pa.
It is specified through the option |
101325
|
Returns:
Type | Description |
---|---|
DataArray
|
Net downward shortwave radiation at the top of atmosphere with dimensions of latitude, longitude and time. |
Source code in isca_tools/utils/radiation.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
|
frierson_sw_optical_depth(surface_pressure, tau_equator=0, tau_lat_var=0, pressure_exponent=4, ref_pressure=101325)
Function to calculate shortwave surface optical depth, \(\tau_s\), as a function of latitude, \(\phi\), as performed in Isca for the Frierson and Byrne radiation schemes:
All default values are the default values in Isca if the option is not specified in the relavent namelist
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
surface_pressure
|
DataArray
|
Surface pressure in Pa with dimensions of latitude, longitude and time, \(p_s\).
This is saved by Isca if the variable |
required |
tau_equator
|
float
|
Surface optical depth at the equator, \(\tau_{0e}^*\).
It is specified through the option |
0
|
tau_lat_var
|
float
|
Variation of optical depth with latitude, \(\Delta \tau^*\).
It is specified through the option |
0
|
pressure_exponent
|
float
|
Determines the variation of optical depth with pressure, \(\kappa^*\).
It is specified through the option |
4
|
ref_pressure
|
float
|
Reference pressure used by Isca in Pa.
It is specified through the option |
101325
|
Returns:
Type | Description |
---|---|
DataArray
|
Shortwave surface optical depth with dimensions of latitude, longitude and time. |
Source code in isca_tools/utils/radiation.py
7 8 9 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 |
|
get_heat_capacity(c_p, density, layer_depth)
Given heat capacity un units of \(JK^{-1}kg^{-1}\), this returns heat capacity in units of \(JK^{-1}m^{-2}\).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
c_p
|
float
|
Specific heat at constant pressure. Units: \(JK^{-1}kg^{-1}\) |
required |
density
|
float
|
Density of substance (usually air or water). Units: \(kgm^{-3}\) |
required |
layer_depth
|
float
|
Depth of layer. Units: \(m\) |
required |
Returns:
Type | Description |
---|---|
float
|
Heat capacity in units of \(JK^{-1}m^{-2}\). |
Source code in isca_tools/utils/radiation.py
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 |
|
opd_lw_gray(lat, pressure=None, kappa=1, tau_eq=6, tau_pole=1.5, pressure_ref=10 ** 5, frac_linear=0.1, k_exponent=4)
Returns the longwave optical depth used in the
Frierson
Isca rad_scheme
.
If pressure
not provided, will return surface value. Otherwise, will return value at give pressure
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
lat
|
ndarray
|
|
required |
pressure
|
Optional[float]
|
Pressure in Pa. |
None
|
kappa
|
float
|
Frierson optical depth scaling parameter.
|
1
|
tau_eq
|
float
|
Surface longwave optical depth at equator.
|
6
|
tau_pole
|
float
|
Surface longwave optical depth at pole.
|
1.5
|
pressure_ref
|
float
|
Reference pressure in Pa. |
10 ** 5
|
frac_linear
|
float
|
Determines partitioning between linear term and \(p^k\) term.
|
0.1
|
k_exponent
|
float
|
Pressure exponent.
|
4
|
Returns:
Name | Type | Description |
---|---|---|
opd |
ndarray
|
|
Source code in isca_tools/utils/radiation.py
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
|