Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentinel-2 Geoparquet hasn't been updated since 2024-06-24 #400

Open
scottyhq opened this issue Dec 30, 2024 · 1 comment
Open

Sentinel-2 Geoparquet hasn't been updated since 2024-06-24 #400

scottyhq opened this issue Dec 30, 2024 · 1 comment

Comments

@scottyhq
Copy link

According to this thread #368 the STAC catalog is updated every 6 hours, but it looks like the geoparquet dump hasn't been updated since 2024-06-24?

import pystac_client
import planetary_computer
import adlfs

catalog = pystac_client.Client.open(
    "https://planetarycomputer.microsoft.com/api/stac/v1/",
    # NOTE: autosigns URLs with SAS tokens, and adds 'credential' to 'table:storage_options'
    modifier=planetary_computer.sign_inplace, 
)

collection_id = "sentinel-2-l2a"

# STAC API
collection = catalog.get_collection(collection_id)
most_recent_item = next(collection.get_items())
print(most_recent_item.datetime)
# 2024-12-23 03:23:09.024000+00:00

# STAC GEOPARQUET
gpq = collection.assets["geoparquet-items"]
fs = adlfs.AzureBlobFileSystem(**gpq.extra_fields["table:storage_options"])
print(fs.ls(gpq.href)[-1:])
# ['items/sentinel-2-l2a.parquet/part-0469_2024-06-17T10:25:31+00:00_2024-06-24T10:25:31+00:00.parquet']

xref: stac-utils/stac-geoparquet#84

@ghidalgo3
Copy link

Sorry for the interruption, we will investigate this starting in January and get the geoparquet stores up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants