deg &gt; 180;
0032     bad_lat     = A(zi).Nav.lat_deg &lt; -90 | A(zi).Nav.lat_deg &gt; 90;
0033     A(zi).Nav.long_deg(bad_long)    = NaN;
0034     A(zi).Nav.long_deg(bad_lat)     = NaN;
0035     A(zi).Nav.lat_deg(bad_long)     = NaN;
0036     A(zi).Nav.lat_deg(bad_lat)      = NaN;
0037 
0038     <span class="comment">% Convert lat long into xUTM and yUTM</span>
0039     [A(zi).Comp.xUTMraw,A(zi).Comp.yUTMraw,A(zi).Comp.utmzone] = <span class="keyword">...</span>
0040         deg2utm(A(zi).Nav.lat_deg,A(z