Catalog Image Example


In [14]:
from gbdxtools import CatalogImage
cat_id = '104001000D7A8600'
cat_img = CatalogImage(cat_id)
print cat_img.shape


(8, 5376, 7936)

Accessing Multi-Spectral data or Panchromatic


In [15]:
bbox = [-110.85299491882326,32.167148499672855,-110.84870338439943,32.170236308395644]

ms_img = CatalogImage(cat_id, bbox=bbox)
pan_img = CatalogImage(cat_id, band_type='Pan', bbox=bbox)

ms_img.plot(w=5, h=5)
pan_img.plot(w=5, h=5)


Fetching Image... 1 tile
Fetching Image... 11 tiles

Pansharping


In [17]:
psharp_img = CatalogImage(cat_id, bbox=bbox, pansharpen=True)
psharp_img.plot(w=5, h=5)


Fetching Image... 11 tiles

In [ ]: