Learn R Programming

neonSoilFlux (version 1.0.0)

swc_correct: Internal function to correct depths for VSWC NEON data.

Description

Given the expanded SWC data, return a corrected version based on the values below

Usage

swc_correct(input_swc, curr_site, reference_time)

Value

A revised list of corrected soil water content and depths.

Arguments

input_swc

Required. input soil water content data from acquire_neon_data (as a list)

curr_site

Current site we are working with

reference_time

Current month we are working with

Author

John Zobitz zobitz@augsburg.edu

Examples

Run this code
# \donttest{
# Download the soil water content data:
site_swc <- neonUtilities::loadByProduct(
dpID="DP1.00094.001",
site="SJER",
startdate="2020-05",
enddate="2020-05",
timeIndex = "30",
package="expanded",
check.size = FALSE,
include.provisional = TRUE
)

# Then correct the swc:
site_swc <- swc_correct(site_swc,"SJER","2020-05")
# }

Run the code above in your browser using DataLab