The Planetary Computer

Roughly twice a month. Unsubscribe any time.

Microsoft’s Planetary Computer

Our guest today is Rob Emanuele, a Geospatial Architect at Microsoft who is helping build their Planetary Computer. Beginning his journey with a Mathematics degree from Rutgers, he rose through the ranks of several computer engineering roles before working on the Geotrellis, and Raster Vision projects for many years with Azavea. This exposed him to the hands-on application of big raster data solutions with the Earth’s systems. He continues to support his open source roots by carrying the same group effort mentality over to the Planetary Computer project with Microsoft.

What is the Planetary Computer?

The Planetary Computer is a highly modular geospatial project by Microsoft that allows users to query, access, and analyze environmental data at global scales, taking advantage of cloud and blob streaming technology. In a space where many people still download data for their study area, it is exciting to see such an investment into heavy-duty GIS cloud technology. Cloud efficiency and power means unprecedented processing capabilities, allowing the Planetary Computer to help answer some of the world’s biggest questions. 

From the beginning,

the Planetary Computer has been designed to integrate with open source elements, and to be worked into existing environments, especially Azure.

This open source integration is facilitated through tools in the Planetary Computer Hub. APIs are available through the Hub, as well as standalone, to promote easier querying of the many datasets being hosted in a consistent and efficient way. Combined with analysis ready data formats hosted by Microsoft, there is a lot of power at the user’s disposal. 

The Planetary Computer hosts data from Landsat, Sentinel, ASTER, ALOS, GOES-R, NAIP, and many more geospatial data providers. These data are organized and made interoperable via their metadata. The project utilizes the Spatiotemporal Asset Catalog (STAC) to scrape these massive amounts of data for the information needed to integrate them with each other and promote a seamless use of data. Microsoft, however, does their best to leave these data true to form, recognizing the scientific value and meaning imparted by the preparation from their original sources. 

Accessing and utilizing the tools, data, and services associated with the Planetary Computer is free. In order to get started, one must apply to participate in the preview, or beta program, as

not every component of the project is fully publicly available yet.

Once approved, you can generate an anonymous token which provides access to the data catalog, and can then be regenerated once it has expired. 

The Components of the Planetary Computer

The immense scale of the data behind the Planetary Computer requires an equally flexible and scalable architecture to facilitate the flow necessary to accomplish the massive workflows it was designed for. Naturally, Microsoft is prepared for this due to their vast experiences gained through Azure, their cloud computing, data storage, and analysis platform. 

The four components which make up the Planetary Computer are the Data Catalog, the APIs, the Hub, and the Applications built on top of the platform.

The Data Catalog contains petabytes of imagery, sourced from their original providers, then hosted together on the Azure cloud. The APIs take advantage of the standardized metadata produced through STAC to facilitate querying data of interest. The Hub is an environment, deployed via JupyterHub and preloaded with popular geospatial tools, allowing scientists to get to work quickly. The associated Applications are created by third parties and built on top of Planetary Computer resources. Combined, these components can attain the trifecta of hosting, searching, and computing data.

One of the ways Microsoft has been able to strategize for success with such a massive project, is being able to store the data immediately next to where it will be processed. This is one of the many benefits of having enormous data stores and servers at your disposal, as well as the resources to integrate Kubernetes clusters. The close physical proximity means the most cumbersome part of the process is the user’s get request. 

In terms of how the services are being delivered, cloud optimized GeoTIFFs (COGs) are the most common standard. Data, especially weather data, can also take the form of cloud optimized NetCDFs, HDFs, and Zarr data. These N-dimensional array formats are easier to “chunk” into more manageable sections. The ability to break up binary large object (BLOB) data is essential for efficiently streaming it. Partitioning the data, and describing it well via its metadata, allows APIs to index,  query, and stream just the most relevant bits of data to the analysis, rather than pulling everything like we see with traditional downloads. 

The components for the Planetary Computer are available on GitHub.

The Planetary Computer’s History and Future

The Planetary Computer did not come purely from Microsoft’s goodwill. They approached the beginnings of this project by acknowledging that,

