ss="string">'units'</span>,<span class="string">'meters'</span>);
0124 
0125 disp(<span class="string">'writing y attributes'</span>);
0126 y_varid=netcdf.defVar(nc,<span class="string">'y'</span>,<span class="string">'NC_FLOAT'</span>,nobc_dimid);
0127 netcdf.putAtt(nc,y_varid,<span class="string">'long_name'</span>,<span class="string">'nodal y-coordinate'</span>);
0128 netcdf.putAtt(nc,y_varid,<span class="string">'units'</span>,<span class="string">'meters'</span>);
0129 
0130 disp(<span class="string">