Create netcdf file for APSIM

ncCreateApsim(
  filename,
  years,
  factors,
  traits,
  is.close = TRUE,
  global.att = NULL,
  ...
)

Arguments

filename

The filename to save netcdf file.

years

A vector for year demension.

factors

A list for all dimensions in the netcdf.

traits

A vector of traits in the netcdf.

is.close

Whether to close netcdf file.

global.att

Global attribures

...

Attributes of traits, e.g. unit If false, a nv variable will be returned.