an>);
0244 netcdf.putAtt(nc,temperature_varid,<span class="string">'coordinates'</span>,<span class="string">'lat lon'</span>);
0245 netcdf.putAtt(nc,temperature_varid,<span class="string">'type'</span>,<span class="string">'data'</span>);
0246 
0247 disp(<span class="string">'writing u velocity attributes'</span>);
0248 u_varid=netcdf.defVar(nc,<span class="string">'u'</span>,<span class="string">'NC_FLOAT'</span>,[nele_dimid,siglay_dimid, time_dimid]);
0249 netcdf.putAtt(nc,u_varid,<span class="string">'l