View source: R/get_surface_height.R
get_surface_height | R Documentation |
Creates a data.frame with DateTime and surface_height.
get_surface_height(file = "output.nc", ice.rm = TRUE, snow.rm = TRUE, ...)
file |
a string with the path to the netcdf output from GLM |
ice.rm |
a boolean for including ice thickness in surface height |
snow.rm |
a boolean for including snow depth thickness in surface height |
... |
additional arguments passed to |
a data.frame with DateTime and surface_height (in meters)
Jordan S. Read, Luke A. Winslow
sim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output/output.nc')
surface <- get_surface_height(file = nc_file)
surface_w_ice <- get_surface_height(file = nc_file, ice.rm = FALSE, snow.rm = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.