Description Usage Arguments Details See Also Examples
This function generates dummy flux, salinity, and temperature files for Atlantis.
1 2 |
b |
Number of boxes |
z |
Number of vertical boxes (i.e. layers) |
t |
Time. Defaults to 86400. |
model_name |
Name of the model. |
bgm_file |
Name of the bgm file. Include the file extension! |
hydro |
Generate the flux data. Defaults to TRUE. |
salt |
Generate the dummy salinity data. Defaults to TRUE. |
temp |
Generate the dummy temperature data. Defaults to TRUE |
gen_nc |
Generate the nc binary? Defaults to FALSE and required netcdf-bin to be installed. |
keep_cdf |
Keep the readable cdf file? Defaults to TRUE. |
This function generates dummy hydrography data, namely flux, salinity, and temperature data, in the Atlantis ncdf4 file format. This function can compress the resultant cdf file if gen_nc = TRUE
is set and can clean up after itself if keep_cdf = FALSE is set
. It can handle any arbitrary number of boxes (set by b
) and vertical layers (set by z
).
1 | dummy_hydro(b = 4, z, model_name = "dummy", bgm_file = "dummy.bgm", gen_nc = TRUE, keep_cdf = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.