lass="comment">% write data</span>
0274 netcdf.putVar(nc,nobc_varid,obc_nodes);
0275 netcdf.putVar(nc,obc_h_varid,obc_h);
0276 netcdf.putVar(nc,obc_siglev_varid,siglev);
0277 netcdf.putVar(nc,obc_siglay_varid,siglay);
0278 <span class="keyword">if</span> strtime
0279     nStringOut = char();
0280     [nYr, nMon, nDay, nHour, nMin, nSec] = mjulian2greg(time);
0281     <span class="keyword">for</span> i=1:nTimes
0282         nDate = [nYr(i), nMon(i), nDay(i), nHour(i), nMin(i), nSec(i)];
0283         nStringO