Skip to content

Commit

Permalink
Documentation updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfiorella committed Dec 21, 2024
1 parent f04835a commit 0811309
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 51 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ URL: https://github.com/lanl/NEONiso,
https://lanl.github.io/NEONiso/
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
Imports:
dplyr,
zoo,
Expand Down
2 changes: 1 addition & 1 deletion R/calibrate_ambient_carbon_Bowling2003.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' calibrate_ambient_carbon_Bowling2003
#' Calibrate ambient carbon isotope data using gain-and-offset method
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#'
Expand Down
2 changes: 1 addition & 1 deletion R/calibrate_ambient_carbon_linreg.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' calibrate_ambient_carbon_linreg
#' Calibrate ambient carbon isotope data using linear regression
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#'
Expand Down
2 changes: 1 addition & 1 deletion R/calibrate_carbon.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' calibrate_carbon
#' Calibrate NEON carbon isotope data using validation data sets.
#'
#' `r lifecycle::badge("experimental")`
#' This function drives a workflow that reads in NEON carbon isotope data
Expand Down
2 changes: 1 addition & 1 deletion R/calibrate_water.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' calibrate_water
#' Calibrate NEON water isotope ratios using validation data sets.
#'
#' `r lifecycle::badge("experimental")`
#' This function uses NEON validation data to apply drift corrections to
Expand Down
7 changes: 4 additions & 3 deletions R/filtering_functions.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# filtering_functions.R
# a file with a few optinos for filtering output data.
# a file with a few option for filtering output data.
#---------------------------------
#' filter_median_Brock86
#' Apply a median absolute deviation filter
#'
#' Median absolute deviation filter of Brock 1986.
#' Median absolute deviation filter of Brock 1986, with user specified
#' width and magnitude thresholds.
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#'
Expand Down
14 changes: 10 additions & 4 deletions R/quality_control.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# quality control - functions to validate the output data file structure

#' validate_analyte
#'
#' Standardize analyte names
#'
#' Enforces standard capitalization and formatting of H2o and Co2
#' analyte names across calibration functions.
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#' @param analyte Co2 or H2o?
#'
Expand All @@ -10,7 +13,6 @@
#' are standardized across package functions.
#'
#'
#'
validate_analyte <- function(analyte) {
# helper function to make sure the various output functions are consistent.
# check to make sure first letter of analyte is capitalized,
Expand All @@ -25,7 +27,11 @@ validate_analyte <- function(analyte) {
}


#' validate_output_file
#' Validate output file.
#'
#' Function ensures that the output file has the correct
#' groups in it, as a check to ensure proper file structure at the
#' end of the calibration routines.
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#'
Expand Down
9 changes: 6 additions & 3 deletions R/time_functions.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#--------------------------------------------------------------
#' convert_POSIXct_to_NEONhdf5_time
#' Convert a POSIXct object to the format used in NEON HDF5 files
#'
#' Converts a POSIXct object back to the character format used by NEON in their
#' HDF eddy covariance files. Output format, using strptime syntax, is
#' HDF eddy covariance files. Output format, using strptime syntax, is
#' %Y-%m-%dT%H:%M:%OSZ.
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
Expand Down Expand Up @@ -45,7 +45,10 @@ convert_POSIXct_to_NEONhdf5_time <- function(intime) {
return(outtime)
}

#' convert_NEONhdf5_to_POSIXct_time
#' Convert NEON HDF5 file time to POSIXct
#'
#' Converts the date time string in NEON HDF5 files to a POSIXct object
#' for use in R.
#'
#' @author Rich Fiorella \email{rfiorella@@lanl.gov}
#'
Expand Down
2 changes: 1 addition & 1 deletion man/NEONiso-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/R_to_delta.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/calculate_12CO2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/calculate_13CO2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/calibrate_ambient_carbon_Bowling2003.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/calibrate_ambient_carbon_linreg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/calibrate_carbon.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/calibrate_water.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/convert_NEONhdf5_to_POSIXct_time.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/convert_POSIXct_to_NEONhdf5_time.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/delta_to_R.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/filter_median_brock86.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions man/get_Rstd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/manage_local_EC_archive.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/terrestrial_core_sites.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/terrestrial_gradient_sites.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0811309

Please sign in to comment.