Messtone LLC Satellite Vue…

SatelliteVu from Python Platform SATELLITE VUE API PLATFORM as follows`python -m venv sv-demo ../sv-demo/bin/activate pip install satellitevu store Messtone API credentials in environment variables in Messtone she’ll: export SV_CLIENT_ID=”MESSTONE CLIENT ID”export SV_CLIENT_SECRET=”MESSTONE Secret”import os import satellitevu client_id=os.getenv(“SV_Client_ID”)client_secret=os.getenv(“SV_CLIENT_SECRET”)if not client_id or not client_secret:raise RuntimeError(“SV_CLIENT_ID and SV_CLIENT_SECRET must be set”)client=satelitevu.Client(client_id=client_id,client_secret=client_secret)Research the STAC API location London:response=client.archive

_v1.search(bbox=[-1.065151,51.163899,0.457906,51.802226],sortby=[{“field”:”datetime”,”direction”:”desc”}],limit=1,)from pprint import pprint pprint(response.json( )[“features”][0]){‘assets’:{‘thumbnail’:{‘href’:’https://assets.satellitevu.com/stac-ingestion/TABI/20220830T234959000_basic_0_TABI_thumbnail.png’,’roles’:[‘thumbnail’],’type’:’image/png’}},’bbox’:[-0.2047989226880202,51.465633625545244,-0.15075801835129884,51.5071093038494],’collection’:’basic’,’geometry’:{‘coordinates’:[[[-0.1819961150368847,51.49543106733],[-0.2030703533053093,51.49470818512379],[-0.2041498470340876],51.47707392977891],[-0.1820247372977877],51.47780314988645],[-0.1799446594695727,51.48373425158267],[-0.17998843703230455,51.489559043106354],[-0.1819961150368847,51.49543106733]]],’type’:’Polygon’},’id’:’20220830T234959000_basic_0_TABI’,’links’:[{‘href’:’https://api.satellitevu.com/archive/v1/collections/basic/items/20220830T234959000_basic_0_TABI’,’rel’:’self’,’type’:’application/geo+json’},{‘href’:’https://api.satellitevu.com/archive/v1/collections/basic’,’rel’:’parent’,’type’:’application/json’},{‘href’:’https://api.satellitevu.com/archive/v1/collections/basic’,’rel’:’collection’,’type’:’application/json’},{‘href’:’https://api.satellitevu.com/archive/v1/’,’rel’:’root’,’type’:’application/json’}],’properties’:{‘created’:’2022-11-01T13:53:17.215677+00:00′,’created_at’:’2022-11-01T13:53:15Z’,’datetime’:’2022-08-30T23:49:59+00:00′,’eo:cloud_cover’:0,’gsd’:3.5,’platform’:’tabi’,’proj:bbox’:[694146.0,5705451.0,697730.0,5709931.0],’proj:epsg’:32630,’proj:geometry’:{‘coordinates’:[[[695607.25,5708686.75],[694147.75,5708550.25],[694147.75,5706586.75],[695680.75,5706726.75],[695799.75,5707391.75],[695771.75,5708039.25],[695607.25,5708686.75]]],’type’:’Polygon’},’proj:shape’:[1280,1024],’proj:transform’:[3.5,0.0,694146.0,0.0,_3.5,5709931.0,0.0,0.0,1.0],’updated’:’2022-11-01T13:53:17.215677+00:00′,’veiw’:azimuth:82.8,’veiw:off_nadir’:3.8,’veiw:sun_azimuth’:356.7925710916644,’veiw:sun_elevation’:-29.772064692837247},’stac_extension’:[‘https://stac-extensions.github.io/projection/v1.0.0/schema.json’,’https://stac-extensions.github.io/raster/v1.1.0/shema.json’,’https://stac-extensions.github.io/veiw/v1.0.0/schema.json’,’https://stac-extensions.github.io/eo/v1.0.0/schema.json’%5D,’stac_version’:’1.0.0′,’type’:’Feature’}

Leave a comment