Skip to content

Unable to query ATL13 version='007' granules despite "old version" warning and availability on Earthdata #723

@yueye231300

Description

@yueye231300

I am trying to query ATL13 data. When I use the default query (which defaults to V006), I receive a UserWarning stating that I am using an old version of the product. However, when I explicitly set version='007' in the Query object, avail_granules() returns an V006 list, even though V007 data is visible and available on the NSIDC/Earthdata Search website for the same region and time.

To Reproduce Here is a minimal code snippet to reproduce the behavior:

import icepyx as ipx

# 1. Query with default version (likely V006) -> Triggers Warning
region_v6 = ipx.Query(
    product='ATL13',
    spatial_extent=[-128.0, 41.0, -121.0, 45.0],
    date_range=['2023-12-30', '2023-12-31'], # Dates where V007 definitely exists
)
# Output: UserWarning: You are using an old version of this product

# 2. Query with explicit V007 -> Returns v006 granules
region_v7 = ipx.Query(
    product='ATL13',
    spatial_extent=[-128.0, 41.0, -121.0, 45.0],
    date_range=['2023-12-30', '2023-12-31'],
    version='007'
)

print(f"V007 Available Granules: {region_v7.avail_granules()}")

Output: V007 Available Granules: [V006 list]

Expected behavior Since icepyx warns that V006 is old, and V007 granules exist on the NSIDC website for this timeframe, avail_granules() should return the list of V007 granules when version='007' is specified.

Actual behavior

Running with version='006' triggers: UserWarning: You are using an old version of this product.

Running with version='007' returns an v006 list.

I checked region_v7.CMRparams and noticed that the specific version information might not be correctly resolved or passed to the CMR query parameters.

Environment :

Operating System: Windows 11 (Anaconda)

Python Version: 3.13.9

icepyx Version: 2.0.1

Additional context I have verified on Earthdata Search that ATL13 V007 granules (e.g., ATL13_20231231044153_01892201_007_01.h5) exist for the specified query parameters. It seems like icepyx might not yet have the updated Collection Concept ID for ATL13 V007 in its lookup tables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions