In [22]:
%matplotlib inline
import pyart
import matplotlib.pyplot as plt
import numpy as np

In [40]:
dset = pyart.io.read('C:/Users/jpan/Documents/data/KVNX20110520_100147_V06.gz')

In [23]:
dset1 = pyart.io.read('../data/KLOT_20150608_1845')

In [24]:
dset1.fields.keys()


Out[24]:
['differential_phase',
 'cross_correlation_ratio',
 'spectrum_width',
 'reflectivity',
 'differential_reflectivity',
 'velocity']

In [25]:
type(dset1.fields['reflectivity'])


Out[25]:
dict

In [26]:
display = pyart.graph.RadarDisplay(dset1)

In [27]:
display.plot_ppi('velocity', 1, vmin=-20, vmax=20)
#vmin/vmax refers to luminance, i.e. photometric measure of luminous intensity
#per unit area of light traveling in a given direction.)
display.set_limits(xlim=(-100, 75), ylim=(-100, 75), ax=None)



In [18]:
plt.figure(figsize = (20, 10))
plt.imshow(dset.fields['reflectivity']['data'], aspect = 0.1, origin = 'bottom')
plt.xlabel('range gate')
plt.ylabel('ray number')


Out[18]:
<matplotlib.text.Text at 0x10a26f450>

In [28]:
print "Now I can move on to bigger things wootwoot"


Now I can move on to bigger things wootwoot