fVar(nc, <span class="string">'particle z position'</span>, <span class="string">'NC_FLOAT'</span>, nlag_dimid);
0085 netcdf.putAtt(nc, z_varid, <span class="string">'long_name'</span>, <span class="string">'particle z position'</span>);
0086 netcdf.putAtt(nc, z_varid, <span class="string">'units'</span>, <span class="string">'m'</span>);
0087 
0088 pathlength_varid = netcdf.defVar(nc, <span class="string">'pathlength'</span>, <span class="string">'NC_FLOAT'</span>, nlag_dimid);
0089 netcdf.putAtt(nc, pathl