Simple Treeview with traits#

Since we are continuously receiving inquiries regarding the work with Rainbow5(TM) radar data, I will present here a nice way of visualizing the dictionary representation of an arbitrary Rainbow5 file.

This code snippet makes use of the python packages traits and traitsui.

Installing traits is as easy as:

$ pip install traitsui

By adapting this gist a treeview representation of the loaded dictionary is given in a simple qt-gui:

Now you can browse the contents of your versatile Rainbow5 data file and examine the needed dictionary-keys to fit in your data loading routine.

Example view

Credits: Thorsten Kranz View at StackOverflow