span class="string">'Variable Dir does not exist not being added to netCDF output'</span>)
0167 <span class="keyword">else</span>
0168     nc{<span class="string">'wdir'</span>} = ncfloat(<span class="string">'time'</span>,<span class="string">'node'</span>);
0169     nc{<span class="string">'wdir'</span>}.long_name = <span class="string">'Wave  Direction'</span>;
0170     nc{<span class="string">'wdir'</span>}.units     = <span class="string">'degree'</span>;
0171 <span class="keyword">end</span>;
0172 
01