Skip to content

Latest commit

 

History

History
82 lines (68 loc) · 9.47 KB

File metadata and controls

82 lines (68 loc) · 9.47 KB

Planet Jupyter Notebooks Examples

This repository contains a collection Jupyter notebooks that teach you how to use Planet Insights Platform. They are divided into three folders:

  1. api_guides - Here, you will find notebooks that introduce you to the essential functionality of different APIs with quickstarts to guides focused on specific functionality.
  2. use_cases - In the use cases section, we've built notebooks around common applications of satellite data to demonstrate how to answer questions or create insights from Earth observation data.
  3. workflows - Here we cover foundational workflows of how to use Planet Insights Platform as well as common patterns of analyzing, processing, or integrating data with other software. Workflows are typically building blocks that you might use to accomplish different tasks you are working on.

Planet Sandbox Data

Planet Sandbox Data offers a substantial amount of Planet data samples made available under a CC-BY-NC license to users to test. Sandbox Data offers a subset of the WorldStrat locations and dense time-stacks, ranging from 25 to 200 sq km in size. The locations are spread across the world, assuring a stratified representation of various use cases.

You can learn more about these datasets in our documentation for Planet Sandbox Data. There you will find an overview documentation of each of the collections including the temporal and geographic coverage. You can also log in to the Browser application to quickly browse Planet Sandbox Data.

Several Notebooks in this directory provide examples on how to use Planet APIs with Sandbox Data so that you don't need to use your quota or make a purchase in order to test out Planet Insights Platform. These notebooks are marked with this shield: Sandbox Data.

Note

These notebooks make use of Planet Sandbox Data. You need a Planet account in order to access this data. If you don't already have an account, you can create a 30-day trial.

Table of Contents

API Guides

Folder Description
Analytics API Use Planet Analytics API to map flood and displacement in Syria.
Analytics API - Quickstart Describes available Analytics Feeds and Subscriptions with the Planet Analytics API.
Analytics API - User-Guide Accessing Planet Analytics API to build applications.
Basemaps API Utilize the Basemaps API to access and download mosaic data and metadata.
Batch Processing API BatchV2 API Demo for Planet Labs
Data API Access sub-regions of interest within Planet assets.
Features API Introduces Planet Features API for creating and using AOI references across Planet APIs.
Orders API Uses Planet's Orders API with the official Python client.
Orders API - Order Mosaics Order PlanetScope Mosaics using SDK and Requests Library.
Statistical API Use Statistical API to analyze satellite imagery and derived statistics.
Subscriptions API Uses Subscriptions API to order Planetary Variables, deliver PlanetScope imagery to a data collection for NDVI time series analysis, and more.
Subscriptions API - Crop Biomass Use Subscriptions API to retrieve and analyze Crop Biomass data for agricultural insights.
Tasking API Use Tasking API to create, manage, and monitor tasking orders.
Tile Services Render PlanetScope Mosaics via XYZ Tile Services with Bokeh or Leaflet.

Use Cases

Folder Description
Agriculture Index Time Series Sandbox Data Generate, process, and analyze agricultural index time series data.
Bare Soil Detector Uses satellite data to identify bare soil periods in agricultural fields.
Burned Area Delineation Uses PlanetScope Mosaics to map the extent of the Park Fire (2024) burn scar via NDVI and BAI differences.
Calculate Water Extent Analysis Ready Planetscope Sandbox Data Use Analysis-Ready PlanetScope (ARPS) to observe changing water levels in a reservoir.
Coastal Erosion Example Use Rasterio to read satellite data.
Crop Classification Classify crop type with PlanetScope 4-band Orthotiles using CART.
Crop Phenometrics Uses Planetary Variables to analyze agricultural fields over time.
Crop Segmentation Use KNN classification to identify crops in Planet imagery for georeferenced geojson features.
Forest Carbon Dilligence Sandbox Data Maps forest cover changes between two dates using the Forest Carbon Diligence product.
Forest Monitoring Demonstrates an end-to-end use case to detect deforestation due to road development.
Growing Degree Days Sandbox Data Calculates Growing Degree Days (GDD) from Land Surface Temperature using Planet's Statistical API and Sandbox Data.
Land Surface Temperature Sandbox Data Analyze heat waves and urban heat island intensity using Land Surface Temperature data.
Ship Detector Use scikit-image to detect and count ships in satellite imagery.
Yield Forecasting Sandbox Data Use Planetary Variables to forecast hay yield in North Dakota.

Workflows

Folder Description
Analysis Ready Data Use Planet APIs to create Analysis Ready Data (ARD) for time-series analysis.
Analytics Snippets Convert Analytics Feed building footprint rasters to vector datasets.
Band Math Generate NDVI Derives a vegetation index from 4-band satellite data.
Band Math Generate NDVI - NDVI Uses NDVI to measure vegetation from PlanetScope imagery.
Band Math Generate NDVI - NDVI From Surfance Reflectance Uses NDVI to measure vegetation for environmental monitoring.
BYOC Metadata Use a combination of Statistical, Catalog, and BYOC APIs to read ARPS TIFF header metadata and map it to QA Band indices
Cloud Native Geospatial - Intro To COGS Convert GeoTIFFs to COGs and upload to Google Cloud Storage.
Cloud Native Geospatial - Intro To STAC Overview of STAC specification and components.
Convert Radiance To Reflectance Convert PlanetScope imagery from radiance to reflectance using provided coefficients.
Coverage Calculate AOI coverage using UTM or WGS84.
Crossovers Uses a Python notebook to find crossovers between PSScene and Landsat 8 images, filtering for time difference and cloudiness.
Getting To Know Satellite Imagery Use Rasterio to inspect and Matplotlib to visualize satellite imagery.
Google Earth Engine Integration Use Orders API to deliver data to Google Earth Engine.
Introduction To Analysis APIs Sandbox Data Access satellite imagery and perform analysis using Sentinel Hub APIs.
Introduction To Evalscripts Use evalscripts for interactive overview of various analysis.
Landsat Planetscope Comparison Compares Landsat and PlanetScope scenes for crop type differentiation.
Mosaicking And Masking Uses rasterio and fiona to create a composite image from multiple PlanetScope scenes.
Publish To ArcGIS Online Publish PlanetScope imagery as image services in ArcGIS Image for ArcGIS Online.
Working With Usable Data Mask Use UDM to identify and mask pixels with quality issues in satellite imagery.