s_north'</span>);
0141 
0142 disp(<span class="string">'writing xc attributes'</span>);
0143 xc_varid=netcdf.defVar(nc,<span class="string">'xc'</span>,<span class="string">'NC_FLOAT'</span>,nele_dimid);
0144 netcdf.putAtt(nc,xc_varid,<span class="string">'long_name'</span>,<span class="string">'zonal x-coordinate'</span>);
0145 netcdf.putAtt(nc,xc_varid,<span class="string">'units'</span>,<span class="string">'meters'</span>);
0146 
0147 disp(<span class="string">'writing yc attributes'</span>);
0148 yc_va