In order for Microsoft to do well, the Earth must do well.

The threats of climate change, loss of biodiversity, and many other of the world’s problems would be bad for business. In an effort to set everyone up for success, Microsoft decided to leverage its resources to create an ultimate resource for earth scientists by pulling everything they need for interpretation into one place. 

An all encompassing imagery analysis hub is not a new concept. Google Earth Engine notably was first on the scene. Esri’s imagery services and products have also been around for sometime in the pay to play realm.

One of the biggest shifts with the Planetary Computer will be the ability to keep costs low, to non-existent

for the full data pipeline with conscious integration into existing systems. Although they are very much competing for the same market, Google Earth Engine and the Planetary Computer have a collaborative and friendly relationship. Ultimately, the goal is to better the planet, and no one achieves such a task alone.

In the meantime, there are still obstacles to overcome before the Planetary Computer (note, another PC by Microsoft) will be fully up and running. STAC has done fantastic work in standardizing data categorization by utilizing a common JSON format for metadata, but data fusion is still a tricky and intensive process to sort out. Sensors from different manufacturers, and varied time intervals and resolutions provide challenges for true interoperability of data. 

In the future, once the kinks have been worked out of the larger system,

There is tremendous potential for artificial intelligence applications.

We may see pre-packaged highly specialized models that users can run on open data, and seamlessly host and display the results in the cloud. In fact, we have already seen some of this with the Microsoft Building Footprints dataset. There are many industries that have questions about the world, and with time, we may find it is no longer on the distant horizon, but rather at our fingertips to solve them.  

FAQ’s

Is Microsoft planetary computer free?

Yes! access to the data is free. You can browse the data catalog and access the data and use the data in your own environment for free. Because the data is stored in cloud-native formats you can stream the data into your own environment and Microsoft provides this service for free. However, if you are looking to process large amounts of data, streaming will quickly become a bottleneck. This is why the Planetary Computer has a “Hub” which is a computing environment that is preloaded with popular geospatial tools, there is a cost involved with using the computing resources in this environment.

Microsoft Earth

Microsoft does not make a version of Google Earth, If you are searching for this term you might actually be looking for The Microsoft Planertry Computer or Microsofts AI for Earth Programme which has been discontinued.

Recommended Podcast Episodes


In Conversation

From Software Engineer to Geospatial Architect

Daniel: Rob, welcome to the podcast. Can you introduce yourself?

Rob: I’m a geospatial architect at Microsoft — I architect systems on Azure dealing with geospatial data and analytics. My background is geospatial software development. Before Microsoft I was at Azavea where we did large-scale raster processing via GeoTrellis and deep learning on aerial and satellite imagery via Raster Vision. I was VP of R&D there until about a year ago when I joined the team building the Planetary Computer.

What the Planetary Computer Is

Daniel: What is the Planetary Computer?

Rob: A modular set of components aimed at enabling geospatial solutions and analytics on Azure. We’re using Microsoft’s technologies to accelerate the building of applications and solutions with an environmental impact. Sustainability needs geospatial data, and geospatial data is huge — climate model projections, satellite imagery — you need a cloud to process it unless you have a supercomputer. So we host the data and make it searchable through APIs for spatio-temporal queries, and we run a JupyterHub environment that runs next to the data in the cloud so people can use their favourite open source tools to analyse it.

Daniel: So it’s hosting, search, and compute — three components?

Rob: Exactly. Designed modularly so people building production solutions can take whatever components fit their architecture and build on top.

Data, Formats, and the GOES-16 NetCDF Story

Daniel: What data sets are you hosting?

Rob: Publicly licensed satellite imagery — Sentinel, Landsat (we’re excited to add Landsat 9), elevation and point cloud data, climate model projections, biodiversity data, derived products from remote sensing like Sentinel-1, -3, and -5. A wide range of openly-licensed data sets used in geospatial analytics. We host copies of the data in Azure blob storage.

Daniel: Mostly raster?

