Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Access 120 Petabytes of NASA Data Directly in QGIS

NASA’s Earthdata archive hosts over 120 petabytes of satellite imagery and geospatial datasets spanning multiple decades. Traditionally, accessing this data has required navigating complex web portals or writing code to query NASA’s APIs. The NASA Earthdata QGIS plugin changes that by letting you search, filter, preview, and download NASA datasets directly inside QGIS, no programming needed.

In this tutorial, I walk through installing the plugin, setting up authentication, searching for datasets by keyword and area of interest, previewing Cloud Optimized GeoTIFF imagery on the map, and downloading data to your computer.

Video tutorial: NASA Earthdata Plugin for QGIS

What You Will Need

How This Differs from the Earth Engine Plugin

I also released the GEE Data Catalogs plugin for accessing Google Earth Engine data. The two plugins serve different purposes:

Install the Plugin

Set up the environment with Pixi

The plugin requires the earthaccess Python package for NASA authentication, which has dependencies that may conflict with a standard QGIS installation. Using Pixi ensures a clean environment:

pixi init geo
cd geo
pixi add qgis geopandas

Wait for the dependencies to install, then launch QGIS:

pixi run qgis

Install from the Plugin Manager

  1. Go to Plugins > Manage and Install Plugins.

  2. Search for NASA Earthdata.

  3. Click Install Plugin.

  4. After installation, go to NASA Earthdata > Check for Updates to get the latest version from GitHub.

  5. Restart QGIS after updating.

Set Up Authentication

You need a NASA Earthdata account to search and download data:

  1. Register at urs.earthdata.nasa.gov if you do not have an account.

  2. In QGIS, click the NASA Earthdata Settings button in the toolbar (or go to NASA Earthdata > Settings).

  3. Enter your username and password.

  4. Click Test Credentials to verify.

  5. Click Save to store the credentials in a .netrc file in your home directory. You only need to do this once.

When the settings panel shows a green indicator next to the .netrc file path, authentication is configured correctly.

Search for Datasets

  1. Click the NASA Earthdata button in the toolbar to open the plugin panel.

  2. Enter a keyword in the search box (e.g., “harmonized landsat” or “above ground biomass”).

  3. The dropdown list filters to show matching datasets. NASA’s catalog contains tens of thousands of datasets, so keywords help narrow the results quickly.

  4. Select a dataset from the list.

Define the area of interest

Set the date range

Advanced options

Expand Advanced Options to add filters based on dataset properties. For example:

Click Search. The plugin retrieves matching granules and displays their footprints on the map. A results table shows metadata for each item.

Preview Data on the Map

For datasets stored as Cloud Optimized GeoTIFF (COG), you can preview individual bands directly on the map without downloading:

  1. Select a granule from the results list.

  2. Choose a band from the dropdown (e.g., Band 5 for near-infrared).

  3. Click Display COG.

The imagery loads on demand from NASA’s cloud storage. It may take a few seconds compared to tile-based services like Earth Engine, since it streams the COG directly. You can zoom in to see higher-resolution data as it loads progressively.

Not all datasets support direct visualization. Datasets in formats other than COG (such as HDF5 or NetCDF) need to be downloaded before they can be viewed.

Download Data

To download data to your computer:

  1. Select one or more granules from the results, or leave the selection empty to download all results.

  2. Click Download.

  3. Choose an output directory.

The plugin downloads all files for each granule automatically. For datasets like Harmonized Landsat Sentinel-2, each granule contains multiple band files (15 bands), all of which are downloaded together. A progress dialog shows the download status.

Once downloaded, you can drag the GeoTIFF files into QGIS to add them to the map.

Explore NASA’s Data Catalog

If you want to browse what is available before using the plugin, visit earthdata.nasa.gov and explore the data catalog. You can filter by:

The keywords and dataset names you find on the website work the same way in the plugin’s search box.

Resources

This plugin makes NASA’s vast data archive accessible to anyone with QGIS, whether you are searching for satellite imagery, LiDAR data, biomass estimates, or any other dataset in the catalog. Feel free to open an issue on the GitHub repository if you run into any problems or have feature requests.