Skip to content

Instantly share code, notes, and snippets.

View samapriya's full-sized avatar
🌏
Code the Planet

Samapriya Roy samapriya

🌏
Code the Planet
View GitHub Profile
pathways start end cloud outdir
C:\demo\dallas.geojson 2017-01-01 2017-01-02 0.15 C:\demo
C:\demo\denver.geojson 2017-01-01 2017-03-02 0.15 C:\demo
C:\demo\sfo.geojson 2017-01-01 2017-05-02 0.15 C:\demo
C:\demo\indy.geojson 2017-01-01 2017-09-02 0.15 C:\demo
pathways asset
C:\demo\dallas_aoi.json PSOrthoTile analytic
C:\demo\denver_aoi.json REOrthoTile analytic
C:\demo\sfo_aoi.json PSScene4Band analytic
C:\demo\indy_aoi.json PSScene4Band analytic_sr
pathways directory asset
C:\demo\dallas_aoi.json C:\demo\t1 PSOrthoTile analytic
C:\demo\denver_aoi.json C:\demo\t1 REOrthoTile analytic
C:\demo\sfo_aoi.json C:\demo\t1 PSOrthoTile analytic_xml
C:\demo\indy_aoi.json C:\demo\t1 REOrthoTile analytic_xml
pathways asset
C:\demo\dallas_aoi.json PSOrthoTile analytic
C:\demo\denver_aoi.json REOrthoTile analytic
C:\demo\sfo_aoi.json PSScene4Band analytic
C:\demo\indy_aoi.json PSScene4Band analytic_sr
pathways days
C:\demo\dallas_aoi.json 3
C:\demo\denver_aoi.json 5
C:\demo\sfo_aoi.json 14
C:\demo\indy_aoi.json 23
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@samapriya
samapriya / aoi.json
Created January 19, 2019 03:17
Example Structured JSON
{"config": [{"field_name": "geometry", "config": {"type": "Polygon","coordinates":[[[-51.19628906249999,70.98119010476937],[-49.32861328125,70.98119010476937],[-49.32861328125,71.69819388079574],[-51.19628906249999,71.69819388079574],[-51.19628906249999,70.98119010476937]]]}, "type": "GeometryFilter"}, {"field_name": "gsd", "config": {"gte":1,"lte":9.99}, "type": "RangeFilter"}, {"field_name": "acquired", "config": {"gte":"2017-12-05T04:00:00.000Z","lte":"2019-07-18T03:59:59.999Z"}, "type": "DateRangeFilter"}, {"field_name": "cloud_cover", "config": {"gte":0,"lte":0.9}, "type": "RangeFilter"}], "type": "AndFilter"}
@samapriya
samapriya / ee-jupyter-setup.ipynb
Last active August 4, 2019 22:08
Setup for EarthEngine in Jupyter Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@samapriya
samapriya / planet_bb_query_demo.py
Last active March 4, 2020 04:09 — forked from richpsharp/planet_bb_query_demo.py
Planet Bounding Box quad query demo for Sam
import argparse
import requests
import sys
import os
from pySmartDL import SmartDL
from planet.api.auth import find_api_key
"""
requirements:
pip install planet requests pySmartDL