plot_temp_compare: Deprecated. Plot matching heatmaps for modeled and observed...

View source: R/plot_temp_compare.R

plot_temp_compareR Documentation

Deprecated. Plot matching heatmaps for modeled and observed temp

Description

Deprecated. Plot matching heatmaps for modeled and observed temp

Usage

plot_temp_compare(
  nc_file,
  field_file,
  fig_path = NULL,
  resample = TRUE,
  interval = 1,
  method = "match",
  text.size = 12,
  ...
)

Arguments

nc_file

Netcdf model output file

field_file

CSV or TSV field data file (see resample_to_field for format)

fig_path

F if plot to screen, string path if save plot as .png

resample

sample the model output to the same time points as the observations?

interval

Positive number indicating the depth interval in meters to interpolate output data. Must be less than max depth of lake. Default = 0.5 m.

method

String; 'match' for exact match or 'interp' for temporal interpolation

text.size

Integer; Default is 12. Higher values will increase text size in plot.

...

additional arguments passed to ggsave()

Author(s)

Luke Winslow

See Also

Internally uses plot_var_compare, get_temp and resample_to_field

Examples

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

plot_temp_compare(nc_file, field_file) ##makes a plot!

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