microsoft/PlanetaryComputerExamples
Examples of using the Planetary Computer
What it solves
Accessing and analyzing large geospatial datasets (like satellite imagery, climate records, and land-use maps) usually requires complex infrastructure and specialized knowledge. This project solves that by providing ready-to-run example notebooks that show how to use the Planetary Computer Hub — a cloud environment that hosts open geospatial data and APIs. Instead of figuring out how to query, load, and process these datasets from scratch, users can follow tested examples that cover data access, scaling analyses, and visualization.
How it works
The repository is organized into three main sections: quickstarts, dataset examples, and tutorials.
- Quickstarts give high-level introductions to single topics, such as reading from the STAC API (in Python and R), reading tabular or Zarr data, scaling with Dask, storage, and using tools like Leafmap or the Radiant MLHub API.
- Datasets provide examples for specific datasets, each with details about the data and working code. There are dozens of datasets covered, ranging from elevation models (3DEP, ALOS, Copernicus) to satellite imagery (Landsat, Sentinel-2, GOES) and climate or weather products (ERA5, gridMET, Daymet).
- Tutorials dive deeper into larger topics, such as classification methods, cloudless mosaics, coregistration, hotspot analysis, reprojecting, and zonal statistics. These are full walkthroughs that build skills in geospatial analysis.
All examples are Jupyter notebooks (plus one Markdown guide) designed to run in the Planetary Computer Hub environment, which makes the underlying data and compute resources easy to access.
Who it's for
This project is for scientists, researchers, data analysts, and developers who want to work with geospatial or environmental data without having to build their own data infrastructure. It is especially useful for people who are new to the Planetary Computer or to cloud-based geospatial analysis, since the examples provide a guided starting point.
Highlights
- Covers over 40 datasets across terrain, satellite, climate, land-use, and more
- Quickstarts that introduce core concepts like STAC API access, Dask scaling, and Zarr data
- In-depth tutorials on advanced techniques like cloudless mosaics, terrain correction, and zonal statistics
- Examples in both Python and R for broader accessibility
- Notebooks can be viewed directly via nbviewer without running any code
- A companion Hub environment that lets users scale analyses seamlessly
Related
- Project
- Project
- Project
- Project