Issues

  • datepicker does not work on firefox and safari because they do not support the HTML date input field
  • can not set disabed state for datepicker
  • how to set the number of results

In [1]:
from IPython.display import clear_output, Javascript, display
from nbformat import current

import io
import os, fnmatch
from datetime import datetime
import urllib.request
from urllib.parse import quote
from pprint import pprint
import json
import subprocess

import ipywidgets as widgets
from ipywidgets import Layout, Box, HBox,DatePicker

html_metadata=widgets.HTML(
    value=""
)
from ipyleaflet import (
    Map,
    Marker,
    TileLayer, ImageOverlay,
    Polyline, Polygon, Rectangle, Circle, CircleMarker,
    GeoJSON,
    DrawControl
)

select=widgets.Select(
    options=[''],
    value='',
    # rows=10,
    description='OS:',
    disabled=False
)

widgetStartTime = DatePicker(description="From:", disabled=False,value=datetime(1970,1,1,0,0,0))
widgetEndTime = DatePicker(description="To:", disabled=False,value=datetime.now())
plotButton=widgets.Button(description="Show available products")
useTimeCheckBox=widgets.Checkbox(
    value=False,
    description='Use date',
    disabled=False
)
ile_wynikpw=widgets.BoundedIntText(
value=100,
min=1,
max=100000,
step=1,
description='Number of results:',
disabled=False
)

dc = DrawControl(circle={},rectangle={},polyline={},polygon={}
                ,marker={'shapeOptions':{'color':'#5300FF'}},edit=False)

mission=widgets.Dropdown(
    options=['All','Envisat','Landsat5','Landsat7','Landsat8','Sentinel1','Sentinel2','Sentinel3'],
    description='Mission:',
    value='All',
    disabled=False,
)

instrument=widgets.Dropdown(
    options=['All','Meris','TM','ETM','OLI','OLI_TIRS','TIRS','SAR','MSI','OLCI','SLSTR','SRAL'],
    description='Instrument:',
    disabled=False,
)

punkty=[]


def handle_draw(self, action, geo_json):
    global punkty
    if action=='created':
        punkty.append(geo_json['geometry']['coordinates'])
    elif action=='deleted':
        punkty.remove(geo_json['geometry']['coordinates']) 
        

dc.on_draw(handle_draw)

m=Map(zoom=1)
m.add_control(dc)
wkt=''
layers=[]
lop=[]
list_of_products=[]
def on_button_clicked(b):
    clear_output()
    global punkty,wkt,m,layers,lop,list_of_products
    print (len(punkty))
    for i in m.layers[1:]:        
        m.remove_layer(i)
    
    if useTimeCheckBox.value:
        datetime
        start=widgetStartTime.value.isoformat()
        end=widgetEndTime.value.isoformat()
        tstr="&startDate=%s&completionDate=%s"%(start,end)
        print(tstr)
    else:
        tstr=''
    if len(punkty)>0:
        wkt='&geometry=MULTIPOINT('
        s=[]
        for punkt in punkty:
            s.append('(%f %f)'%(punkt[0],punkt[1]))
        s=",".join(s)
        wkt+=s+')'        
    else:
        wkt=''
    if mission.value!='All':
        col=mission.value+"/"
    else:
        col=''
    if instrument.value!='All':
        ins='&instrument='+instrument.value
    else:
        ins=''      
    request="finder.eocloud.eu/resto/api/collections/"+col+"search.json?_pretty=true&maxRecords=%d"%ile_wynikpw.value+wkt+tstr
    request+=ins
    request="http://"+quote(request,safe="%/:=&?~#+!$,;'@()*[]")
    print(request)        
    with urllib.request.urlopen(request) as response:
        h=response.read()
    h=json.loads(h)
    llet=Leaflet()
    llet.addJsonLayer(h,"Products")
#     g=GeoJSON(data=h,hover_style={'fillColor': 'red'})
#     layers.append(g)
#     m.add_layer(g)
    list_of_products=[]
    lop=[]
    for feature in h['features']:
        lop.append(feature)
        list_of_products.append(";".join([feature['properties']['collection'],
              feature['properties']['instrument'],
              feature['properties']['completionDate'],
              feature['properties']['instrument'],
              feature['properties']['productIdentifier']]))                        
    for i in list_of_products:
        print (i)
    

