planet-os / notebooks

A collection of Planet OS Jupyter notebooks.
MIT License
113 stars 54 forks source link

ERA5 Error - Post-2021 Data Missing? #27

Open J6767 opened 8 months ago

J6767 commented 8 months ago

Having trouble accessing ERA5 data after 2020.

import pystac_client

catalog = pystac_client.Client.open(
    "https://planetarycomputer.microsoft.com/api/stac/v1/"
)
search = catalog.search(collections=["era5-pds"], datetime="2020-12-01")
items = search.get_all_items()

len(items)  # 2

catalog = pystac_client.Client.open(
    "https://planetarycomputer.microsoft.com/api/stac/v1/"
)
search = catalog.search(collections=["era5-pds"], datetime="2021-12-01")
items = search.get_all_items()

len(items)  # 0