WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2018-Oct-14 06:27:30

Junqing Zhang
Member
Registered: 2012-Nov-28
Posts: 121

Issue using chan_ests_to_HDF5.py

Hello, I was trying to run the examples of the experimental framework of 802.11 reference design. However I got the following errors when I was using chan_ests_to_HDF5.py.

I used the sample log and also the log data captured by log_capture_two_node_two_flow.py, but the errors are the same.

Could you please give me a clue what could be the possible reason?

Code:

WLAN Exp Log Example: OFDM Rx Entry Exporter
Traceback (most recent call last):
  File "chan_ests_to_HDF5.py", line 57, in <module>
    log_np = log_util.log_data_to_np_arrays(log_data, log_index_rx)
  File "C:\Mango_802.11_RefDes_v1.7.7\Python_Reference\wlan_exp\log\util.py", line 427, in log_data_to_np_arrays
    entries_nd[k] = k.generate_numpy_array(log_data, log_index[k])
  File "C:\Mango_802.11_RefDes_v1.7.7\Python_Reference\wlan_exp\log\entry_types.py", line 256, in generate_numpy_array
    np_arr = np.fromiter(index_iter, self.fields_np_dt, len(byte_offsets))
ValueError: invalid literal for int() with base 10: b' \x18\x01\x00\x00\x00\x00\x00|\x14\x0e\x00\x00\xd8\x01\x00\x04\x01\x00\xe01\xd4\x01\xfdC\xc6\x01\x00\x00\x00\x00\x004\'{\xcfi6\xc5\xeb\xfe8g\t/.\xf1#\xce\x19\xf85T\xfb\xa6:t\xe2\xdb1b\xcdK\x1f\x92\x

Offline

 

#2 2018-Oct-14 20:18:06

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Issue using chan_ests_to_HDF5.py

Please see this post - this is a known issue with recent versions of numpy.

Offline

 

#3 2018-Oct-15 03:39:21

Junqing Zhang
Member
Registered: 2012-Nov-28
Posts: 121

Re: Issue using chan_ests_to_HDF5.py

That's great. It works for me. Many thanks.

Offline

 

Board footer