Rob: Primarily — Cloud Optimised GeoTIFFs accessed through a STAC API. But we host NetCDFs, SAR data sets, vector data sets, and Parquet tabular data containing geospatial features. COGs are the most accessible format today, but as other formats become cloud-optimised we’re exposing more.

Daniel: When we say cloud-optimised, are we talking about streamable?

Rob: Yes — host the files in blob storage and have a way to read only the bytes you want. You’re never reading anything you don’t need. For COGs the cloud-optimisation is spatial; for Zarr and the cloud-optimised NetCDF work going on, it’s about indexing into an n-dimensional array including the temporal dimension. “Give me this area, this time” returns the bytes.

Daniel: How do you decide whether to store as COG or Zarr?

Rob: Sometimes easy — Landsat already comes in COGs. Things that are a snapshot in time with a defined Earth footprint are good for COGs. Other times tricky. NOAA’s GOES-16 and -17 data comes in NetCDF. The projection information is complicated — the satellite is so far back the “footprint” can extend outside the actual Earth circle. So we store the original NetCDFs (we don’t want to make too many editorial changes to scientific data), but we also export COGs for each band of the Cloud and Moisture Imagery product. Open source tools couldn’t always handle that projection, so we offer a web-Mercator reprojected version of the first three bands purely for visualisation on the map. For temporally dense data you want to chunk by time — that’s where cloud-optimised NetCDF or Zarr is better. We’re continually thinking through whether to host multiple chunkings or multiple copies based on user input.

STAC and the OGC API Features Connection

Daniel: How do you make the data searchable?

Rob: We lean heavily on STAC — the SpatioTemporal Asset Catalog. It came out of a meeting in Denver before it was even called STAC, where people building APIs for spatio-temporal data got together to design an implementation-driven, flexible, extensible standard. STAC encodes metadata for spatio-temporal data — rasters, point clouds, anything — in a common JSON schema. That lets APIs build a database indexed on spatial and temporal components and allow queries with a well-specified return shape, so applications built against the Planetary Computer API or Element 84’s Earth Search API get information in a standard way.

Daniel: Is STAC comparable to a WFS GetCapabilities request?

Rob: WFS is being superseded by OGC API Features, part of OGC’s new “OGC API” umbrella. STAC has two components — STAC Core (the data models) and STAC API, which is an extension of OGC API Features. STAC reuses the language of collections and items, the API specification, and the CQL2 query language. The STAC and OGC API Features communities have been working closely together.

The JupyterHub Co-located with the Data

Daniel: Tell me about the JupyterHub.

Rob: For fastest access — and to avoid egress fees moving data across data centres — you want compute next to the data. The Pangeo ecosystem has documented ways to deploy JupyterHubs for Earth science analysis in cloud and HPC environments, but managing a Kubernetes cluster next to the data is painful. We provide a service that handles that deployment, including up-to-date open source images. Users request access, get an account, and use a pod on our Azure Kubernetes cluster right next to the data.

Daniel: So is this pay to play?

Rob: Everything is free to use. The data and APIs are anonymously accessible. There’s a token mechanism for egress control but it’s anonymously accessible — hit an endpoint, get a token, use it for a set period, get another. Slightly rate-limited but enough for large-scale jobs.

Daniel: So I could be sitting at home, search your catalog, pull a URL into QGIS and start streaming the data for free?

Rob: Yes — STAC assets give you an href. The URL won’t work on its own; you hand it to a signing API which appends a query parameter, then you can use it. Open source tools turn STAC items into data with xarray or VRTs (now in the new GDAL release).

Why Microsoft Is Building This

Daniel: Why is Microsoft doing this?

Rob: Microsoft has taken the position that for Microsoft as a business to do well long-term, the world needs to do well. The biggest obstacle on a decade-out view is climate change. So Microsoft has dedicated large investments to teams using the cloud and our technologies to move the needle on it. In 2020 there were commitments — carbon negative by 2030, removing all carbon Microsoft has ever emitted by 2050, zero waste by 2030, water positive by 2030, protecting more land than we use by 2025, and building a Planetary Computer that enables environmental sustainability solutions.

The Open Source Approach vs Earth Engine

Daniel: Google Earth Engine has been doing similar things for a while. Did you look at it?

