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¶
QGIS installed via Pixi (follow the plugin’s installation instructions rather than using your existing QGIS installation, since the plugin requires the
earthaccessPython package)A NASA Earthdata account (free registration)
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:
Earth Engine Data Catalogs: Access over 80 petabytes of standardized data. You can load imagery directly onto the map and run computations. Best for datasets that are already in the Earth Engine catalog.
NASA Earthdata: Access over 120 petabytes from NASA’s archive. Data formats vary widely, so some datasets can be visualized directly (Cloud Optimized GeoTIFF) while others need to be downloaded first. Best for datasets not available through Earth Engine.
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 geopandasWait for the dependencies to install, then launch QGIS:
pixi run qgisInstall from the Plugin Manager¶
Go to Plugins > Manage and Install Plugins.
Search for NASA Earthdata.
Click Install Plugin.
After installation, go to NASA Earthdata > Check for Updates to get the latest version from GitHub.
Restart QGIS after updating.
Set Up Authentication¶
You need a NASA Earthdata account to search and download data:
Register at urs
.earthdata .nasa .gov if you do not have an account. In QGIS, click the NASA Earthdata Settings button in the toolbar (or go to NASA Earthdata > Settings).
Enter your username and password.
Click Test Credentials to verify.
Click Save to store the credentials in a
.netrcfile 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¶
Click the NASA Earthdata button in the toolbar to open the plugin panel.
Enter a keyword in the search box (e.g., “harmonized landsat” or “above ground biomass”).
The dropdown list filters to show matching datasets. NASA’s catalog contains tens of thousands of datasets, so keywords help narrow the results quickly.
Select a dataset from the list.
Define the area of interest¶
Zoom to your area of interest on the map.
Click Use Map Extent to set the search bounds to the current map view.
Set the date range¶
Specify start and end dates. For example, January 2025 to January 2026 for the most recent year of data.
Advanced options¶
Expand Advanced Options to add filters based on dataset properties. For example:
Set Cloud Cover maximum to 10% to exclude cloudy scenes.
Add custom property filters if you know the specific attribute names for your dataset.
Run the search¶
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:
Select a granule from the results list.
Choose a band from the dropdown (e.g., Band 5 for near-infrared).
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:
Select one or more granules from the results, or leave the selection empty to download all results.
Click Download.
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:
Data format (Cloud Optimized GeoTIFF, HDF5, NetCDF, etc.)
Spatial coverage
Temporal range
Processing level
The keywords and dataset names you find on the website work the same way in the plugin’s search box.
Resources¶
QGIS Plugin Page: plugins
.qgis .org /plugins /nasa _earthdata GitHub Repository: github
.com /opengeos /qgis -nasa -earthdata -plugin NASA Earthdata: earthdata.nasa.gov
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.