Understanding and Using Suborbital Metadata
suborbital, netcdf, CMR
Overview

Suborbital observations are collected under highly variable conditions, making metadata essential for understanding the data. The same instrument can be mounted on different platforms, at different altitude or depth, swath widths, and spatial coverage. Instruments, calibration procedures, sampling methods, and environmental conditions may also vary across campaigns. Enriched metadata captures these details, supporting data interpretation, discoverability, and reuse.
Here is our POP (Purpose, Outcomes, Process):
Purpose: Provide a foundation for understanding metadata for suborbital missions: why it matters, what it should describe, and how it supports discoverability, reuse and reproducibility. This notebook is a starting point for data producers learning how metadata is structured, why it matters for suborbital observations, and how it supports data discovery and reuse. It provides a foundation for further resources on collecting and registering metadata.
Outcomes: By the end of this notebook, you’ll be able to recognize key elements of suborbital metadata, explain their importance, and describe how incomplete or unclear metadata can limit the use of a dataset.
Process: Plan for about 45–60 minutes. This notebook is based on the presentation Metadata for Suborbital Data Publication Rupesh Shrestha and Michele Thornton (ORNL DAAC) first shared at 2026 NASA-Openscapes Champions
Learning objectives
- Explain what distinguishes suborbital (airborne/field campaign) data from satellite data, and why that affects how its metadata is structured.
- Distinguish collection-level metadata (UMM-C) from granule-level metadata (UMM-G) in CMR, and know what GCMD science keywords are for.
- Search CMR with
earthaccessfor a suborbital collection by campaign, platform, instrument, or science keyword. - Locate and interpret platform, instrument, campaign, spatial/temporal extent, and processing information for a collection and its granules.
- Access and open a suborbital granule from the cloud, and inspect its variables, units, and structure.
Prerequisites
| Concepts | Importance | Notes |
|---|---|---|
| Earthdata Login account | Optional for this notebook | Searching public collection and granule metadata does not require login. An account is needed when downloading or streaming data through earthaccess. See the Authentication appendix for setup help. |
| Intro to earthaccess | Necessary | Used throughout this notebook to search CMR and open cloud data. |
| How do I find data using code? | Helpful | Covers the general earthaccess/CMR search pattern this notebook builds on. |
| Understanding of NetCDF | Helpful | |
Basic familiarity with xarray |
Helpful | Used to open and inspect the sample granule. |
- Time to learn: ~45–60 minutes.
Imports
What makes suborbital data different
Suborbital campaigns can bring together observations from aircraft, ships, towers, and field sampling sites. Within a single campaign, researchers may use several instruments across different platforms, locations, and periods. Understanding these observations requires metadata that identifies how each measurement fits into the broader effort.
Three concepts help describe these relationships:
- Platform: The vehicle or structure from which observations are collected, such as an aircraft, ship, or tower.
- Instrument: The sensor or equipment used to collect measurements.
- Project: The scientific effort associated with the data. In CMR, this can include a field campaign, mission, investigation, or broader research program.
A single project may involve several platforms, each carrying multiple instruments. The same instrument may also be used on different platforms or in different campaigns. Recording these relationships helps users understand which observations belong together and how they were collected.
Two ORNL DAAC collections illustrate this well:
| Metadata | CARVE L1 FTS spectral radiances | AVIRIS-Classic L2 reflectance, V1 |
|---|---|---|
| Platforms listed | C-23 Sherpa | NOAA Twin Otter; NASA ER-2; NASA WB-57F |
| Instrument listed | Fourier Transform Spectrometers (FTS) | AVIRIS |
| Collection scope | FTS observations from CARVE flights, 2012–2015 | Facility instrument archive combining observations across aircraft and years |
These collections illustrate different ways observations can be grouped. The CARVE FTS collection contains measurements from one instrument on one aircraft, while the AVIRIS-Classic collection includes observations from an instrument deployed on multiple aircraft. The collection-level platform list describes the collection as a whole; it does not identify which aircraft produced each individual file. To understand a particular observation, users may need to consult its granule metadata, information within the data file, and supporting documentation.
Set up your environment
Earthdata Login: when is it needed?
You can search public collection and granule metadata with earthaccess.search_datasets() and earthaccess.search_data() without signing in. The metadata inspection steps in this notebook do not require authentication.
If you continue to downloading or streaming data files with earthaccess, you will need an Earthdata Login account and can authenticate with the optional step below. See the earthaccess authentication documentation for details.
Understanding the metadata
Collections and granules
To understand how data are described in NASA’s Common Metadata Repository (CMR), we’ll focus on two levels: collections and granules.
A collection describes a dataset as a whole — for example, “BioSCape: AVIRIS-NG L3 Resampled Reflectance Mosaics, V2.” It tells you what the dataset is, who produced it, what instruments and platforms were involved, and the overall spatial/temporal coverages.
A granule is an individual data unit within a collection and may contain one or several files. In this BioSCape collection, a granule represents a mosaic tile that combines observations from multiple flight lines and days. It groups reflectance, uncertainty, and associated files. Granule metadata describes that tile’s spatial and temporal coverage and provides access links to its files.

