wradlib - proghttp://wradlib.org/2016-03-11T10:00:00+01:00Simple Treeview with traits2016-03-11T10:00:00+01:002016-03-11T10:00:00+01:00kmuehlbauertag:wradlib.org,2016-03-11:/2016/03/treeview-with-traits/<p>Since we are continuously receiving inquiries regarding the work with Rainbow5(<span class="caps">TM</span>) radar data, I will present here a nice way of visualizing the dictionary representation of an arbitrary Rainbow5&nbsp;file.</p> <p>This code snippet makes use of the python packages traits and&nbsp;traitsui.</p> <p>Installing traits is as easy&nbsp;as:</p> <div class="highlight"><pre><span></span>$ pip …</pre></div><p>Since we are continuously receiving inquiries regarding the work with Rainbow5(<span class="caps">TM</span>) radar data, I will present here a nice way of visualizing the dictionary representation of an arbitrary Rainbow5&nbsp;file.</p> <p>This code snippet makes use of the python packages traits and&nbsp;traitsui.</p> <p>Installing traits is as easy&nbsp;as:</p> <div class="highlight"><pre><span></span>$ pip install traitsui </pre></div> <p>By adapting this gist a treeview representation of the loaded dictionary is given in a simple&nbsp;qt-gui:</p> <script src="https://gist.github.com/wradlib/9037b8a67dfbcff3b7de.js"></script> <p>Now you can browse the contents of your versatile Rainbow5 data file and examine the needed dictionary-keys to fit in your data loading&nbsp;routine.</p> <p><img alt="Example view" src="/uploads/2016/simple-treeview-with-traits.png"></p> <p>Credits: <a href="http://stackoverflow.com/users/1156006/thorsten-kranz">Thorsten Kranz</a> <a href="http://stackoverflow.com/questions/15023333/simple-tool-library-to-visualize-huge-python-dict">View at&nbsp;StackOverflow</a></p>