def mission_change(*args):     
    instrument.disabled=False
    if args[0]['new']=='Envisat':
        instrument.options=['MERIS']
    elif args[0]['new']=='Landsat5':
        instrument.options=['TM']
    elif args[0]['new']=='Landsat7':
        instrument.options=['ETM']
    elif args[0]['new']=='Landsat8':
        instrument.options=['All','OLI','OLI_TIRS','TIRS']
    elif args[0]['new']=='Sentinel1':
        instrument.options=['SAR']
    elif args[0]['new']=='Sentinel2':
        instrument.options=['MSI']
    elif args[0]['new']=='Sentinel3':
        instrument.options=['All','OL','SL','SR']
    elif args[0]['new']=='All':
        instrument.options=['All','MERIS','TM','ETM','OLI','OLI_TIRS','TIRS','SAR','MSI','OLCI','SLSTR','SR']
        instrument.value='All'
    
def timeCheck(*args):
    if args[0]['new']:
        widgetStartTime.disabled=False
        widgetEndTime.disabled=False
    else:
        widgetStartTime.disabled=True
        widgetEndTime.disabled=True

def find(pattern, path):
    result = []
    for root, dirs, files in os.walk(path):
        for name in files:
            if fnmatch.fnmatch(name, pattern):
                result.append(os.path.join(root, name))
    return result


def product_select(*args): 
    path1=args[0]['new'].split(';')[-1]
    if not path1.upper().endswith('.N1'):
        plik='*_MTL.txt'
        found=find(plik,path1)
        if found:
            path1=found[0]
            print(path1)
            res=subprocess.Popen(['/opt/scripts/metadata.py',path1],stdout=subprocess.PIPE).communicate()
            html_metadata.value=res[0]
        else:
            plik='product-preview.html'            
            found=find(plik,path1)
            if not found:
                plik='UserProduct_index.html'
                found=find(plik,path1)
            if found:
                res=''
                with open(found[0]) as f:
                    for line in f:
                        res+=line
                    f.close()
                html_metadata.value=res
                    
    else:
        print(path1)
        res=subprocess.Popen(['/opt/scripts/metadata.py',path1],stdout=subprocess.PIPE).communicate()
        html_metadata.value=res[0]
    
#Obsługa eventów
plotButton.on_click(on_button_clicked)
mission.observe(mission_change,names='value')
useTimeCheckBox.observe(timeCheck,names='value')
select.observe(product_select,names='value')

box_layout = Layout(display='flex',
                    flex_flow='column',                    
                    align_items='center',
                    border='solid',                    
                    width='100%')

items=[HBox([ile_wynikpw]),
       HBox([useTimeCheckBox,widgetStartTime,widgetEndTime]),
       widgets.Label(value="Properties:"),
       HBox([mission,instrument]),
       m,
       plotButton]       
box = Box(children=items, layout=box_layout)
ii=0
box


