sim_vars: Get list of variables from a GLM simulation

View source: R/sim_vars.R

sim_varsR Documentation

Get list of variables from a GLM simulation

Description

Get list of variables from a GLM simulation

Usage

sim_vars(file = "output.nc")

Arguments

file

a string with the path to the netcdf output from GLM

Value

A data frame with columns name, unit, longname.

Author(s)

Stuart E. Jones, Jordan S. Read, Luke A. Winslow

See Also

sim_var_longname, sim_var_units, plot_var

Examples

sim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output/output.nc')
sim_vars(file = nc_file)

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