View source: R/create_netcdf_output.R
create_netcdf_output | R Documentation |
Create a netcdf from lists of output, generated by run_ensemble
create_netcdf_output(
output_lists,
folder = ".",
model,
out_time,
longitude = 0,
latitude = 0,
compression = 4,
members = 25,
out_file = "ensemble_output.nc"
)
output_lists |
list; list containing lists of output (e.g. temperature, ice_height) |
folder |
filepath; to folder which contains the model folders generated by export_config() |
model |
vector; model to export driving data. Options include c("GOTM", "GLM", "Simstrat", "FLake", "MyLake") |
out_time |
data frame; data frame with column ("datetime"), describing at what times output should be generated |
longitude |
numeric; longitude of lake to be added to netCDF file |
latitude |
numeric; latitude of lake to be added to netCDF file |
compression |
integer;between 1 (least compression) and 9 (most compression), this enables compression for the variable as it is written to the file. Turning compression on forces the created file to be in netcdf version 4 format. |
members |
integer; number of members to have in the netCDF file. |
out_file |
filepath; to save netCDF file defaults to "ensemble_output.nc" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.