Earthaccess 403
Posted: Fri Apr 04, 2025 11:12 am America/New_York
Hi all -- I'm trying to use earthaccess to grab some files and am running into a 403 error for a file in the middle of the search time period. Ideally, I'd like to just skip the files where there's an error and pull whatever's available. Is there a way to modify the earthaccess.open function to handle errors differently? Thanks!
results = earthaccess.search_data(
short_name = "PACE_OCI_L3M_CHL",
temporal = ("2024-08-01", "2024-10-01"),
bounding_box = bbox
)
paths = earthaccess.open(results)
paths
results = earthaccess.search_data(
short_name = "PACE_OCI_L3M_CHL",
temporal = ("2024-08-01", "2024-10-01"),
bounding_box = bbox
)
paths = earthaccess.open(results)
paths