This repository contains code to estimate methane emission start and end time (detection), source location (localization), and emission rate (quantification) using concentration data from point-in-space continuous monitoring systems. The code is separated into two main scripts located in the code
directory: MAIN_1_simulate
runs the Gaussian puff atmospheric dispersion model, and MAIN_2_DLQ
uses output from the Gaussian puff model to perform DLQ. The HELPER scripts contain auxiliary functions used in the MAIN_1
and MAIN_2
scripts.
Inputs and parameters of the DLQ model are controlled using two configuration files found in the input_data
directory. The simulation_config.txt
file controls input for the MAIN_1
script and the DLQ_config.txt
file controls input for the MAIN_2
script. A README file is provided for each config file in the input_data
directory. The MAIN_3
script generates all results and figures for the accompanying manuscript (Daniels et al. 2024): https://doi.org/10.1525/elementa.2023.00110
The input_data
directory contains sensor and source locations from the ADED experiment discussed in Daniels et al. 2024. The output_data
directory is where output from the MAIN_1
and MAIN_2
scripts is saved. Output files have been pre-generated and are saved in these directories. The raw concentration data used to generate the output files cannot be made publicly available due to privacy concerns, but can be made available upon request for research purposes.