Description Usage Arguments Value
View source: R/get_N_P_from_chemplot.R
This Function reads all the chemplot.out files from the WEPP simulation output folder, writes hillslope number and date to each hillslope chemplot file, extracts and calculate Nitrogen and Phosphorus variables in kg units and exports to individual csv file
1 2 3 4 5 6 | get_N_P_from_chemplot(
output_folder,
hillslope_area_df,
SimStartDate,
SimEndDate
)
|
output_folder |
A string pointing to the location of the WEPP simulation output folder containing chemplot.out files |
hillslope_area_df |
A data frame containing hillslope areas (retrived using get_hillslope_area function) |
SimStartDate |
A string specifying simulation start date as "YYYY-MM-DD" (eg: "1990-01-01") |
SimEndDate |
A string specifying simulation end date as "YYYY-MM-DD" (eg: "2010-12-31") |
A csv file containing all the processed values for each hillslope written in the output_folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.