2017-07-18 01:02:10,480 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:04:07,107 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:06:03,744 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:12:05,081 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:14:06,714 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:28:05,349 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:30:07,017 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 01:40:05,877 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:10:07,125 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:12:03,770 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:24:05,100 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:26:06,748 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:30:05,662 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 14:34:07,766 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 15:54:07,475 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 838, in plot_ktvec2
    self.ktdir_data.u = u
UnboundLocalError: local variable 'u' referenced before assignment
2017-07-18 17:00:04,068 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 23:54:06,374 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 23:56:08,039 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
2017-07-18 23:58:04,704 ERROR    root         In body of run_lastensq.py
Traceback (most recent call last):
  File "/usr/local/currents/bin/run_lastensq.py", line 413, in <module>
    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 513, in plot_vecprof_ktvec
    self.plot_vecprof(fig=fig, ax=ax[0], zbin=zbin)
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/adcp/ensplot.py", line 533, in plot_vecprof
    stats1 = binstats(zgood, ugood, segends=zgood[sl], avgtype='mean')
  File "/usr/local/lib/python2.7/dist-packages/pycurrents/num/binstats.py", line 53, in binstats
    raise ValueError("segends must be abcissa points")
ValueError: segends must be abcissa points