earthaccess has a separate search function for each level: earthaccess.search_datasets() searches collections, and earthaccess.search_data() searches granules.
We will explore how the metadata from a collection and from a granule looks in the next sections.
CMR, UMM-C, UMM-G, and GCMD keywords
A few acronyms come up constantly when working with this metadata:
- CMR (Common Metadata Repository) is the system that stores and provides access to metadata. Tools such as
earthaccessand Earthdata Search query CMR to help users find data. - UMM (Unified Metadata Model) defines metadata fields and how they are organized.
- UMM-C (Unified Metadata Model – Collection) is the schema collection-level metadata follows: platforms, instruments, science keywords, spatial/temporal coverage, citation information, and more.
- UMM-G (Unified Metadata Model – Granule) is the schema granule-level metadata follows: a specific granule’s spatial/temporal extent and data access links.
- GCMD keywords (Global Change Master Directory) provide standardized terms for describing science topics, platforms, instruments, projects, and more. These controlled vocabularies help producers describe data consistently and help users find related datasets.
Where to find user guides, versions, and citations
A collection’s metadata record can help you locate its DOI, citation information, and supporting documentation. Follow the DOI to the dataset’s landing page, where you can find the recommended citation, dataset version, and links to user guides. For example, BioSCape: AVIRIS-NG L3 Resampled Reflectance Mosaics, V2 contains mosaics of surface reflectance observations collected for the BioSCape project. Its user guide provides information about the data files and how the mosaics were produced. Here, L3 identifies the processing level, while V2 identifies the dataset version. Check that the documentation applies to the version you are using, and use the recommended dataset citation. For data producers, metadata and documentation work together: the metadata helps people discover and evaluate the dataset, while the user guide explains how to interpret and use it. Keep both consistent when releasing updates.
Check the dataset’s DOI landing page alongside its structured metadata, and review the user guide if one is available. User guides often provide additional details about calibration, processing methods, known issues, and limitations that are important for interpreting and using the data. They may also explain file naming conventions and what each part of a file name represents.
Discover a suborbital collection
The metadata fields introduced above become the search criteria we use to find data. With earthaccess, we can discover suborbital collections by instrument, project, geographic area, and time period.
The CARVE and AVIRIS-Classic examples illustrated how platform and instrument relationships can differ between collections. For the following walkthrough, we will use a BioSCape AVIRIS-NG collection to explore how those concepts appear in collection and granule metadata.
Search by project, platform, instrument, or keyword
Collection metadata allows us to search by project or campaign, platform, instrument, and science keywords. Here, we search for collections associated with BioSCape and the AVIRIS-NG instrument.
We will use the earthaccess.search_datasets() function to get collections related to those two terms and return the title of the elements found:
Found 7 collections:
BioSCape: AVIRIS-NG L3 Resampled Reflectance Mosaics, V2
DOI: {'DOI': '10.3334/ORNLDAAC/2427', 'Authority': 'https://doi.org'}
BioSCape: AVIRIS-NG L1B Calibrated Radiance
DOI: {'DOI': '10.3334/ORNLDAAC/2418', 'Authority': 'https://doi.org'}
BioSCape: AVIRIS-NG L2 Orthocorrected Surface Reflectance
DOI: {'DOI': '10.3334/ORNLDAAC/2419', 'Authority': 'https://doi.org'}
BioSCape: AVIRIS-NG L2B Enhanced Surface Reflectance
DOI: {'DOI': '10.3334/ORNLDAAC/2385', 'Authority': 'https://doi.org'}
BioSCape: L3 Fractional Cover and Uncertainty from AVIRIS-NG imagery, V1
DOI: {'DOI': '10.3334/ORNLDAAC/2538', 'Authority': 'https://doi.org'}
BioSCape: Foliar Trait Maps derived from AVIRIS-NG imagery
DOI: {'DOI': '10.3334/ORNLDAAC/2521', 'Authority': 'https://doi.org'}
Coastal Wetland Soil Salinity and Hydroperiod, California, USA, and Western Cape, ZA
DOI: {'DOI': '10.3334/ORNLDAAC/2529', 'Authority': 'https://doi.org'}
These titles help us identify the different products available. The project and instrument information supplied by data producers makes this search possible.
Inspect candidate collection metadata
For this example, we will use BioSCape: AVIRIS-NG L3 Resampled Reflectance Mosaics, V2.
We can retrieve its collection metadata record using the DOI printed above. This would print a long output, which you can display by clicking on show collection metadata.
{'meta': {'concept-id': 'C3523930138-ORNL_CLOUD',
'concept-type': 'collection',
'deleted': False,
'format': 'application/vnd.nasa.cmr.umm+json',
'has-combine': False,
'has-formats': False,
'has-spatial-subsetting': False,
'has-temporal-subsetting': False,
'has-transforms': False,
'has-variables': False,
'native-id': 'BioSCape_ANG_V02_L3_RFL_Mosaic_2427',
'provider-id': 'ORNL_CLOUD',
'revision-date': '2026-04-20T20:28:12.462Z',
'revision-id': 23,
's3-links': ['s3://ornl-cumulus-prod-protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data',
's3://ornl-cumulus-prod-public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic'],
'user-id': 'arketch'},
'umm': {'Abstract': 'This dataset holds mosaics of resampled surface '
'reflectance from the Airborne Visible / Infrared Imaging '
'Spectrometer-Next Generation (AVIRIS-NG) instrument for '
'Biodiversity Survey of the Cape (BioSCape) project. '
'AVIRIS-NG imagery was acquired in October - November '
'2023 over the Greater Cape Floristic Region (GCFR), '
'South Africa. L2B surface reflectance data from these '
'AVIRIS-NG collections were resampled to 5-m spatial '
'resolution and mosaiced into a regular tile system of '
'807 tiles. A given tile includes multiple AVIRIS-NG '
'scenes from multiple flight lines spanning multiple '
'days. BioSCape is a multi-agency, NASA-led research '
'project that integrates airborne imaging spectroscopy '
'and lidar with a suite of measurements of biodiversity. '
'The dataset includes surface reflectance with '
'uncertainty for each tile in netCDF format along with an '
'RGB quicklook image in TIFF format. A spatial index of '
'mosaic grid ties is included in GeoJSON format.',
'AdditionalAttributes': [{'DataType': 'STRING',
'Description': 'Campaign',
'Name': 'Campaign'},
{'DataType': 'STRING',
'Description': 'DOI Authority',
'Name': 'Identifier_product_doi_authority'},
{'DataType': 'STRING',
'Description': 'Software Build Version',
'Name': 'SOFTWARE_BUILD_VERSION'}],
'AncillaryKeywords': ['AVIRIS-NG',
'biodiversity',
'GCFR',
'Greater Cape Floristic Region',
'surface reflectance',
'South Africa'],
'ArchiveAndDistributionInformation': {'FileDistributionInformation': [{'Format': 'multiple',
'TotalCollectionFileSize': 3.462,
'TotalCollectionFileSizeUnit': 'TB'}]},
'CollectionCitations': [{'OtherCitationDetails': 'Brodrick, P.G., '
'A.M. Chlus, R. '
'Eckert, J.W. '
'Chapman, M. '
'Eastwood, S. Geier, '
'M. Helmlinger, S.R. '
'Lundeen, W. '
'Olson-Duvall, R. '
'Pavlick, L.M. Rios, '
'D.R. Thompson, and '
'R.O. Green. 2025. '
'BioSCape: AVIRIS-NG '
'L3 Resampled '
'Reflectance '
'Mosaics, V2. ORNL '
'DAAC, Oak Ridge, '
'Tennessee, USA. '
'https://doi.org/10.3334/ORNLDAAC/2427'}],
'CollectionProgress': 'COMPLETE',
'DOI': {'Authority': 'https://doi.org',
'DOI': '10.3334/ORNLDAAC/2427'},
'DataCenters': [{'ContactInformation': {'Addresses': [{'City': 'Oak '
'Ridge',
'Country': 'USA',
'PostalCode': '37831-6407',
'StateProvince': 'Tennessee',
'StreetAddresses': ['ORNL '
'DAAC '
'User '
'Services '
'Office, '
'P.O. '
'Box '
'2008, '
'MS '
'6407, '
'Oak '
'Ridge '
'National '
'Laboratory']}],
'ContactMechanisms': [{'Type': 'Direct '
'Line',
'Value': '(865) '
'241-3952'},
{'Type': 'Email',
'Value': 'uso@daac.ornl.gov'}]},
'LongName': 'THE OAK RIDGE NATIONAL LABORATORY '
'(ORNL) DISTRIBUTED ACTIVE ARCHIVE '
'CENTER (DAAC)',
'Roles': ['ARCHIVER'],
'ShortName': 'ORNL_DAAC'}],
'DataDates': [{'Date': '2025-05-06T14:00:25.000Z', 'Type': 'CREATE'},
{'Date': '2025-05-09T10:58:11.000Z', 'Type': 'UPDATE'}],
'DirectDistributionInformation': {'Region': 'us-west-2',
'S3BucketAndObjectPrefixNames': ['s3://ornl-cumulus-prod-protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data',
's3://ornl-cumulus-prod-public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic'],
'S3CredentialsAPIDocumentationURL': 'https://data.ornldaac.earthdata.nasa.gov/s3credentialsREADME',
'S3CredentialsAPIEndpoint': 'https://data.ornldaac.earthdata.nasa.gov/s3credentials'},
'EntryTitle': 'BioSCape: AVIRIS-NG L3 Resampled Reflectance Mosaics, '
'V2',
'LocationKeywords': [{'Category': 'CONTINENT',
'Subregion1': 'SOUTHERN AFRICA',
'Subregion2': 'SOUTH AFRICA',
'Type': 'AFRICA'}],
'MetadataSpecification': {'Name': 'UMM-C',
'URL': 'https://cdn.earthdata.nasa.gov/umm/collection/v1.18.7',
'Version': '1.18.7'},
'Platforms': [{'Instruments': [{'LongName': 'Airborne '
'Visible-Infrared Imaging '
'Spectrometer - Next '
'Generation',
'ShortName': 'AVIRIS-NG'}],
'LongName': 'Gulfstream III',
'ShortName': 'G-III',
'Type': 'Jet'}],
'ProcessingLevel': {'Id': '3',
'ProcessingLevelDescription': 'Variables mapped '
'on uniform '
'space-time grid '
'scales with '
'completeness and '
'consistency'},
'Projects': [{'LongName': 'Biodiversity Survey of the Cape',
'ShortName': 'BioSCape'}],
'RelatedUrls': [{'Description': 'Earthdata Search allows users to '
'search, discover, visualize, refine, '
'and access NASA Earth Observation '
'data.',
'Subtype': 'Earthdata Search',
'Type': 'GET DATA',
'URL': 'https://search.earthdata.nasa.gov/search/granules?p=C3523930138-ORNL_CLOUD',
'URLContentType': 'DistributionURL'},
{'Description': 'Data set Landing Page DOI URL',
'Type': 'DATA SET LANDING PAGE',
'URL': 'https://doi.org/10.3334/ORNLDAAC/2427',
'URLContentType': 'CollectionURL'},
{'Description': 'Browse Image',
'Type': 'GET RELATED VISUALIZATION',
'URL': 'https://daac.ornl.gov/BIOSCAPE/guides/BioSCape_ANG_V02_L3_RFL_Mosaic_Fig1.jpg',
'URLContentType': 'VisualizationURL'},
{'Description': 'BioSCAPE Project Website',
'Type': 'PROJECT HOME PAGE',
'URL': 'https://bioscape.io/',
'URLContentType': 'CollectionURL'},
{'Description': 'ORNL DAAC Data Set Documentation',
'Subtype': "USER'S GUIDE",
'Type': 'VIEW RELATED INFORMATION',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/comp/BioSCape_ANG_V02_L3_RFL_Mosaic.pdf',
'URLContentType': 'PublicationURL'},
{'Description': 'BioSCape: AVIRIS-NG L3 Resampled '
'Reflectance Mosaics, V2: '
'BioSCape_ANG_V02_L3_RFL_Mosaic.pdf',
'Subtype': 'GENERAL DOCUMENTATION',
'Type': 'VIEW RELATED INFORMATION',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/comp/BioSCape_ANG_V02_L3_RFL_Mosaic.pdf',
'URLContentType': 'PublicationURL'}],
'ScienceKeywords': [{'Category': 'EARTH SCIENCE',
'Term': 'SURFACE RADIATIVE PROPERTIES',
'Topic': 'LAND SURFACE',
'VariableLevel1': 'REFLECTANCE'}],
'ShortName': 'BioSCape_ANG_V02_L3_RFL_Mosaic_2427',
'SpatialExtent': {'GranuleSpatialRepresentation': 'CARTESIAN',
'HorizontalSpatialDomain': {'Geometry': {'BoundingRectangles': [{'EastBoundingCoordinate': 26.3231,
'NorthBoundingCoordinate': -31.1561,
'SouthBoundingCoordinate': -35.0059,
'WestBoundingCoordinate': 17.624}],
'CoordinateSystem': 'CARTESIAN'}},
'SpatialCoverageType': 'HORIZONTAL'},
'StandardProduct': False,
'TemporalExtents': [{'EndsAtPresentFlag': False,
'RangeDateTimes': [{'BeginningDateTime': '2023-10-22T00:00:00.000Z',
'EndingDateTime': '2023-11-26T23:59:59.999Z'}]}],
'UseConstraints': {'LicenseURL': {'Description': 'License URL for '
'data use policy',
'Linkage': 'https://science.nasa.gov/earth-science/earth-science-data/data-information-policy',
'MimeType': 'text/html',
'Name': 'Data Use Policy'}},
'Version': '2'}}
We can check the main records of the collection with:
As you can see in the print collection metadata above, there are two main keys with meta and umm.
A metadata record is organized into named fields called keys. Each key has a value, which may be text, a number, a list, or another group of fields. This record has two main sections:
- meta contains information about the record in CMR, such as its identifier and revision date.
- umm contains the scientific and descriptive metadata about the dataset, such as its title, instruments, coverage, and processing level.
We can check them out:
['revision-id',
'deleted',
'format',
'provider-id',
'has-combine',
'user-id',
'has-formats',
's3-links',
'has-spatial-subsetting',
'native-id',
'has-transforms',
'has-variables',
'concept-id',
'revision-date',
'has-temporal-subsetting',
'concept-type']
['AncillaryKeywords',
'CollectionCitations',
'AdditionalAttributes',
'SpatialExtent',
'CollectionProgress',
'StandardProduct',
'ScienceKeywords',
'TemporalExtents',
'ProcessingLevel',
'DOI',
'ShortName',
'EntryTitle',
'DirectDistributionInformation',
'RelatedUrls',
'DataDates',
'Abstract',
'LocationKeywords',
'Version',
'Projects',
'UseConstraints',
'DataCenters',
'Platforms',
'MetadataSpecification',
'ArchiveAndDistributionInformation']
We can select fields within umm to answer questions about the dataset. First, what does this collection contain? Its abstract provides an overview:
This dataset holds mosaics of resampled surface reflectance from the Airborne Visible / Infrared Imaging Spectrometer-Next Generation (AVIRIS-NG) instrument for Biodiversity Survey of the Cape (BioSCape) project. AVIRIS-NG imagery was acquired in October - November 2023 over the Greater Cape Floristic Region (GCFR), South Africa. L2B surface reflectance data from these AVIRIS-NG collections were resampled to 5-m spatial resolution and mosaiced into a regular tile system of 807 tiles. A given tile includes multiple AVIRIS-NG scenes from multiple flight lines spanning multiple days. BioSCape is a multi-agency, NASA-led research project that integrates airborne imaging spectroscopy and lidar with a suite of measurements of biodiversity. The dataset includes surface reflectance with uncertainty for each tile in netCDF format along with an RGB quicklook image in TIFF format. A spatial index of mosaic grid ties is included in GeoJSON format.
The abstract tells us that this collection contains mosaic tiles combining observations from multiple flight lines and days. It also identifies the available file types: NetCDF data, TIFF quicklook images, and a GeoJSON tile index. We should follow the DOI to review the user guide and recommended citation. The guide provides additional details about how the mosaics were produced and their limitations, helping you decide whether the data meet your needs.
We can answer other questions such as:
- What science topics is this collection indexed under?
[{'Category': 'EARTH SCIENCE',
'Topic': 'LAND SURFACE',
'Term': 'SURFACE RADIATIVE PROPERTIES',
'VariableLevel1': 'REFLECTANCE'}]
Science keywords are standardized terms that help users discover related datasets. They do not provide a complete inventory of measured variables; consult the data files and user guide for variables, units, and measurement details. As a data producer, choose keywords that accurately describe your dataset’s science topics so users can find it.
- When were the observations collected?
[{'RangeDateTimes': [{'BeginningDateTime': '2023-10-22T00:00:00.000Z',
'EndingDateTime': '2023-11-26T23:59:59.999Z'}],
'EndsAtPresentFlag': False}]
- What geographic area does the collection cover?
{'HorizontalSpatialDomain': {'Geometry': {'BoundingRectangles': [{'WestBoundingCoordinate': 17.624,
'NorthBoundingCoordinate': -31.1561,
'EastBoundingCoordinate': 26.3231,
'SouthBoundingCoordinate': -35.0059}],
'CoordinateSystem': 'CARTESIAN'}},
'SpatialCoverageType': 'HORIZONTAL',
'GranuleSpatialRepresentation': 'CARTESIAN'}
The bounding rectangle describes the collection’s overall geographic extent. It does not mean that observations cover every location inside that rectangle.
- What processing level is reported for this collection?
{'ProcessingLevelDescription': 'Variables mapped on uniform space-time grid scales with completeness and consistency',
'Id': '3'}
- What is the version of this collection?
Processing level indicates a broad category of processing, while version identifies the dataset release. For this collection, those are Level 3 and Version 2. The user guide describes the methods, algorithms, and processing steps used to generate the product.
As a data producer, record the processing level and document how the product was generated. Users need both to judge whether the data suit their analysis.
Connect platforms, instruments, and projects
Which platforms and instruments are associated with this collection?
[{'Instruments': [{'LongName': 'Airborne Visible-Infrared Imaging Spectrometer '
'- Next Generation',
'ShortName': 'AVIRIS-NG'}],
'LongName': 'Gulfstream III',
'ShortName': 'G-III',
'Type': 'Jet'}]
Each platform entry can include an Instruments list describing the instruments associated with that platform. Find the aircraft name in the output, then inspect its nested instruments to identify the sensor it carried. This structure preserves the platform–instrument relationship introduced earlier.
Which project is the collection associated with?
[{'LongName': 'Biodiversity Survey of the Cape', 'ShortName': 'BioSCape'}]
Compare the project’s ShortName with project="BIOSCAPE" in our earlier search. Project metadata connects the collection to the broader scientific effort and enables users to search for its datasets.
Both examples use .get(..., []) to return an empty list if the field is absent. An empty result means no entries were returned; it does not establish that the observations had no platform, instrument, or project.
For data producers, consistent platform, instrument, and project names help users discover the collection and understand how observations were collected. Missing entries can prevent a collection from appearing in searches that filter on those fields. Ambiguous relationships can leave users unsure which platform carried an instrument.
Collection-level metadata describes the collection as a whole. When platforms or instruments vary between observations, preserve those details in granule metadata, data files, or supporting documentation so users can identify how a particular observation was collected.
Find and explore granule metadata
Once we have identified a collection, we can explore its granules. A granule is an individual data unit within a collection and may contain one or several files. Depending on how the dataset is organized, a granule might represent a flight segment, an observation period, or a spatial tile.
Collection metadata describes the dataset as a whole. Granule metadata provides more specific information about each data unit, including its spatial and temporal coverage, file formats, and access links.
For example, in the BioSCape AVIRIS-NG L3 Resampled Reflectance Mosaics, V2 collection, a mosaic tile combines observations from multiple flight lines and days. Its granule includes reflectance and uncertainty files in NetCDF format, along with a quicklook image. This means that a granule in this collection should not be interpreted as a single flight.
Search within the selected collection
To find the collection granules, we first retrieve its identifier from the collection metadata.
Earlier, we saw that the record contains two main sections: meta, which describes the record in CMR, and umm, which describes the dataset. Within meta, the concept-id identifies this collection in CMR. Using that identifier in our search keeps the results within the collection we selected.
Within that data collection we already explored, we are going to use the function search_data() which helps with the granules:
Retrieved 5 example granules
Here, count=5 limits the results for inspection as up to five results; these are a sample, not necessarily all the granules in the collection. We will use these 5 granules to explore and understand the metadata.
Granules metadata
The first result in this sample represents a different type of data unit. We select the second result to explore a granule containing reflectance and uncertainty files, then inspect its keys. Python indexing starts at zero, so granules[1] selects the second result.
Like the collection record, the granule record contains meta and umm sections. We can inspect its keys to see what information is available before exploring individual fields.
The granule’s umm section follows UMM-G rather than UMM-C, so its fields differ from those we explored for the collection. For example, GranuleUR identifies the granule, TemporalExtent describes its temporal coverage, and DataGranule contains information about its files.
The available keys can vary between granules. Inspecting them helps us avoid assuming that every record contains the same information.
{'meta': {'collection-concept-id': 'C3523930138-ORNL_CLOUD',
'concept-id': 'G3527419803-ORNL_CLOUD',
'concept-type': 'granule',
'format': 'application/vnd.nasa.cmr.umm+json',
'native-id': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16',
'provider-id': 'ORNL_CLOUD',
'revision-date': '2025-05-13T17:34:21.353Z',
'revision-id': 2},
'size': 68.45077228546143,
'umm': {'AdditionalAttributes': [{'Name': 'SOFTWARE_BUILD_VERSION',
'Values': ['002']},
{'Name': 'Identifier_product_doi_authority',
'Values': ['https://doi.org']},
{'Name': 'Campaign', 'Values': ['BioSCape']}],
'CollectionReference': {'ShortName': 'BioSCape_ANG_V02_L3_RFL_Mosaic_2427',
'Version': '2'},
'DataGranule': {'ArchiveAndDistributionInformation': [{'Checksum': {'Algorithm': 'SHA-512',
'Value': '770c6b13f83d0aee7912e08d3895e508ed0b8834d0b3dce019415aedaceb480f91fc2e29b0b71f1c039bca183b2d86b366d279fee68fe7d2940453bdd313a55a'},
'Format': 'netCDF-4',
'Name': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc',
'SizeInBytes': 35862925},
{'Checksum': {'Algorithm': 'SHA-512',
'Value': '735c0fc496df2ed22b295a84383653a7fa686a4dd0eaf1da7ba87da3c27421b87d54ba5051487a77c826fe81d1b27f43e02cec73d8d5c0ba357ba7e1f7c3b72b'},
'Format': 'netCDF-4',
'Name': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_UNC.nc',
'SizeInBytes': 35839179},
{'Checksum': {'Algorithm': 'SHA-512',
'Value': 'a6751b67c171c92d1b66811f30205d9e6ae1c1c020da1b646b01cb8c75ce5382e615681e77d3953150d4c028b95a4ea7c63eeb90accd01887add254fe547cb5a'},
'Format': 'GeoTIFF',
'Name': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_QL.tif',
'SizeInBytes': 73266},
{'Checksum': {'Algorithm': 'SHA-512',
'Value': 'f17a75e5d5fd824d78593895905f58dbcf379bac5c11249fd39dd3996756dd2b7ce495fe5f777383035daaaff068587dbd3fc936b6d3cd80bbbe2409c46dad42'},
'Format': 'PNG',
'Name': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_BROWSE.png',
'SizeInBytes': 467}],
'DayNightFlag': 'Day',
'ProductionDateTime': '2025-04-21T00:00:00Z'},
'GranuleUR': 'AVIRIS-NG_BIOSCAPE_V02_L3_20_16',
'MetadataSpecification': {'Name': 'UMM-G',
'URL': 'https://cdn.earthdata.nasa.gov/umm/granule/v1.6.7',
'Version': '1.6.7'},
'PGEVersionClass': {'PGEName': 'L3_RFL_MOSAIC', 'PGEVersion': '002'},
'Platforms': [{'Instruments': [{'ShortName': 'AVIRIS-NG'}],
'ShortName': 'G-III'}],
'ProviderDates': [{'Date': '2025-04-28T14:39:14Z', 'Type': 'Create'}],
'RelatedUrls': [{'Description': 'Download '
'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_QL.tif',
'Type': 'GET DATA',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_QL.tif'},
{'Description': 'Download '
'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_UNC.nc',
'Type': 'GET DATA',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_UNC.nc'},
{'Description': 'Download '
'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc',
'Type': 'GET DATA',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc'},
{'Description': 'Download '
'AVIRIS-NG_BIOSCAPE_V02_L3_20_16_BROWSE.png',
'Type': 'GET RELATED VISUALIZATION',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_BROWSE.png'},
{'Description': 'This link provides direct download '
'access via S3 to the granule',
'Type': 'GET DATA VIA DIRECT ACCESS',
'URL': 's3://ornl-cumulus-prod-protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_QL.tif'},
{'Description': 'This link provides direct download '
'access via S3 to the granule',
'Type': 'GET DATA VIA DIRECT ACCESS',
'URL': 's3://ornl-cumulus-prod-protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_UNC.nc'},
{'Description': 'This link provides direct download '
'access via S3 to the granule',
'Type': 'GET DATA VIA DIRECT ACCESS',
'URL': 's3://ornl-cumulus-prod-protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc'},
{'Description': 'This link provides direct download '
'access via S3 to the granule',
'Type': 'GET RELATED VISUALIZATION',
'URL': 's3://ornl-cumulus-prod-public/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_BROWSE.png'},
{'Description': 'api endpoint to retrieve temporary '
'credentials valid for same-region '
'direct s3 access',
'Type': 'VIEW RELATED INFORMATION',
'URL': 'https://data.ornldaac.earthdata.nasa.gov/s3credentials'}],
'SpatialExtent': {'HorizontalSpatialDomain': {'Geometry': {'GPolygons': [{'Boundary': {'Points': [{'Latitude': -32.7331,
'Longitude': 19.0777},
{'Latitude': -32.6439,
'Longitude': 19.0832},
{'Latitude': -32.6393,
'Longitude': 18.9758},
{'Latitude': -32.7285,
'Longitude': 18.9702},
{'Latitude': -32.7331,
'Longitude': 19.0777}]}}]}}},
'TemporalExtent': {'RangeDateTime': {'BeginningDateTime': '2023-10-22T00:00:00Z',
'EndingDateTime': '2023-11-26T23:59:59Z'}}}}
The tree below highlights selected fields from the example granule AVIRIS-NG_BIOSCAPE_V02_L3_20_16; it is not a complete metadata record. Search result ordering can vary, so your second result may be a different granule. Compare its identifier and fields with the output above.
Granule: AVIRIS-NG_BIOSCAPE_V02_L3_20_16
├── meta CMR identifiers and record revision
├── size Size summary
└── umm Granule metadata
├── CollectionReference Parent collection and version
├── GranuleUR Granule identifier
├── SpatialExtent Tile footprint polygon
├── TemporalExtent Reported observation interval
├── DataGranule
│ └── ArchiveAndDistributionInformation
│ ├── ..._RFL.nc Reflectance
│ ├── ..._UNC.nc Uncertainty
│ ├── ..._QL.tif Quicklook
│ └── ..._BROWSE.png Browse image
├── RelatedUrls Data, visualization, and other links
├── Platforms G-III carrying AVIRIS-NG
├── PGEVersionClass Processing software and version
└── AdditionalAttributes Software build, campaign, DOI authority
GranuleUR identifies the granule whose metadata we are inspecting. Within SpatialExtent, the geometry may describe a bounding rectangle or a polygon defined by longitude and latitude coordinates. These describe the granule’s geographic footprint, but do not guarantee valid measurements everywhere inside it.
TemporalExtent describes when the observations represented by the granule were acquired. It may contain a single date and time or an interval with beginning and ending times. A trailing Z indicates UTC.
Notice that the collection uses TemporalExtents (plural), while each granule uses TemporalExtent (singular).
For the BioSCape mosaic tiles, the reported interval covers the campaign period. It should not be interpreted as one flight’s duration or the precise acquisition time of every pixel.
Not all the granules within a collection are going to have the same structure. This can change and we can validate it with the metadata.
for index, granule in enumerate(granules):
metadata = granule["umm"]
inventory = metadata.get("DataGranule", {}).get(
"ArchiveAndDistributionInformation", []
)
print(f"\n[{index}] {metadata['GranuleUR']}")
print(f"Files listed: {len(inventory)}")
for file_info in inventory:
print(
" ",
file_info.get("Name", "Name not supplied"),
"—",
file_info.get("Format", "Format not supplied"),
)
[0] BioSCape_ANG_V02_L3_RFL_Mosaic_tiles
Files listed: 1
BioSCape_ANG_V02_L3_RFL_Mosaic_tiles.geojson — GeoJSON
[1] AVIRIS-NG_BIOSCAPE_V02_L3_20_16
Files listed: 4
AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_20_16_UNC.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_20_16_QL.tif — GeoTIFF
AVIRIS-NG_BIOSCAPE_V02_L3_20_16_BROWSE.png — PNG
[2] AVIRIS-NG_BIOSCAPE_V02_L3_17_21
Files listed: 4
AVIRIS-NG_BIOSCAPE_V02_L3_17_21_RFL.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_17_21_UNC.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_17_21_QL.tif — GeoTIFF
AVIRIS-NG_BIOSCAPE_V02_L3_17_21_BROWSE.png — PNG
[3] AVIRIS-NG_BIOSCAPE_V02_L3_12_18
Files listed: 4
AVIRIS-NG_BIOSCAPE_V02_L3_12_18_RFL.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_12_18_UNC.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_12_18_QL.tif — GeoTIFF
AVIRIS-NG_BIOSCAPE_V02_L3_12_18_BROWSE.png — PNG
[4] AVIRIS-NG_BIOSCAPE_V02_L3_18_15
Files listed: 4
AVIRIS-NG_BIOSCAPE_V02_L3_18_15_RFL.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_18_15_UNC.nc — netCDF-4
AVIRIS-NG_BIOSCAPE_V02_L3_18_15_QL.tif — GeoTIFF
AVIRIS-NG_BIOSCAPE_V02_L3_18_15_BROWSE.png — PNG
Compare the file inventories above. The first granule contains a single GeoJSON tile index. The other four granules each group reflectance (RFL) and uncertainty (UNC) files with quicklook (QL) and browse images. This illustrates how granules within the same collection can serve different purposes and contain different numbers and types of files.
The inventory lists file names and formats; the user guide explains their roles and naming conventions. As a data producer, document these roles and explain how related files are grouped into granules so users can identify the files they need.
Inspect metadata inside a data file
The granule record describes the files associated with a data unit. Metadata inside those files provides another level of detail, including variable names, dimensions, and units.
We will open the reflectance NetCDF file from the mosaic tile we already selected. We identify it by the _RFL.nc suffix documented in the user guide, rather than assuming that the first access link points to the reflectance file.
https://data.ornldaac.earthdata.nasa.gov/protected/bioscape/BioSCape_ANG_V02_L3_RFL_Mosaic/data/AVIRIS-NG_BIOSCAPE_V02_L3_20_16_RFL.nc
<xarray.Dataset> Size: 7GB
Dimensions: (wavelength: 425, northing: 2000, easting: 2000)
Coordinates:
* wavelength (wavelength) float32 2kB 377.2 382.2 ... 2.496e+03 2.501e+03
Dimensions without coordinates: northing, easting
Data variables:
fwhm (wavelength) float32 2kB ...
reflectance (wavelength, northing, easting) float32 7GB ...The dataset display shows the file’s dimensions, coordinates, data variables, and attributes. We can inspect the variables and their units without explicitly loading the full reflectance array.
The following loop includes coordinate variables because their units also matter when interpreting the observations.
Variable: fwhm
Dimensions: ('wavelength',)
Shape: (425,)
Description: Full width at half maximum
Units: nm
Variable: reflectance
Dimensions: ('wavelength', 'northing', 'easting')
Shape: (425, 2000, 2000)
Description: Mosaiced Hemispherical Directional Reflectance Factor
Units: Not supplied
Variable: wavelength
Dimensions: ('wavelength',)
Shape: (425,)
Description: Wavelength centers
Units: nm
Summary
Exploring existing suborbital datasets from a user’s perspective shows why metadata deserves attention before data collection begins. Collection metadata supports discovery and describes the dataset’s overall context, while granule metadata describes individual data units, their coverage, and associated files. User guides and information within the files provide further details needed for interpretation. As a data producer, it is important to identify what and how you will capture the metadata so future users can find, understand, and reuse your data.
Additional resources
References
Acknowledgements
This template builds from the Project Pythia Notebook Template, which was in turn inspired by this template of the wonderful The Turing Way Jupyter Book.