get_raw: get raw data from GLM simulation

View source: R/get_raw.R

get_rawR Documentation

get raw data from GLM simulation

Description

Returns the raw data in a GLM simulation nc file.

Usage

get_raw(file = "output.nc", param_name)

Arguments

file

a string with the path to the netcdf output from GLM

param_name

Name of parameter requested (see details for list)

Details

NS
hice
hsnow
hwice
precip
evap
I_0
wind
Tot_V
V
salt
temp
rho
rad
ext_coef
z

Value

the raw matrix or vector from the NC file

Author(s)

Luke A. Winslow, Jordan S. Read

See Also

sim_vars

Examples

sim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output/output.nc')
wind <- get_raw(nc_file, 'wind') #raw wind data

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