Rob: Earth Engine is doing amazing things and has been around for a long time. I looked at it and other platforms when I was hired. Microsoft has a vast number of Azure customers, so we have to host the data; AWS does too — it’s becoming baseline. The different approach we took is modular components focused heavily on the open source ecosystem. I’m a long-time contributor and proponent of open source geospatial. Anything we build should take advantage of open source and contribute back. We want users to bring their PyTorch models, their Pangeo tools, the best in class open source from six months ago. So we’re not building a one-platform-fits-all walled garden — we’re building components people can integrate. Earth Engine is super powerful and feature-rich, and we’re friendly with the team. They contribute to STAC too. We’re collaborators in the open source ecosystem even where the companies compete.

Rob: Other platforms worth looking at: Descartes Labs is a great platform with fast cloud-hosted analytics. Sinergise with Sentinel Hub. ESRI’s Image Server and notebook workflows. We want to integrate with all of them as much as possible — moving towards the same STAC standard makes everything interoperable. If someone on a Descartes notebook wants to pull in Planetary Computer data, that’s exactly what we want to enable.

Daniel: What are the key enabling technologies?

Rob: Blob storage filling the need for working at petabyte scale — neither a personal supercomputer nor a desktop will cut it. The cloud itself is “a planetary computer” — storage, compute, GPUs. Cheap object storage holding petabytes accessible from VMs, compute via Kubernetes or Azure Batch, GPUs for ML training and inference. A recent paper surveying big Earth data users showed most are still downloading data — which makes sense, I still pull files into QGIS — but for global-scale analysis it has to move to the cloud.

The Five-Year Vision and Abstracting Complexity

Daniel: If I could solve one problem for you right now, what would it be?

Rob: Getting every openly-licensed data set into storage, allowing anyone to push data in and index it richly. STAC and all its extensions completely filled out and implemented across every system. Enriching that metadata through machine learning. And solving the data fusion problem — normalising “this Landsat scene” and “this Sentinel scene” into a unified description of space and time so we can use them together regardless of sensor. Then making it easy for users who aren’t geospatial developers — who don’t know what a CRS is — to build applications, abstracting the complexity away.

Daniel: Build it and they will come, or market-driven?

Rob: A bit of both. Microsoft has a vast network of customers with real problems involving geospatial data, so there’s market signal. But we’re also looking ahead of the puck — we know what’s not possible right now that needs to be possible.

Daniel: What does this look like in five years?

Rob: Pre-existing machine learning models fine-tuned for your area of interest over a wide range of data — government data, scientific institution data, derived products — applied easily for a specific solution rather than “let me go find those files.” Honestly, if you’d asked me five years ago I might have said the same thing. Geospatial data is so complex — SAR especially — that getting the basics down takes a long time. I hope in five years that vision is real and data is super accessible through well-known formats, completely described by metadata, with models easily applied.

Daniel: By abstracting all that complexity, aren’t we setting unrealistic expectations?

Rob: Fair point — when I said “abstract away” I meant for a certain class of users, specifically the decision makers making real-world impact. A satellite image or even a land-use map doesn’t create impact — you need an application that changes behaviour. For the decision maker using that solution, hide the complexity. But for the community building the solution — your listeners, my colleagues — they need to take on that complexity. We’re the people setting downstream users up for success. There’s a lot of work to do there in how the open source geospatial community shoulders that complexity through the tools and information we build.

Daniel: Where can people learn more or request access?

Rob: planetarycomputer.microsoft.com — there’s a request access form for the Hub, documentation on our STAC APIs, the data catalog, an Explorer to look at data on a map. We’re on GitHub — the Planetary Computer APIs are open source, the Hub is open source, and we use GitHub Discussions to hear what people are interested in. Email planetarycomputer@microsoft.com to reach the team.

About the Author
I'm Daniel O'Donohue, the voice and creator behind The MapScaping Podcast ( A podcast for the geospatial community ). With a professional background as a geospatial specialist, I've spent years harnessing the power of spatial to unravel the complexities of our world, one layer at a time.