https://github.com/bricegrunert/cdom
Various packages for processing and analyzing colored dissolved organic matter absorption
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○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 (7.3%) to scientific vocabulary
Repository
Various packages for processing and analyzing colored dissolved organic matter absorption
Basic Info
- Host: GitHub
- Owner: bricegrunert
- License: mit
- Language: MATLAB
- Default Branch: main
- Size: 295 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
cdom
Various packages for processing and analyzing colored dissolved organic matter (CDOM) absorption
Primary Functions
process_acdom
This function uses CDOM absorbance, deionized water (DI) scans and pathlength to calculate CDOM absorption. The function follows a specific station naming convention noted below. Once absorbance scans are classified to a specific station, an outlier analysis is used to ensure all scans used to calculate absorption are quality scans. Outliers are identified using Matlab's isoutlier function (Matlab 2017a) with default settings (outlier is defined as more than three scaled median absolute deviations away from median of all available scans).
Sample naming convention
cruisedatestationdepthsample-type_replicate
Example: LS20030915ag_R1
cdomspectralslope
This function fits an exponential model to measured CDOM absorption and calculates the spectral slope, or shape of the exponential curve, over a user-specified wavelength range. This function requires Matlab's curve fitting toolbox and the fit function, along with sub-functions cdommodel and cdommodel_noK. Model output contains coefficients in dot notation (e.g., model.s is the spectral slope).
Dependent Functions
cdom_model
cdommodelnoK
Example Code
``` file = '~/datafolder/cdomexamples/rawcdom/cdomabsorbance_examples.xlsx';
% note - change data_folder in file path to location of file
dat = process_acdom(file,0.05,[],200,750);
for ii = 1:length(dat) model = cdomspectralslope(dat(ii).wavelength,dat(ii).ag,275,295,350); S275295(ii) = model.s; end
S275295 = round(S275295,4); ```
Owner
- Name: Brice Grunert
- Login: bricegrunert
- Kind: user
- Website: https://www.researchgate.net/profile/Brice_Grunert
- Repositories: 2
- Profile: https://github.com/bricegrunert