Description Usage Arguments Value Author(s) See Also Examples
This function is used to read in data from the initial conditions file.
1 | load_init(init, vars)
|
init |
Character string giving the connection of the initial conditions netcdf file.
The filename usually contains |
vars |
Vector of character strings giving the variables to extract from the netcdf file. |
A list of dataframes with columns atoutput, polygon and layer (if present).
Alexander Keth
Other load functions:
load_box()
,
load_bps()
,
load_dietcheck()
,
load_fgs()
,
load_init_age()
,
load_mort()
,
load_nc_physics()
,
load_nc()
,
load_rec()
,
load_spec_mort()
,
load_spec_pred_mort()
,
load_txt()
1 2 3 4 5 | d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
init <- file.path(d, "INIT_VMPA_Jan2015.nc")
load_init(init, vars = "Planktiv_S_Fish1_Nums")
load_init(init, vars = c("Planktiv_S_Fish2_ResN", "Planktiv_S_Fish3_ResN"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.