In [1]:
from bands import *

blue = get_blue()
green = get_green()
red = get_red()


/home/nicholas/Documents/data/LC8/199/024/LC81990242013280LGN00/LC81990242013280LGN00_BT_B10.nc
/home/nicholas/Documents/data/LC8/199/024/LC81990242013280LGN00/LC81990242013280LGN00_rrc_483.nc
/home/nicholas/Documents/data/LC8/199/024/LC81990242013280LGN00/LC81990242013280LGN00_rrc_561.nc
/home/nicholas/Documents/data/LC8/199/024/LC81990242013280LGN00/LC81990242013280LGN00_rrc_655.nc

In [2]:
from views import create_composite
img = create_composite(red, green, blue)

In [3]:
from matplotlib import pyplot as plt
plt.imshow(img)


Out[3]:
<matplotlib.image.AxesImage at 0x7fbe3ca29e80>

In [4]:
plt.show()

In [5]:
from skimage import exposure
img_rescale = exposure.rescale_intensity(img, (0, 95))

In [6]:
plt.imshow(img_rescale)
plt.show()

In [ ]: