Skip to main content

Data Assembly Complete

Milestone #2: Data Assembly

I'm comfortable saying I've completed this milestone. I've finished all the major features and have a nice interface for interacting with the downloaded data.

There are a few minor issues but none require a lot of time or brainpower to implement. Mostly nice-to-have enhancements like better error checking in my code that I feel compelled to do but aren't critical right now. I'll complete them as time allows.

The important thing is that I can now begin downloading the data I need without fear that I will need to download everything a second time later.

I made an interactive tool in matplotlib to visualize a spatial map of the locations I've downloaded data for. It looks like this:

In [1]:
%cd ..
%matplotlib notebook

from sequencing.sequencer import Graph

g = Graph('test')

g.init_plot()
/home/jim/Projects/ITP/pds

I have panorama data for each of the points. I can click on them to display the data for that location. I can also remove points from the graph and highlight points. I can use my mouse to zoom in and out. I can't demo that in a blog though, but trust me, its pretty neat.

The code is backed by the networkx library.

I need to add a few more features to the UI to make the interface complete. It's my first time using matplotlib's event handling and I'm quite impressed. I'll definitely use this again in the future.

Here's one of the assembled images:

In [2]:
img = g.generate('GycNqg9Vi2g3eqgn_iZt5A')

img
Out[2]: