comment">%netcdf.putVar(nc,itime2_varid,0,numel(time),mod(time,1)*24*3600*1000); % PWC original</span>
0293     <span class="comment">% KJA edit: avoids rounding errors when converting from double to single</span>
0294     <span class="comment">% Rounds to nearest multiple of the number of msecs in an hour</span>
0295     netcdf.putVar(nc,itime2_varid,0,numel(time),round((mod(time,1)*24*3600*1000)/(3600*1000))*(3600*1000));
0296 <span class="keyword">end</span>
0297 netcdf.putVar(nc,obc_temp_varid,temp);
02