2016-12-04 02:57:24,369 INFO root procdirname: os38bb 2016-12-04 02:57:24,372 DEBUG root Updating pygbin files for os38bb 2016-12-04 02:57:24,373 INFO root getting time offsets 2016-12-04 02:57:24,374 INFO root gridding headings 2016-12-04 02:57:24,391 INFO root making gbins 2016-12-04 02:57:24,398 DEBUG gbin write_gbins: dday.size is 0, files ['/home/data/EX1608_01/rbin/gyro/ex2016_338_09128.hdg.rbin'] 2016-12-04 02:57:24,399 WARNING gbin /home/data/EX1608_01/gbin/os38/gyro/ex2016_338_09128.hdg.gbin is missing in make_best_gbin 2016-12-04 02:57:24,399 INFO quick_adcp importing numpy version 1.8.2 2016-12-04 02:57:24,402 INFO quick_adcp importing matplotlib version 1.4.3 2016-12-04 02:57:24,403 DEBUG quick_mpl in Q_mpl 2016-12-04 02:57:24,403 DEBUG root Make averages 2016-12-04 02:57:24,403 DEBUG root Using Pingavg 2016-12-04 02:57:24,405 INFO pingavg ---------------- 2016-12-04 02:57:24,405 INFO pingavg sonar is os38bb 2016-12-04 02:57:24,405 INFO pingavg Pingavg.run for time range 338.105721 to 338.123147 2016-12-04 02:57:24,405 INFO pingavg transducer offset: xducer_dx = 0.000, xducer_dy = 0.000 2016-12-04 02:57:24,405 INFO pingavg shifted positions applied to *.gpst2 and *.uvship' 2016-12-04 02:57:24,405 INFO pingavg ---------------- 2016-12-04 02:57:24,407 DEBUG pingavg Chunk 1 of 1, 338.105721 to 338.123147 2016-12-04 02:57:24,407 DEBUG pingavg 1 segments, 338.119610 to 338.123082 2016-12-04 02:57:24,434 DEBUG pingavg Closing /home/data/EX1608_01/proc/os38bb/load/ens_blk001.cmd, no profiles written 2016-12-04 02:57:24,434 INFO pingavg update 338.11960961 338.12308183 4 0 ex2016_338_09128 2016-12-04 02:57:24,434 INFO pingavg Wrote bin, cmd for 1 ensembles in 1 files. 0 seconds 2016-12-04 02:57:24,434 DEBUG pingavg amp: 0 topo: 0 bottom: 0 weak: 0 hcorr: 0 2016-12-04 02:57:24,439 DEBUG root Finished Pingavg; made 1 averages 2016-12-04 02:57:24,439 DEBUG root about to make mpl last ens plot for os38bb 2016-12-04 02:57:24,478 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:24,478 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:24,478 DEBUG ensplot computer says 2016/12/04 02:57:24 2016-12-04 02:57:24,478 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:24,478 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:24,478 DEBUG ensplot computer says 2016/12/04 02:57:24 2016-12-04 02:57:24,752 DEBUG mpltools saved os38bb_lastens.png with dpi 70 2016-12-04 02:57:24,815 DEBUG mpltools saved os38bb_lastens_thumb.png with dpi 40 2016-12-04 02:57:24,815 DEBUG mpltools copied os38bb_lastens.png to /home/adcp/www/figures/os38bb_lastens.png 2016-12-04 02:57:24,815 DEBUG mpltools copied os38bb_lastens_thumb.png to /home/adcp/www/figures/thumbnails/os38bb_lastens_thumb.png 2016-12-04 02:57:24,815 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:24,815 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:24,815 DEBUG ensplot computer says 2016/12/04 02:57:24 2016-12-04 02:57:25,076 DEBUG mpltools saved ktprof_amp_lastens.png with dpi 70 2016-12-04 02:57:25,138 DEBUG mpltools saved ktprof_amp_lastens_thumb.png with dpi 40 2016-12-04 02:57:25,138 DEBUG mpltools copied ktprof_amp_lastens.png to /home/adcp/www/figures/ktprof_amp_lastens.png 2016-12-04 02:57:25,139 DEBUG mpltools copied ktprof_amp_lastens_thumb.png to /home/adcp/www/figures/thumbnails/ktprof_amp_lastens_thumb.png 2016-12-04 02:57:25,139 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:25,139 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:25,139 DEBUG ensplot computer says 2016/12/04 02:57:25 2016-12-04 02:57:25,188 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 510, 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 844, in plot_ktvec2 self.ktdir_data.u = u UnboundLocalError: local variable 'u' referenced before assignment