Published July 21, 2024 | Version v2
Software Open

GUM uncertainty framework, Unscented transformation, and Monte Carlo approaches for the uncertainty evaluation of Brewer UV measurements

  • 1. Instituto Nacional de Técnica Aeroespacial
  • 2. Universidad de Extremadura
  • 3. Universidad Interamericana de Puerto Rico
  • 4. Centro de Investigación Atmosférica de Izaña

Description

The software is implemented in R for the uncertainty evaluation of Brewer #150 UV measurements using three different approaches: an analytical one (the GUM uncertainty framework) and two numerical methods (the Unscented transformation and the Monte Carlo method). The software consists of several files. For the programs to work, the corresponding dataset must be downloaded (https://doi.org/10.5281/zenodo.12790731) and saved in a folder named 'Data' under the same directory as the code files.

"MCM.R": for the uncertainty evaluation based on the Monte Carlo method. It considers ten uncertainty sources (wavelength shift, noise, dark counts, dead time, distance, current, lamp irradiance, stability, temperature and cosine error) and returns the combined standard uncertainty as well as the uncertainties caused by each error source. 

"GUF.R": for the uncertainty evaluation based on the GUM uncertainty framework. It considers ten uncertainty sources (wavelength shift, noise, dark counts, dead time, distance, current, lamp irradiance, stability, temperature and cosine error) and returns the combined standard uncertainty as well as the uncertainties caused by each error source. 

"UT.R": for the uncertainty evaluation based on the Unscented transformation (propagation of the uncertainty using sigma points). It considers ten uncertainty sources (wavelength shift, noise, dark counts, dead time, distance, current, lamp irradiance, stability, temperature and cosine error) and returns the combined standard uncertainty as well as the uncertainties caused by each error source. 

"OAT.R": Function to study the contribution of each uncertainty source to the total uncertainty bugdet of Brewer UV measurements (one at a time). This is obtained by a Monte Carlo simulation with M trials. By default, M = 10 ^ 5

"OAT_unscented.R": Function to study the contribution of each uncertainty source to the total uncertainty budget of Brewer UV measurements (one at a time). This is obtained by defining the sigma points and propagating them through the nonlinear irradiance model. By default, beta = 2 (optimal for GAussian PDFs)

"calculate_irr.R": Function to calculate the measured irradiance by a Brewer.

Files

README.txt

Files (93.7 kB)

Name Size Download all
md5:e0dfe525f18b1cb98f2bc35143584f90
2.3 kB Download
md5:1ba70cc62c69a1f086d550bf681e41fe
17.6 kB Download
md5:9225dd0f488fff3ee91a69e1a9f0a02c
12.9 kB Download
md5:9fb637f9454e7b651b98c1cff57ff692
11.8 kB Download
md5:dd0cf0c5354166d8418e1015ef832ccc
24.7 kB Download
md5:dde423053bcce154c419124a8a810cd7
6.9 kB Preview Download
md5:8a400ea3fad0792cc4dd573cc3549eac
17.6 kB Download

Additional details

Software

Programming language
R