{
"cells": [
{
"cell_type": "markdown",
"id": "426c5336-c3db-4a73-bd82-92677607b386",
"metadata": {},
"source": [
"# RO Parameters\n",
"\n",
"| Class | Parameter (equation) | Parameter (code) | Unit | Physical meaning |\n",
"|------------------------|--------------------|-----------------|------|-------|\n",
"| Deterministic Parameters | **Linear parameters** | | | |\n",
"| | $R$ | R | month$^{-1}$ | Bjerknes feedback |\n",
"| | $F_1$ | F1 | K m$^{-1}$ month$^{-1}$ | Delayed oceanic feedback efficiency |\n",
"| | $F_2$ | F2 | m K$^{-1}$ month$^{-1}$ | Recharge/discharge efficiency |\n",
"| | $\\varepsilon$ | epsilon | month$^{-1}$ | Basin adjustment |\n",
"| | **Nonlinear parameters** | | | |\n",
"| | $b_T$ | b_T | K$^{-1}$ month$^{-1}$ | Deterministic quadratic nonlinearities | \n",
"| | $c_T$ | c_T | K$^{-2}$ month$^{-1}$ | Deterministic cubic nonlinearities |\n",
"| | $d_T$ | d_T | m$^{-1}$ month$^{-1}$ | Deterministic quadratic nonlinearities |\n",
"| | $b_h$ | b_h | K$^{-2}$ m month$^{-1}$ | Deterministic quadratic nonlinearities |\n",
"| Noise parameters | $\\sigma_T$ | sigma_T | K month$^{-\\frac{1}{2}}$ (n_T = 1)
K month$^{-1}$ (n_T = 0) | Stochastic forcing amplitude |\n",
"| | $\\sigma_h$ | sigma_h | m month$^{-\\frac{1}{2}}$ (n_h = 1)
m month⁻¹ (n_h = 0) | Stochastic forcing amplitude |\n",
"| | $B$ | B | K⁻¹ | State-dependence noise |\n",
"| | $m_T$ | m_T | month⁻¹ | red noise decorrelation rate |\n",
"| | $m_h$ | m_h | month⁻¹ | red noise decorrelation rate |\n",
"| Noise option parameters | $n_T$ | n_T | no unit | noise option |\n",
"| | $n_h$ | n_h | no unit | noise option |\n",
"| | $n_g$ | n_g | no unit | noise option |\n",
"| Noise forcing | $\\xi_T$ | xi_T | no unit | red noise |\n",
"| | $\\xi_h$ | xi_h | no unit | red noise |\n",
"| | $w_T$ | w_T | month$^{-\\frac{1}{2}}$ | white noise |\n",
"| | $w_h$ | w_h | month$^{-\\frac{1}{2}}$ | white noise |\n",
"| External forcing | $E_T$ | E_T | K month⁻¹ | extental forcing |\n",
"| | $E_h$ | E_h | m month⁻¹ | extental forcing |\n",
"| Variable | $T$ | T | K | ENSO SST anomaly |\n",
"| | $h$ | h | m | ENSO therocline anomaly |\n",
"\n",
"\n",
"\n",
"\n",
"**Linear and Nonlinear Parameters**:\n",
"\n",
"$R$ (`R`), $F_1$ (`F1`), $F_2$ (`F2`), $\\varepsilon$ (`epsilon`), $b_T$ (`b_T`), $c_T$ (`c_T`), $d_T$ (`d_T`), $b_h$ (`b_h`)\n",
"\n",
"- `'parameter': []` → interpreted as zero (e.g., `'R': []` is the same as `'R': [0.0]`)\n",
"\n",
"- `'parameter': [value]` → only the annual mean is used (e.g., `'R': [-0.05]` means the annual mean value of –0.05 is used for R)\n",
"\n",
"- `'parameter': [mean, amplitude, phase (in radians)]` → annual mean and annual seasonality are used\n",
" (e.g., `'R': [-0.05, 0.05, np.pi]` means R has an annual mean of –0.05 and a seasonal variation with amplitude 0.05 and phase shift $\\pi$)\n",
"\n",
"- `'parameter': [mean, amp₁, phase₁ (in radians), amp₂, phase₂ (in radians)]` → annual mean, annual seasonality, and semi-annual seasonality are used\n",
" (e.g., `'R': [-0.05, 0.05, np.pi, 0.01, np.pi/2]` means R has an annual mean of –0.05, annual amplitude 0.05 with phase $\\pi$, and semi-annual amplitude 0.01 with phase $\\pi/2$)\n",
"\n",
"- Any other form → **invalid** (e.g., `'parameter': [mean, amp]` will raise an error)\n",
"\n",
"\n",
"\n",
"**Noise Parameters**:\n",
"\n",
"$\\sigma_T$ (`sigma_T`), $\\sigma_h$ (`sigma_h`), $B$ (`B`), $m_T$ (`m_T`), $m_h$ (`m_h`)\n",
"\n",
"- These follow the same format as the linear and nonlinear parameters, meaning that **seasonality can be included for RO simulations**.\n",
"\n",
"- However, **RO parameter fitting does not support seasonality** in these parameters.\n",
" Therefore, it is strongly recommended to use **annual means only** for consistency during RO fitting.\n",
"\n",
"\n",
"\n",
"**Noise Option Parameters**:\n",
"\n",
"$n_T$ (`n_T`), $n_h$ (`n_h`), $n_g$ (`n_g`)\n",
"\n",
"- `n_T` and `n_h` are flags that specify the noise type for the $T$ and $h$ equations, respectively: \n",
" - `0`: red noise \n",
" - `1`: white noise\n",
"\n",
"- `n_g` is a flag for the **multiplicative noise type** in the $T$ equation: \n",
" - `0`: linear multiplicative noise $(1 + B \\cdot T)$ \n",
" - `1`: Heaviside-based multiplicative noise $(1 + B \\cdot H(T) \\cdot T)$ \n",
" - `2`: no multiplicative noise (i.e., additive only)\n",
"\n",
"- `'parameter': [integer]` or `'parameter': integer` is a valid option; any other format will raise an error.\n",
"\n",
"- Mixed noise types (e.g., `n_T = 0`, `n_h = 1`) are **allowed** in the solver but **not allowed during parameter fitting**. \n",
" Therefore, it is strongly recommended to use a **consistent noise type** (either white or red) for both the $T$ and $h$ equations.\n",
"\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}