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