2016-12-04 02:57:25,518 INFO root procdirname: os38nb 2016-12-04 02:57:25,522 DEBUG root Updating pygbin files for os38nb 2016-12-04 02:57:25,522 INFO root getting time offsets 2016-12-04 02:57:25,524 INFO root gridding headings 2016-12-04 02:57:25,540 INFO root making gbins 2016-12-04 02:57:25,548 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:25,548 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:25,549 INFO quick_adcp importing numpy version 1.8.2 2016-12-04 02:57:25,552 INFO quick_adcp importing matplotlib version 1.4.3 2016-12-04 02:57:25,553 DEBUG quick_mpl in Q_mpl 2016-12-04 02:57:25,553 DEBUG root Make averages 2016-12-04 02:57:25,553 DEBUG root Using Pingavg 2016-12-04 02:57:25,555 INFO pingavg ---------------- 2016-12-04 02:57:25,555 INFO pingavg sonar is os38nb 2016-12-04 02:57:25,555 INFO pingavg Pingavg.run for time range 338.105721 to 338.123147 2016-12-04 02:57:25,555 INFO pingavg transducer offset: xducer_dx = 0.000, xducer_dy = 0.000 2016-12-04 02:57:25,555 INFO pingavg shifted positions applied to *.gpst2 and *.uvship' 2016-12-04 02:57:25,555 INFO pingavg ---------------- 2016-12-04 02:57:25,557 DEBUG pingavg Chunk 1 of 1, 338.105721 to 338.123147 2016-12-04 02:57:25,557 DEBUG pingavg 1 segments, 338.119610 to 338.123082 2016-12-04 02:57:25,582 DEBUG pingavg Closing /home/data/EX1608_01/proc/os38nb/load/ens_blk001.cmd, no profiles written 2016-12-04 02:57:25,583 INFO pingavg update 338.11960961 338.12308183 4 0 ex2016_338_09128 2016-12-04 02:57:25,583 INFO pingavg Wrote bin, cmd for 1 ensembles in 1 files. 0 seconds 2016-12-04 02:57:25,583 DEBUG pingavg amp: 0 topo: 0 bottom: 0 weak: 0 hcorr: 0 2016-12-04 02:57:25,587 DEBUG root Finished Pingavg; made 1 averages 2016-12-04 02:57:25,587 DEBUG root about to make mpl last ens plot for os38nb 2016-12-04 02:57:25,621 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:25,621 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:25,621 DEBUG ensplot computer says 2016/12/04 02:57:25 2016-12-04 02:57:25,621 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:25,622 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:25,622 DEBUG ensplot computer says 2016/12/04 02:57:25 2016-12-04 02:57:25,902 DEBUG mpltools saved os38nb_lastens.png with dpi 70 2016-12-04 02:57:25,965 DEBUG mpltools saved os38nb_lastens_thumb.png with dpi 40 2016-12-04 02:57:25,965 DEBUG mpltools copied os38nb_lastens.png to /home/adcp/www/figures/os38nb_lastens.png 2016-12-04 02:57:25,965 DEBUG mpltools copied os38nb_lastens_thumb.png to /home/adcp/www/figures/thumbnails/os38nb_lastens_thumb.png 2016-12-04 02:57:25,965 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:25,965 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:25,965 DEBUG ensplot computer says 2016/12/04 02:57:25 2016-12-04 02:57:26,224 DEBUG mpltools saved ktprof_amp_lastens.png with dpi 70 2016-12-04 02:57:26,286 DEBUG mpltools saved ktprof_amp_lastens_thumb.png with dpi 40 2016-12-04 02:57:26,287 DEBUG mpltools copied ktprof_amp_lastens.png to /home/adcp/www/figures/ktprof_amp_lastens.png 2016-12-04 02:57:26,287 DEBUG mpltools copied ktprof_amp_lastens_thumb.png to /home/adcp/www/figures/thumbnails/ktprof_amp_lastens_thumb.png 2016-12-04 02:57:26,287 DEBUG ensplot proc_yearbase is None 2016-12-04 02:57:26,287 DEBUG ensplot last data time jday 339 02:57:14 2016-12-04 02:57:26,287 DEBUG ensplot computer says 2016/12/04 02:57:26 2016-12-04 02:57:26,336 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