new.var.ncdf | R Documentation |
create an empty ncdf file with single variable.
new.var.ncdf(ncfile, lpjgrid_path, var_name, units, time_start, time_interval, time_dim, longname = var_name, missval = 1e+32)
lpjgrid: |
the path of LPJ grid |
var_name: |
variable name |
time_start: |
start year for yearly output, start month for monthly output. e.g. "1900" and "1900-01-01" |
time_interval: |
"years" or "months" or "days" |
time_dim: |
length of time dimention, e.g. months * years |
lonname: |
the description of the variable |
list(cout, vardef): cout is the new ncdf file, and vardef \ is the definition of the all variables defined
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.