2017-07-28 17:46:14,492 INFO root procdirname: os150bb 2017-07-28 17:46:14,497 DEBUG root Updating pygbin files for os150bb 2017-07-28 17:46:14,497 INFO root getting time offsets 2017-07-28 17:46:14,506 INFO root gridding headings 2017-07-28 17:46:14,531 INFO root making gbins 2017-07-28 17:46:14,534 DEBUG gbin write_gbins: dday.size is 0, files ['/home/data/SR1711a/rbin/hydrins/sr2017_208_18918.hdg.rbin'] 2017-07-28 17:46:14,535 DEBUG gbin write_gbins: dday.size is 0, files ['/home/data/SR1711a/rbin/hydrins/sr2017_208_18918.gps.rbin'] 2017-07-28 17:46:14,596 INFO quick_adcp importing numpy version 1.8.2 2017-07-28 17:46:14,601 INFO quick_adcp importing matplotlib version 1.4.3 2017-07-28 17:46:14,602 DEBUG quick_mpl in Q_mpl 2017-07-28 17:46:14,602 DEBUG root Make averages 2017-07-28 17:46:14,602 DEBUG root Using Pingavg 2017-07-28 17:46:14,605 INFO pingavg ---------------- 2017-07-28 17:46:14,605 INFO pingavg sonar is os150bb 2017-07-28 17:46:14,605 INFO pingavg Pingavg.run for time range 208.666671 to 208.740292 2017-07-28 17:46:14,605 INFO pingavg transducer offset: xducer_dx = 0.000, xducer_dy = 0.000 2017-07-28 17:46:14,605 INFO pingavg shifted positions applied to *.gpst2 and *.uvship' 2017-07-28 17:46:14,605 INFO pingavg ---------------- 2017-07-28 17:46:14,608 DEBUG pingavg Chunk 1 of 1, 208.666671 to 208.740292 2017-07-28 17:46:14,608 DEBUG pingavg 1 segments, 208.736351 to 208.739823 2017-07-28 17:46:14,662 DEBUG pingavg Closing /home/data/SR1711a/proc/os150bb/load/ens_blk001.cmd, no profiles written 2017-07-28 17:46:14,662 INFO pingavg update 208.73635074 208.73982296 149 0 sr2017_208_57600 2017-07-28 17:46:14,662 INFO pingavg Wrote bin, cmd for 1 ensembles in 1 files. 0 seconds 2017-07-28 17:46:14,662 DEBUG pingavg amp: 0 topo: 0 bottom: 0 weak: 0 hcorr: 0 2017-07-28 17:46:14,668 DEBUG root Finished Pingavg; made 1 averages 2017-07-28 17:46:14,668 DEBUG root about to make mpl last ens plot for os150bb 2017-07-28 17:46:14,678 DEBUG ensplot proc_yearbase is None 2017-07-28 17:46:14,679 DEBUG ensplot last data time jday 209 17:45:19 2017-07-28 17:46:14,679 DEBUG ensplot computer says 2017/07/28 17:46:14 2017-07-28 17:46:14,679 DEBUG ensplot proc_yearbase is None 2017-07-28 17:46:14,679 DEBUG ensplot last data time jday 209 17:45:19 2017-07-28 17:46:14,679 DEBUG ensplot computer says 2017/07/28 17:46:14 2017-07-28 17:46:15,068 DEBUG mpltools saved os150bb_lastens.png with dpi 70 2017-07-28 17:46:15,158 DEBUG mpltools saved os150bb_lastens_thumb.png with dpi 40 2017-07-28 17:46:15,159 DEBUG mpltools copied os150bb_lastens.png to /home/adcp/www/figures/os150bb_lastens.png 2017-07-28 17:46:15,159 DEBUG mpltools copied os150bb_lastens_thumb.png to /home/adcp/www/figures/thumbnails/os150bb_lastens_thumb.png 2017-07-28 17:46:15,159 DEBUG ensplot proc_yearbase is None 2017-07-28 17:46:15,160 DEBUG ensplot last data time jday 209 17:45:19 2017-07-28 17:46:15,160 DEBUG ensplot computer says 2017/07/28 17:46:15 2017-07-28 17:46:15,530 DEBUG mpltools saved ktprof_amp_lastens.png with dpi 70 2017-07-28 17:46:15,621 DEBUG mpltools saved ktprof_amp_lastens_thumb.png with dpi 40 2017-07-28 17:46:15,622 DEBUG mpltools copied ktprof_amp_lastens.png to /home/adcp/www/figures/ktprof_amp_lastens.png 2017-07-28 17:46:15,622 DEBUG mpltools copied ktprof_amp_lastens_thumb.png to /home/adcp/www/figures/thumbnails/ktprof_amp_lastens_thumb.png 2017-07-28 17:46:15,622 DEBUG ensplot proc_yearbase is None 2017-07-28 17:46:15,622 DEBUG ensplot last data time jday 209 17:45:19 2017-07-28 17:46:15,622 DEBUG ensplot computer says 2017/07/28 17:46:15 2017-07-28 17:46:15,688 ERROR root In body of run_lastensq.py Traceback (most recent call last): File "/usr/local/currents/bin/run_lastensq.py", line 414, in E(plotname = 'kt_vecprof', zbin=4) #colorscheme='day' File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 201, 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 515, in plot_vecprof_ktvec self.plot_ktvec2(fig=fig, ax1=ax[1], xtext=.75, textsize=18, ytextshift=.15) File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 849, in plot_ktvec2 self.ktdir_data.u = u UnboundLocalError: local variable 'u' referenced before assignment