2015-11-02 12:00:00 2015-11-02 14:00:00 1446490800.0 1446498000.0 {u'DATTIM': [], u'WSPD': [], u'WDIR': [], u'SNRU': [], u'SNRW': [], u'SNRV': []}
--> --> <type 'exceptions.KeyError'> | Python 2.7.3: /usr/local/bin/python Mon Nov 2 12:41:04 2015 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/uufs/chpc.utah.edu/common/home/u0035056/public_html/sodar/plot_asn_sodar.cgi in |
66 |
67 dat = np.array(data['DATTIM'][:]) |
=> 68 hgt = np.array(data['HEIGHT'][:]) |
69 spd = np.array(data['WSPD'][:]) |
70 dir = np.array(data['WDIR'][:]) |
hgt undefined, np = <module 'numpy' from '/usr/local/lib/python2.7/site-packages/numpy/__init__.pyc'>, np.array = <built-in function array>, data = {u'DATTIM': [], u'SNRU': [], u'SNRV': [], u'SNRW': [], u'WDIR': [], u'WSPD': []} |
<type 'exceptions.KeyError'>: 'HEIGHT'
args =
('HEIGHT',)
message =
'HEIGHT'