dp.survey: Save Summary Graphs of Data Product Health by Month

Description Usage Arguments Value Author(s)

Description

For a specified data product ID, this function will produce summary plots of data product availability and validity for their period of record at a site. By default, plots for all sites with data product availability are generated and saved to the specified directory. If site is specified, only plots for the site(s) passed to that parameter are generated and saved.

Usage

1
dp.survey(dp.id, save.dir, site, pri.var)

Arguments

dp.id

Parameter of class character. The NEON data product code of the data product of interest.

save.dir

The directory for data files and output PNGs to be saved to.

site

Optional. Can specify single site or list of sites of interest.

pri.var

Optional. Can specify the data product field of interest (e.g. "windDirMean" for 2D wind direction).

Because the full period of record for all sites are queried, this function can take a long time to execute.

Value

Outputs a a PDF of plots data on of all measurement levesl, with one PDF per site. If only one site is specified, the GGPlot2 object for the summary plot is also returned, for use in automated report writing.

Author(s)

Robert Lee rlee@battelleecology.org


rhlee12/Noble documentation built on May 31, 2019, 10:36 a.m.