View source: R/load_nc_physics.R
load_nc_physics | R Documentation |
This function loads Atlantis outputfiles (netcdf) and converts them to a
data.frame
. The function should be replaced by adding additional
functionality to load_nc
, but it works as is for right now.
Todo: remove the function and fix load_nc
load_nc_physics(
dir = getwd(),
file_nc,
physic_variables,
aggregate_layers,
bboxes
)
dir |
The directory of the atlantis model output, where the
default is |
file_nc |
A character value giving the file name of the netcdf file
you are trying to read in. The file should be located in your current working
directory or the folder you specify in |
physic_variables |
A character value specifying which variables should be loaded. Only one variable can be loaded at a time. Currently, only the following variables are allowed: "salt", "NO3", "NH3", "Temp", "Oxygen", "Si", "Det_Si", "DON", "Chl_a", "Denitrifiction", "Nitrification". |
aggregate_layers |
A logical specifying if layers shall be aggregated. |
bboxes |
A vector of boundary boxes.
The default value is |
A data.frame
in long format with the following information:
variable, timestep, polygon, and value (= "atoutput").
get_boundary
, load_box
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.