2018-07-31 16:08:33,742 INFO root procdirname: os75nb 2018-07-31 16:08:33,746 DEBUG root Updating pygbin files for os75nb 2018-07-31 16:08:33,747 INFO root getting time offsets 2018-07-31 16:08:33,752 INFO root gridding headings 2018-07-31 16:08:33,781 INFO root making gbins 2018-07-31 16:08:33,857 INFO quick_adcp importing numpy version 1.11.0 2018-07-31 16:08:33,864 INFO quick_adcp importing matplotlib version 1.5.1 2018-07-31 16:08:33,865 DEBUG quick_mpl in Q_mpl 2018-07-31 16:08:33,865 DEBUG root Make averages 2018-07-31 16:08:33,866 DEBUG root Using Pingavg 2018-07-31 16:08:33,869 INFO pingavg ---------------- 2018-07-31 16:08:33,869 INFO pingavg sonar is os75nb 2018-07-31 16:08:33,869 INFO pingavg Pingavg.run for time range 211.666682 to 211.672595 2018-07-31 16:08:33,869 INFO pingavg transducer offset: xducer_dx = 2.000, xducer_dy = 24.000 2018-07-31 16:08:33,869 INFO pingavg shifted positions applied to *.gpst2 and *.uvship' 2018-07-31 16:08:33,869 INFO pingavg ---------------- 2018-07-31 16:08:33,873 DEBUG pingavg Chunk 1 of 1, 211.666682 to 211.672595 2018-07-31 16:08:33,873 DEBUG pingavg 1 segments, 211.668805 to 211.672278 2018-07-31 16:08:33,940 DEBUG pingavg Closing /home/data/SKQ201817T/proc/os75nb/load/ens_blk005.cmd, no profiles written 2018-07-31 16:08:33,940 INFO pingavg update 211.66880533 211.67227755 285 4 skq2018_211_57600 2018-07-31 16:08:33,940 INFO pingavg Wrote bin, cmd for 1 ensembles in 1 files. 0 seconds 2018-07-31 16:08:33,941 DEBUG pingavg amp: 0 topo: 0 bottom: 0 weak: 0 hcorr: 0 2018-07-31 16:08:33,951 DEBUG root Finished Pingavg; made 1 averages 2018-07-31 16:08:33,951 DEBUG root about to make mpl last ens plot for os75nb 2018-07-31 16:08:33,958 DEBUG ensplot proc_yearbase is 2018 2018-07-31 16:08:33,958 DEBUG ensplot last data time 2018/07/31 16:08:03 UTC 2018-07-31 16:08:33,958 DEBUG ensplot computer says 2018/07/31 16:08:33 2018-07-31 16:08:33,959 DEBUG ensplot proc_yearbase is 2018 2018-07-31 16:08:33,959 DEBUG ensplot last data time 2018/07/31 16:08:03 UTC 2018-07-31 16:08:33,959 DEBUG ensplot computer says 2018/07/31 16:08:33 2018-07-31 16:08:34,344 INFO ensplot os75nb (dday = 211.672) heading correction: 0.41 deg, 2018/07/31 16:08:03 UTC 2018-07-31 16:08:34,506 DEBUG mpltools saved os75nb_lastens.png with dpi 70 2018-07-31 16:08:34,595 DEBUG mpltools saved os75nb_lastens_thumb.png with dpi 40 2018-07-31 16:08:34,595 DEBUG mpltools copied os75nb_lastens.png to /home/adcp/www/figures/os75nb_lastens.png 2018-07-31 16:08:34,596 DEBUG mpltools copied os75nb_lastens_thumb.png to /home/adcp/www/figures/thumbnails/os75nb_lastens_thumb.png 2018-07-31 16:08:34,596 DEBUG ensplot proc_yearbase is 2018 2018-07-31 16:08:34,596 DEBUG ensplot last data time 2018/07/31 16:08:03 UTC 2018-07-31 16:08:34,596 DEBUG ensplot computer says 2018/07/31 16:08:34 2018-07-31 16:08:34,980 INFO ensplot os75nb (dday = 211.672) heading correction: 0.41 deg, 2018/07/31 16:08:03 UTC 2018-07-31 16:08:35,135 DEBUG mpltools saved ktprof_amp_lastens.png with dpi 70 2018-07-31 16:08:35,233 DEBUG mpltools saved ktprof_amp_lastens_thumb.png with dpi 40 2018-07-31 16:08:35,233 DEBUG mpltools copied ktprof_amp_lastens.png to /home/adcp/www/figures/ktprof_amp_lastens.png 2018-07-31 16:08:35,234 DEBUG mpltools copied ktprof_amp_lastens_thumb.png to /home/adcp/www/figures/thumbnails/ktprof_amp_lastens_thumb.png 2018-07-31 16:08:35,234 DEBUG ensplot proc_yearbase is 2018 2018-07-31 16:08:35,234 DEBUG ensplot last data time 2018/07/31 16:08:03 UTC 2018-07-31 16:08:35,234 DEBUG ensplot computer says 2018/07/31 16:08:35 2018-07-31 16:08:35,359 INFO ensplot vecprof: vecscale is 1.0 2018-07-31 16:08:35,359 ERROR root In body of run_lastensq.py Traceback (most recent call last): File "/usr/local/currents/bin/run_lastensq.py", line 416, in E(plotname = 'kt_vecprof', zbin=4) #colorscheme='day' File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 228, in __call__ self.fig5 = self.plot_vecprof_ktvec(zbin=zbin, vcolor=vcolor) File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 546, in plot_vecprof_ktvec self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin, vecscale=vecscale) File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 625, in plot_vecprof ax.quiver(0*zgood, zgood, UnboundLocalError: local variable 'zgood' referenced before assignment