get_ice | R Documentation |
Creates a data.frame with DateTime and ice.
This function sums the thickness of the clear ice, white ice,
and optionally, the thickness of snow for each timestep in the GLM model.
get_ice(file = "output.nc", snow.rm = TRUE, ...)
file |
a string with the path to the netcdf output from GLM |
snow.rm |
a boolean for ignoring snow depth in the calculation of ice thickness |
... |
additional arguments passed to |
a data.frame with DateTime and ice (in meters)
Luke A. Winslow, Jordan S. Read
sim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output/output.nc')
ice <- get_ice(nc_file)
ice_and_snow <- get_ice(nc_file, snow.rm = FALSE)
plot(ice)
points(ice_and_snow, col = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.