Skip to content

Instantly share code, notes, and snippets.

@jpolchlo
jpolchlo / gist:7127d2c9d88ded1b9b0c9c8396f87acc
Last active September 30, 2016 20:19
GW/GM Multitenancy notes
MT2 service:
GeoWave produced 54097 returns
GeoMesa produced 15509 returns
GeoWave had 2039 results over 5000 milliseconds
GeoMesa had 4852 results over 5000 milliseconds
GeoWave's return times scale generally according to the following formula:
duration = 0.227 + 0.00005424 * results + 0.0354 * concurrent
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

# Reading in Sentinel-2 Images

Sentinel-2 is an observation mission developed by the European Space Agency to monitor the surface of the Earth [official website](http://www.esa.int/Our_Activities/Observing_the_Earth/Copernicus/Sentinel-2). Sets of images are taken of the surface where each image corresponds to a specific wavelength. These images can provide useful data for a wide variety of industries, however, the format they are stored can prove difficult to work with. This being, JPEG 2000 (file extension .jp2), an image compression format for JPEGs that allow for improved quality and compression ratio.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[I 14:02:29.503 NotebookApp] Kernel started: aafaf48b-ecce-4106-8517-db33b8d25da0
Traceback (most recent call last):
File "/home/jpolchlopek/.python_envs/geonotebook/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/home/jpolchlopek/.python_envs/geonotebook/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 393, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/home/jpolchlopek/.python_envs/geonotebook/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 389, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib64/python3.4/http/client.py", line 1227, in getresponse
[E 13:00:14.614 NotebookApp] Uncaught exception GET /ktile/01db536e-f48e-4285-a5a9-ad552c4b170d/NLCD/2/1/3.png (127.0.0.1)
HTTPServerRequest(protocol='http', host='127.0.0.1:8888', method='GET', uri='/ktile/01db536e-f48e-4285-a5a9-ad552c4b170d/NLCD/2/1/3.png', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Accept': '*/*', 'Host': '127.0.0.1:8888', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0', 'Accept-Encoding': 'gzip, deflate', 'Dnt': '1', 'Connection': 'keep-alive', 'Origin': 'http://localhost:8888', 'Accept-Language': 'en-US,en;q=0.5', 'Referer': 'http://localhost:8888/notebooks/TMS.ipynb'})
Traceback (most recent call last):
File "/home/jpolchlopek/.python_envs/geonotebook/lib/python3.4/site-packages/tornado/web.py", line 1511, in _execute
result = yield result
File "/home/jpolchlopek/.python_envs/geonotebook/lib/python3.4/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
File "/home/jpolchlopek/.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.