codes:errorbudget
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
codes:errorbudget [2020/12/13 22:15] – fparraro | codes:errorbudget [2020/12/13 22:35] – fparraro | ||
---|---|---|---|
Line 609: | Line 609: | ||
^ ’rho_o3_m’ | Cross correlation coefficient between o3 and Rayleigh optical mass ^ | ^ ’rho_o3_m’ | Cross correlation coefficient between o3 and Rayleigh optical mass ^ | ||
^ ’rho_o3_p’ | Cross correlation coefficient between o3 and pressure ^ | ^ ’rho_o3_p’ | Cross correlation coefficient between o3 and pressure ^ | ||
- | ^ ’rho_o3_etc’ | Cross correlation coefficient between o3 and ETC | + | ^ ’rho_o3_etc’ | Cross correlation coefficient between o3 and ETC ^ |
^ ’rho_mu_B’ | Cross correlation coefficient between ozone optical mass and weighted Rayleigh depth ^ | ^ ’rho_mu_B’ | Cross correlation coefficient between ozone optical mass and weighted Rayleigh depth ^ | ||
^ ’rho_mu_m’ | Cross correlation coefficient between ozone optical mass and Rayleigh optical mass ^ | ^ ’rho_mu_m’ | Cross correlation coefficient between ozone optical mass and Rayleigh optical mass ^ | ||
^ ’rho_mu_p’ | Cross correlation coefficient between ozone optical mass and pressure ^ | ^ ’rho_mu_p’ | Cross correlation coefficient between ozone optical mass and pressure ^ | ||
- | ^ ’rho_mu_etc’ | Cross correlation coefficient between ozone optical mass and ETC | + | ^ ’rho_mu_etc’ | Cross correlation coefficient between ozone optical mass and ETC ^ |
^ ’rho_B_m’ | Cross correlation coefficient between weighted Rayleigh depth and Rayleigh optical mass ^ | ^ ’rho_B_m’ | Cross correlation coefficient between weighted Rayleigh depth and Rayleigh optical mass ^ | ||
^ ’rho_B_p’ | Cross correlation coefficient between weighted Rayleigh depth and pressure ^ | ^ ’rho_B_p’ | Cross correlation coefficient between weighted Rayleigh depth and pressure ^ | ||
Line 654: | Line 654: | ||
* // | * // | ||
+ | |||
* // | * // | ||
+ | |||
* // | * // | ||
Line 682: | Line 684: | ||
* ’// | * ’// | ||
- | | + | |
- | $single\_ratio2 = f_4 - f_2$ | + | * $single\_ratio2 = f_{4} - f_{2}$ |
- | $single\_ratio3 = f_4 - f_3$ | + | * $single\_ratio3 = f_{4} - f_{3}$ |
- | $single\_ratio4 = f_5 - f_4$ | + | * $single\_ratio4 = f_{5} - f_{4}$ |
* ’// | * ’// | ||
- | | + | |
- | $double\_ratio2\_unc = double\_ratio2 * \sum_i \frac{u_{fi}}{f_{i}} * w\_o3_{i+1}$ | + | * $double\_ratio2\_unc = double\_ratio2 * \sum_{i} |
* '// | * '// | ||
- | | + | |
- | $measure\_unc = \sqrt{\left(1+\frac{slope\_wavelength}{100}\right)^{2}*double\_ratio2\_unc^{2} + \left(\frac{measure}{100}\right)^{2}*slope\_wavelength\_unc^{2}}$ | + | * $measure\_unc = \sqrt{\left(1+\frac{slope\_wavelength}{100}\right)^{2}*double\_ratio2\_unc^{2} + \left(\frac{measure}{100}\right)^{2}*slope\_wavelength\_unc^{2}}$ |
=== combined() === | === combined() === | ||
Line 710: | Line 712: | ||
| | ||
out = combined( measure, config ) | out = combined( measure, config ) | ||
- | print("u_o3: & | + | print("u_o3: " |
- | print("o3 : "+str(out[' | + | print("o3 : " |
The fields ’// | The fields ’// | ||
Line 811: | Line 813: | ||
$u_{out}^{2} = u^{2}[i] + tc^{2}[i]*u_{t}^{2} + t^{2}*u_{tc}^{2}[i]$ | $u_{out}^{2} = u^{2}[i] + tc^{2}[i]*u_{t}^{2} + t^{2}*u_{tc}^{2}[i]$ | ||
- | where //u_{t}// is the temperature uncertainty which usially is //1/sqrt(3)//. | + | where $u_{t}$ is the temperature uncertainty which usially is $1/sqrt(3)$. |
**Example** | **Example** | ||
Line 817: | Line 819: | ||
brewer_unc.temp_unc( u2_f, t, tc, u_tc ) | brewer_unc.temp_unc( u2_f, t, tc, u_tc ) | ||
| | ||
- | The input parameter //u2_f// is a list of five floats with the uncertainties. //tc// is list of five floats with the temperature coefficients. //t// is a float with the temperature of the system in Celsius degrees. u_tc// is list of five floats with the temperature coefficient uncerainties. | + | The input parameter //u2_f// is a list of five floats with the uncertainties. //tc// is list of five floats with the temperature coefficients. //t// is a float with the temperature of the system in Celsius degrees. |
The // | The // | ||
Line 920: | Line 922: | ||
import brewer | import brewer | ||
| | ||
- | config = {' | + | config = {' |
unc = 0.01 | unc = 0.01 | ||
| | ||
Line 932: | Line 934: | ||
* ’// | * ’// | ||
+ | |||
* ’// | * ’// | ||
codes/errorbudget.txt · Last modified: 2024/03/22 13:31 by jlsolano