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

View source: R/swc_correct.R

swc_correctR Documentation

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)

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

Value

A revised list of corrected soil water content and depths.

Author(s)

John Zobitz zobitz@augsburg.edu

Examples


# 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")


jmzobitz/NEONSoils documentation built on May 31, 2024, 12:20 p.m.