iglay)
0376 netcdf.putVar(nc,siglev_varid,Msiglev)
0377 
0378 disp(<span class="string">'writing h_varid data'</span>);
0379 netcdf.putVar(nc,h_varid,Mobj.h);
0380 
0381 disp(<span class="string">'writing nv_varid data'</span>);
0382 Mobj.nv = Mobj.nv';
0383 netcdf.putVar(nc,nv_varid,Mobj.nv);
0384 
0385 <span class="comment">%hkj test - doubtful if this is required</span>
0386 disp(<span class="string">'writing nobc_varid data'</span>);
0387 netcdf.putVar(nc,nobc_varid,ObcNodes);
0388 
0389 disp(<span clas