{"id":23586807,"url":"https://github.com/hammerling-research-group/dlq","last_synced_at":"2025-11-03T11:30:28.531Z","repository":{"id":258649716,"uuid":"866615439","full_name":"Hammerling-Research-Group/dlq","owner":"Hammerling-Research-Group","description":"Production code for DLQ Algorithm","archived":false,"fork":false,"pushed_at":"2024-10-18T02:50:39.000Z","size":9507,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-21T02:05:57.883Z","etag":null,"topics":["algorithm","detection","dlq","emissions","localization","methane-detection","oil-and-gas","quantification","sensors"],"latest_commit_sha":null,"homepage":"https://ams.mines.edu/hammerling-research-group/research/dlq","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hammerling-Research-Group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-02T15:17:10.000Z","updated_at":"2024-10-18T02:50:43.000Z","dependencies_parsed_at":"2024-10-20T01:21:13.623Z","dependency_job_id":null,"html_url":"https://github.com/Hammerling-Research-Group/dlq","commit_stats":null,"previous_names":["hammerling-research-group/dlq"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hammerling-Research-Group%2Fdlq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hammerling-Research-Group%2Fdlq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hammerling-Research-Group%2Fdlq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hammerling-Research-Group%2Fdlq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hammerling-Research-Group","download_url":"https://codeload.github.com/Hammerling-Research-Group/dlq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412444,"owners_count":19634016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","detection","dlq","emissions","localization","methane-detection","oil-and-gas","quantification","sensors"],"created_at":"2024-12-27T04:14:16.064Z","updated_at":"2025-11-03T11:30:28.483Z","avatar_url":"https://github.com/Hammerling-Research-Group.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dlq\n*Production code for DLQ Algorithm*\n\n[![R Lint](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/lint.yml/badge.svg)](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/lint.yml)\n[![R tests](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/test.yml/badge.svg)](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/test.yml)\n[![Check Link Rot](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/check-link-rot.yaml/badge.svg)](https://github.com/Hammerling-Research-Group/dlq/actions/workflows/check-link-rot.yaml)\n[![GitHub license](https://img.shields.io/github/license/Hammerling-Research-Group/DLQ?color=blue)](https://github.com/Hammerling-Research-Group/DLQ/blob/main/LICENSE)\n[![GitHub contributors](https://img.shields.io/github/contributors/Hammerling-Research-Group/DLQ.svg)](https://github.com/Hammerling-Research-Group/DLQ/graphs/contributors/)\n\n## Detection, localization, and quantification (DLQ) \n\nThis repository contains code used to estimate methane emission start and end time (detection), source location (localization), and emission rate (quantification) using concentration observations from a network of point-in-space continuous monitoring systems. \n\nFor more on this work, see Daniels et al. (2024), https://doi.org/10.1525/elementa.2023.00110\n\n## Installation \u0026 Usage\n\nThough the current code is still largely in \"research code\" form, users are still encouraged to engage with it. \n\nTo do so, the simplest approach is to clone the repo and work from the `dlq` directory. \n\n1. Set your desired directory from which to work. E.g., for your Desktop:\n\n```bash\ncd Desktop\n```\n\n2. Clone and store `dlq` at the desired location:\n\n```bash\ngit clone https://github.com/Hammerling-Research-Group/dlq.git\n```\n\n3. Move into the cloned `dlq` directory:\n\n```bash\ncd dlq\n```\n\n4. Once cloned, go into the `dlq` folder and open `DLQ.Rproj` by double clicking it. This should open a new RStudio session, with `DLQ.Rproj` set as the root. \n\n5. In the session, navigate to the `Files` tab and then open the `R` subdirectory.\n     - Start by opening and running the `MAIN_1_simulate.R` script (*For details on these scripts, see the `Code Structure` section below*).\n     - Then, proceed to and run the `MAIN_2_DLQ.R` script\n\n## Code Structure\n\nThe code is separated into two main scripts: 1) `MAIN_1_simulate` runs the Gaussian puff atmospheric dispersion model, and 2) `MAIN_2_DLQ` uses output from the Gaussian puff model to perform DLQ. The `/helpers/HELPER_*` scripts contain auxiliary functions used in the `MAIN_1_` and `MAIN_2_` scripts.\n\nInputs to the `MAIN_1_` and `MAIN_2_` files are controlled using two configuration files found in the `input_data` directory:\n\n  - `simulation_config.txt` file controls input for the `MAIN_1_` script\n\n  - `DLQ_config.txt` controls input for the `MAIN_2_` script\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammerling-research-group%2Fdlq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhammerling-research-group%2Fdlq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammerling-research-group%2Fdlq/lists"}