I am getting the error message 'CMR Search rate exceeded' when attempting to access HLS data using the python libraries earthaccess, stackstac and pystac_client. I have not attempted to run this script for at least 12 hours, but I am still getting the rate exceeded message. Is is necessary to wait longer before I can access the data again?
The script I am using (and that was reliably working previously) is as follows:
import stackstac
import earthaccess
earthaccess.login(strategy="netrc")
from pystac_client import Client
catalog = Client.open("https://cmr.earthdata.nasa.gov/stac/LPCLOUD")
items = catalog.search(
bbox=bbox_4326, ### this bounding box covers the borough of Manhattan in NYC
collections=["HLSL30.v2.0"],
datetime="2016-04-01/2016-11-01" ### 8 months of data
).item_collection()
stack = stackstac.stack(
items,
epsg=26918,
resolution=30,
bounds=bbox_utm,
assets=bands).where(lambda x: x > 0, other=np.nan) ### all spectral bands
CMR search rate exceeded error still occurs after waiting 12 hours to access data
-
- Posts: 3
- Joined: Fri Nov 22, 2024 4:26 pm America/New_York
-
- User Services
- Posts: 422
- Joined: Mon Sep 30, 2019 10:00 am America/New_York
- Has thanked: 31 times
- Been thanked: 8 times
- Contact:
Re: CMR search rate exceeded error still occurs after waiting 12 hours to access data
Hello @immerse8083 please check here: https://github.com/nasa/cmr-stac/issues to see if any other users have reported this issue and if not, please report it. Your code looks accurate to us.
Subscribe to the LP DAAC listserv by sending a blank email to lpdaac-join@lists.nasa.gov.
Sign up for the Landsat listserv to receive the most up to date information about Landsat data: https://public.govdelivery.com/accounts/USDOIGS/subscriber/new#tab1.
Sign up for the Landsat listserv to receive the most up to date information about Landsat data: https://public.govdelivery.com/accounts/USDOIGS/subscriber/new#tab1.