View source: R/plot_temp_compare.R
plot_temp_compare | R Documentation |
Deprecated. Plot matching heatmaps for modeled and observed temp
plot_temp_compare(
nc_file,
field_file,
fig_path = NULL,
resample = TRUE,
interval = 1,
method = "match",
text.size = 12,
...
)
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 |
Luke Winslow
Internally uses plot_var_compare
, get_temp
and resample_to_field
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!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.