concatenateVariableAlongDimension
append new data to an existing variable
Declaration
concatenateVariableAlongDimension(name,data,dimName,index)
Parameters
namename of the variable (a string)datavariable datadimNamethe variable dimension along which to concatenatepropertiesindex at which to write data
Discussion
concatenates data along a variable dimension (such as a time dimension).
ncfile.concatenateVariableAlongDimension('u',u,'t',outputIndex);