Post-processing APSIM outputs into netcdf files
apsimOut2Nc(
filename,
years,
factors,
traits,
par_factor,
base,
factor_files,
base_sub = NULL,
merge_out_nc = TRUE,
yearvar = "year",
cpu_num = 14,
tmp_folder = file.path("Results", "tmpNc")
)
The filename of netcdf file
The years in the APSIM and netcdf
The factors in the netcdf and APSIM
The vector of traits write into netcdf file
The factors will be parallel processed
The base folder to store APSIM output files
The data.frame or vector of files to specify the output file names and levels
The sub-folder to store the single output files
Whether merge the parallel outputs into an array when updating netcdf files.
Variable name of yeas in the APSIM output file
The cpu number of parallel
The tmp folder to store merge APSIM output files