Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Keywords
Repository
Rn mass balance
Statistics
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Rnmassbalance
Click on the green Code button on GitHub.com to download the repository. The FINIFLUX2.0_2022 folder contains the Matlab based program "Finite element method for quantifying groundwater fluxes to streams using Radon", along with installation instructions and a user manual in pdf format. All other files and folders in the repository are associated with R scripts that quantify Radon budgets in coastal, estuarine, and lake environments. The rest of this page focuses on these R scripts.
The code is freely available to download and use. Please include a reference to the source in the resulting work (paper, report, presentation). APA and BibTeX citation formats are provided in the right hand column of the GitHub page of the repository. The authors made their best efforts but do not guarantee successful application of the code on all platforms and all data formats.
Use the Rn_mass_balance.Rproj file in the local project folder to launch the project in RStudio (you need to have R and RStudio already installed on your computer). Verify in the top right corner of RStudio that you are working within the project. When the project is launched the first time, the renv package maneger should automatically bootstrap itself, downloading and installing the appropriate version of renv into the project library. After this has completed, use renv::restore() to restore the project library locally on your machine. Once the project is successfully loaded, open the R script of interest though the File menu. For instance, for the coastal time-series mass balance, select File -> Open File -> sgd_coastal_ts.R
The folder structure is the following:
-
input- input files (i.e. data in csv format) -
output- output files (i.e. data in csv format) -
R- theRcode for the project -
renv- contains packages used in the project (should not be edited by a user)
The R/setup.R and R/util_funs.R scripts are not intended to be edited by the user.
The other scripts in the R folder analyze radon mass balance in coastal, estuarine and lake environments as implied by their names. Each step in the scripts is explained thoroughly via comments.
Input file format csv. The file name is specified near the top of the R script, for example:
````
input file name
csvfilein <- "sgdcoastalts_data.csv" ````
The column headings in the csv files list the input variables used in the analysis. The csv files in the input folder are examples of acceptable formats. Don't change the column headings, and remember that R is case sensitive, so time $\neq$ Time; they are different variables. The descriptions of input variables (some used in multiple R scripts) are below:
timeTime and date, acceptable formats:yyyy-mm-dd hh:mm:ss,mm/dd/yyy hh:mm,mm/dd/yyy hh:mm:ssRn_air__Bqm3atmospheric radon in air activity in units of Bq/m3, all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable atmospheric Rn in air values throughout the period of the measurementsRn_gw__Bqm3radon activity in groundwater in units of Bq/m3, all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable Rn in groundwater values throughout the period of the measurements. This variable is used for unstratified systems. for stratified estuary option seeRn_gw_btm__Bqm3andRn_gw_surf__Bqm3Rn_gw_btm__Bqm3radon activity in groundwater representing the groundwater end-member discharging below the pycnocline in units of Bq/m3Rn_gw_surf__Bqm3radon activity in groundwater representing the groundwater end-member discharging above the pycnocline in units of Bq/m3Rn_offshore__Bqm3radon activity in offshore ocean in units of Bq/m3, either determined directly or approximated from offshore dissolved 226Ra measurements, however this latter will result in over-correction as it neglects radon evasion,Rn_offshore__Bqm3is used to correct for radon input from offshore brought to the coastline by flood tideRn_exch__Bqm3radon measured usingRAD-Aquain an air-water gas exchanger in units of Bq/m3, all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable Rn values throughout the period of the measurements. None of the values need to be filled in ifRn_wat__Bqm3are provided.Rn_wat__Bqm3radon activity in water if available, otherwiseRn_wat_Bqm3will be calculated usingRn_exch_Bqm3and watersal_watandtemp_wat__C. None ofRn_wat__Bqm3values need to be filled in ifRn_exch__Bqm3are provided but one of these needs to be provided. The code checks if anyRn_wat_Bqm3is provided and if yes, it will only calculate radon mass balance for those rows where it is provided. Do not provide any numbers inRn_wat_Bqm3ifRn_exch__Bqm3is to be used.Rn_wat_ups__Bqm3radon activity at the upstream estuarine boundary in units of Bq/m3Rn_wat_dws__Bqm3radon activity at the downstream estuarine boundary in units of Bq/m3Rn_wat_surf_ups__Bqm3radon activity in surface estuarine water above the pycnocline at the upstream estuarine boundary in units of Bq/m3.Rn_wat_surf_dws__Bqm3radon activity in surface estuarine water above the pycnocline at the downstream estuarine boundary in units of Bq/m3.Rn_wat_btm_ups__Bqm3radon activity in bottom estuarine water below the pycnocline at the upstream estuarine boundary in units of Bq/m3.Rn_wat_btm_dws__Bqm3radon activity in bottom estuarine water below the pycnocline at the downstream estuarine boundary in units of Bq/m3.Ra226_wat__Bqm3dissolved 226Ra in water in units of Bq/m3, this is used to calculate excess 222Rn and ingrowth of 222Rn fromRa226_wat__Bqm3dissolved in the water column; all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable 226Ra values throughout the period of the measurementsRa226_wat_surf__Bqm3dissolved 226Ra in surface estuarine water above the pycnocline in units of Bq/m3.Ra226_wat_btm__Bqm3dissolved 226Ra in bottom estuarine water below the pycnocline in units of Bq/m3.q_ups__m3driver discharge at the upstream estuarine boundary in units of m3/dq_dws__m3driver discharge at the downstream estuarine boundary in units of m3/dlayerIDstratified lakes will have 3 layers, useepifor epilimnion,metafor metalimnion, and 'hypo' for hypolimnion to identify variables belonging to each layerdepth__mwater depth measurement in units ofmif water column is fully mixed, water layer depth if coastal model brackish water surface plume is considered; all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable values throughout the period of the measurements.d_box__mbox depth in units of m used in cases of stratified water layersa_box__m2box area in units of m2 used in cases of stratified water layerstemp_wat__Cwater temperature in degrees Celsiussal_watwater salinitysal_surfwater salinity above the estuarine pycnoclinesal_btmwater salinity below the estuarine pycnoclinesal_wat_upswater salinity at the upstream estuarine boundarysal_wat_dwswater salinity at the downstream estuarine boundarysal_wat_surf_upswater salinity above the estuarine pycnocline at the upstream estuarine boundarysal_wat_surf_dwswater salinity above the estuarine pycnocline at the downstream estuarine boundarysal_wat_btm_upswater salinity below the estuarine pycnocline at the upstream estuarine boundarysal_wat_btm_dwswater salinity below the estuarine pycnocline at the downstream estuarine boundarywind__mswind measurements in m/swat_current__cmscurrents measured in estuary in units of cm/sf_mix_exp__Bqm2hr- radon mixing losses in the coastal model may be measured directly using current meters or residence time estimates. Iff_mix_exp__Bqm2hrare not provided then losses by mixing in teh coastal ocean are set to equal negativef_Rn_net__Bqm2hr, this is a conservative approach providing minimal estimate of mixing loss and more representative radon budgets may result by direct experimental measurements of mixing losses provided asf_mix_exp__Bqm2hr. No values should be filled in if experimental estimates are not available.f_dif__Bqm2hrit is up to the user what method they want to use to derive/estimate Rn diffusion from bottom sediments, this program does not calculate radon fluxes by diffusion from sediments but it uses a user provided value in Bq/m2/hr; all rows have to be filled even if the same number is applicable for all measurements but this format allows the use of variable diffusion values throughout the period of the measurements; set to 0 if unknown or negligible, alse set to 0 if coastal model brackish water surface plume, stratified estuary surface layer or epilimnion and metalimnion in lakes are considered.
Owner
- Login: fuleky
- Kind: user
- Repositories: 2
- Profile: https://github.com/fuleky
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Rn mass balance
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Dini
family-names: Adyasari
email: dadyasari@ua.edu
affiliation: University of Alabama
orcid: 'https://orcid.org/0000-0002-3114-4053'
- given-names: Natasha
family-names: Dimova
email: ntdimova@ua.edu
affiliation: University of Alabama
orcid: 'https://orcid.org/0000-0002-8993-586X'
- given-names: Henrietta
family-names: Dulai
email: hdulaiov@hawaii.edu
affiliation: University of Hawaii
orcid: 'https://orcid.org/0000-0001-5970-1483'
- given-names: Tristan
family-names: McKenzie
email: tristan.mckenzie@gu.se
affiliation: University of Gothenburg
orcid: 'https://orcid.org/0000-0003-4656-439X'
- given-names: Peter
family-names: Fuleky
email: fuleky@hawaii.edu
affiliation: University of Hawaii
orcid: 'https://orcid.org/0000-0002-4094-2823'