);
0179 netcdf.putAtt(nc,siglev_varid,<span class="string">'valid_max'</span>,<span class="string">'0.f'</span>);
0180 netcdf.putAtt(nc,siglev_varid,<span class="string">'formula_terms'</span>,<span class="string">'sigma: siglay eta: zeta depth: h'</span>);
0181 
0182 disp(<span class="string">'writing h attributes'</span>);
0183 h_varid=netcdf.defVar(nc,<span class="string">'h'</span>,<span class="string">'NC_FLOAT'</span>,nobc_dimid);
0184 netcdf.putAtt(nc,h_varid,<span class="string">'long_name'</span>,<