1
http://finder.eocloud.eu/resto/api/collections/Landsat8/search.json?_pretty=true&maxRecords=100&geometry=MULTIPOINT((18.971449%2052.562995))
Landsat8;OLI_TIRS;2018-07-04T09:31:08Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/07/04/LC08_L1TP_188024_20180704_20180704_01_RT_MTI
Landsat8;OLI_TIRS;2018-07-02T09:43:28Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/07/02/LC08_L1GT_190024_20180702_20180702_01_RT_KIS
Landsat8;OLI_TIRS;2018-07-02T09:43:28Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/07/02/LC08_L1GT_190024_20180702_20180702_01_RT_MTI
Landsat8;OLI_TIRS;2018-07-02T09:43:04Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/07/02/LC08_L1GT_190023_20180702_20180702_01_RT_KIS
Landsat8;OLI_TIRS;2018-07-02T09:43:04Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/07/02/LC08_L1GT_190023_20180702_20180702_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-25T09:37:13Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/06/25/LC08_L1GT_189024_20180625_20180625_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-25T09:37:13Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/06/25/LC08_L1GT_189024_20180625_20180626_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-25T09:36:50Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/06/25/LC08_L1GT_189023_20180625_20180626_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-25T09:36:50Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/06/25/LC08_L1GT_189023_20180625_20180625_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-18T09:30:58Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/18/LC08_L1TP_188024_20180618_20180618_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-18T09:30:58Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/18/LC08_L1TP_188024_20180618_20180618_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-16T09:43:19Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/16/LC08_L1TP_190024_20180616_20180616_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-16T09:43:19Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/16/LC08_L1TP_190024_20180616_20180616_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-16T09:42:55Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/16/LC08_L1TP_190023_20180616_20180616_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-16T09:42:55Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/16/LC08_L1TP_190023_20180616_20180616_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-09T09:37:03Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/09/LC08_L1TP_189024_20180609_20180609_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-09T09:37:03Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/09/LC08_L1TP_189024_20180609_20180609_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-09T09:36:39Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/09/LC08_L1TP_189023_20180609_20180609_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-09T09:36:39Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/09/LC08_L1TP_189023_20180609_20180609_01_RT_KIS
Landsat8;OLI_TIRS;2018-06-02T09:30:50Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/02/LC08_L1TP_188024_20180602_20180602_01_RT_MTI
Landsat8;OLI_TIRS;2018-06-02T09:30:50Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/06/02/LC08_L1TP_188024_20180602_20180602_01_RT_KIS
Landsat8;OLI_TIRS;2018-05-31T09:43:12Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/31/LC08_L1TP_190024_20180531_20180531_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-31T09:42:48Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/31/LC08_L1TP_190023_20180531_20180531_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-24T09:37:07Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/24/LC08_L1TP_189024_20180524_20180524_01_RT_KIS
Landsat8;OLI_TIRS;2018-05-24T09:37:07Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/24/LC08_L1TP_189024_20180524_20180524_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-24T09:36:43Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/24/LC08_L1TP_189023_20180524_20180524_01_RT_KIS
Landsat8;OLI_TIRS;2018-05-24T09:36:43Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/24/LC08_L1TP_189023_20180524_20180524_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-17T09:31:02Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/05/17/LC08_L1GT_188024_20180517_20180517_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-17T09:31:02Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/05/17/LC08_L1GT_188024_20180517_20180517_01_RT_KIS
Landsat8;OLI;2018-05-15T09:43:25Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/05/15/LO08_L1TP_190024_20180515_20180515_01_T1_KIS
Landsat8;OLI;2018-05-15T09:43:25Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/05/15/LO08_L1TP_190024_20180515_20180515_01_T1_MTI
Landsat8;OLI;2018-05-15T09:43:01Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/05/15/LO08_L1TP_190023_20180515_20180515_01_T1_KIS
Landsat8;OLI;2018-05-15T09:43:01Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/05/15/LO08_L1TP_190023_20180515_20180515_01_T1_MTI
Landsat8;OLI_TIRS;2018-05-08T09:37:19Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/08/LC08_L1TP_189024_20180508_20180508_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-08T09:37:19Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/08/LC08_L1TP_189024_20180508_20180508_01_RT_KIS
Landsat8;OLI_TIRS;2018-05-08T09:36:55Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/08/LC08_L1TP_189023_20180508_20180508_01_RT_KIS
Landsat8;OLI_TIRS;2018-05-08T09:36:55Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/08/LC08_L1TP_189023_20180508_20180508_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-01T09:31:13Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/01/LC08_L1TP_188024_20180501_20180501_01_RT_MTI
Landsat8;OLI_TIRS;2018-05-01T09:31:13Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/05/01/LC08_L1TP_188024_20180501_20180501_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-29T09:43:35Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/29/LC08_L1TP_190024_20180429_20180429_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-29T09:43:35Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/29/LC08_L1TP_190024_20180429_20180429_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-29T09:43:12Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/29/LC08_L1TP_190023_20180429_20180429_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-29T09:43:12Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/29/LC08_L1TP_190023_20180429_20180429_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-22T09:37:28Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/22/LC08_L1TP_189024_20180422_20180422_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-22T09:37:28Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/22/LC08_L1TP_189024_20180422_20180422_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-22T09:37:04Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/22/LC08_L1TP_189023_20180422_20180422_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-22T09:37:04Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/22/LC08_L1TP_189023_20180422_20180422_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-15T09:31:22Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/15/LC08_L1TP_188024_20180415_20180415_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-15T09:31:22Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/15/LC08_L1TP_188024_20180415_20180415_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-13T09:43:44Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/13/LC08_L1TP_190024_20180413_20180413_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-13T09:43:44Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/13/LC08_L1TP_190024_20180413_20180413_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-13T09:43:21Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/13/LC08_L1TP_190023_20180413_20180413_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-13T09:43:21Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/13/LC08_L1TP_190023_20180413_20180413_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-06T09:37:38Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/06/LC08_L1TP_189024_20180406_20180406_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-06T09:37:38Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/06/LC08_L1TP_189024_20180406_20180406_01_RT_MTI
Landsat8;OLI_TIRS;2018-04-06T09:37:14Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/06/LC08_L1TP_189023_20180406_20180406_01_RT_KIS
Landsat8;OLI_TIRS;2018-04-06T09:37:14Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/04/06/LC08_L1TP_189023_20180406_20180406_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-30T09:31:30Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/30/LC08_L1TP_188024_20180330_20180330_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-28T09:43:53Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/03/28/LC08_L1GT_190024_20180328_20180328_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-28T09:43:29Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/28/LC08_L1TP_190023_20180328_20180328_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-21T09:37:45Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/21/LC08_L1TP_189024_20180321_20180321_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-21T09:37:21Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/21/LC08_L1TP_189023_20180321_20180321_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-14T09:31:37Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/03/14/LC08_L1GT_188024_20180314_20180314_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-12T09:44:00Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/12/LC08_L1TP_190024_20180312_20180312_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-12T09:43:36Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/12/LC08_L1TP_190023_20180312_20180312_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-05T09:37:53Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/05/LC08_L1TP_189024_20180305_20180305_01_RT_MTI
Landsat8;OLI_TIRS;2018-03-05T09:37:30Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/03/05/LC08_L1TP_189023_20180305_20180305_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-26T09:31:46Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/26/LC08_L1GT_188024_20180226_20180226_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-24T09:44:09Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/24/LC08_L1GT_190024_20180224_20180224_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-24T09:43:45Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/02/24/LC08_L1TP_190023_20180224_20180224_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-17T09:38:01Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/02/17/LC08_L1TP_189024_20180217_20180217_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-17T09:37:37Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/17/LC08_L1GT_189023_20180217_20180217_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-10T09:31:53Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/10/LC08_L1GT_188024_20180210_20180210_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-08T09:44:15Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/02/08/LC08_L1TP_190024_20180208_20180208_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-08T09:43:51Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/02/08/LC08_L1TP_190023_20180208_20180208_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-01T09:38:06Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/01/LC08_L1GT_189024_20180201_20180201_01_RT_MTI
Landsat8;OLI_TIRS;2018-02-01T09:37:42Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/02/01/LC08_L1GT_189023_20180201_20180201_01_RT_MTI
Landsat8;OLI_TIRS;2018-01-25T09:32:00Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/01/25/LC08_L1TP_188024_20180125_20180125_01_RT_MTI
Landsat8;OLI;2018-01-23T09:44:23Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/01/23/LO08_L1TP_190024_20180123_20180123_01_T2_MTI
Landsat8;OLI;2018-01-23T09:43:59Z;OLI;/eodata/Landsat-8/OLI/L1TP/2018/01/23/LO08_L1TP_190023_20180123_20180123_01_T2_MTI
Landsat8;OLI_TIRS;2018-01-16T09:38:16Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/01/16/LC08_L1GT_189024_20180116_20180116_01_RT_MTI
Landsat8;OLI_TIRS;2018-01-16T09:37:52Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/01/16/LC08_L1TP_189023_20180116_20180116_01_RT_MTI
Landsat8;OLI_TIRS;2018-01-09T09:32:09Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/01/09/LC08_L1TP_188024_20180109_20180109_01_RT_MTI
Landsat8;OLI_TIRS;2018-01-07T09:44:31Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2018/01/07/LC08_L1GT_190024_20180107_20180107_01_RT_MTI
Landsat8;OLI_TIRS;2018-01-07T09:44:07Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2018/01/07/LC08_L1TP_190023_20180107_20180107_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-31T09:38:23Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2017/12/31/LC08_L1TP_189024_20171231_20171231_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-31T09:37:59Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/31/LC08_L1GT_189023_20171231_20171231_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-24T09:32:14Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/24/LC08_L1GT_188024_20171224_20171224_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-22T09:44:36Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/22/LC08_L1GT_190024_20171222_20171222_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-22T09:44:12Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2017/12/22/LC08_L1TP_190023_20171222_20171222_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-15T09:38:24Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/15/LC08_L1GT_189024_20171215_20171215_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-15T09:38:00Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2017/12/15/LC08_L1TP_189023_20171215_20171215_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-08T09:32:11Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1TP/2017/12/08/LC08_L1TP_188024_20171208_20171208_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-06T09:44:33Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/06/LC08_L1GT_190024_20171206_20171206_01_RT_MTI
Landsat8;OLI_TIRS;2017-12-06T09:44:09Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/12/06/LC08_L1GT_190023_20171206_20171206_01_RT_MTI
Landsat8;OLI_TIRS;2017-11-29T09:38:22Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/11/29/LC08_L1GT_189024_20171129_20171129_01_RT_MTI
Landsat8;OLI_TIRS;2017-11-29T09:37:58Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/11/29/LC08_L1GT_189023_20171129_20171129_01_RT_MTI
Landsat8;OLI_TIRS;2017-11-22T09:32:15Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1GT/2017/11/22/LC81880242017326MTI00
Landsat8;OLI_TIRS;2017-11-20T09:44:37Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1T/2017/11/20/LC81900242017324MTI00
Landsat8;OLI_TIRS;2017-11-20T09:44:13Z;OLI_TIRS;/eodata/Landsat-8/OLI_TIRS/L1T/2017/11/20/LC81900232017324MTI00

In [3]:
eo_data_path = '/eodata/Landsat-5/TM/L1T/2011/07/17/LS05_RKSE_TM__GTC_1P_20110717T092055_20110717T092124_145609_0188_0024_75AC'
%store eo_data_path


Stored 'eo_data_path' (str)

In [ ]: