plot_validate_profiles: Plot validation and model temperature profiles for all unique...

View source: R/plot_validate_profiles.R

plot_validate_profilesR Documentation

Plot validation and model temperature profiles for all unique dates

Description

Plot validation and model temperature profiles for all unique dates

Usage

plot_validate_profiles(nc_file, field_file, fig_path = NULL, ...)

Arguments

nc_file

a string with the path to the netcdf output from GLM

field_file

a string with the path to the field observation file

fig_path

Default is NULL (only plots to screen). Enter string path to save as output file. File type can be anything supported by ggplot2:ggsave. See examples. If argument is not used, plotting is skipped

...

additional arguments passed to ggsave()

Author(s)

Luke A. Winslow, Jordan S. Read, Hilary A. Dugan

See Also

validate_sim, resample_to_field

Examples

nc_file <- system.file("extdata", "output/output.nc", package = "glmtools")
field_file <- system.file("extdata", "LakeMendota_field_data.csv", package = "glmtools")

# create a multiple metric diagnostic fig within R:
plot_validate_profiles(nc_file, field_file, fig_path = NULL, method = 'interp')

USGS-R/glmtools documentation built on March 26, 2024, 5:43 p.m.