Page 1 of 1

CMR search rate exceeded error still occurs after waiting 12 hours to access data

Posted: Fri Nov 22, 2024 4:38 pm America/New_York
by immerse8083
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

Re: CMR search rate exceeded error still occurs after waiting 12 hours to access data

Posted: Mon Nov 25, 2024 9:50 am America/New_York
by LP DAAC-EDL - dgolon
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.