HLS STAC "Oops!" error occurring every day around 2 pm pacific time.

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
matushodul
Posts: 2
Joined: Fri May 17, 2024 2:28 pm America/New_York
Answers: 0

HLS STAC "Oops!" error occurring every day around 2 pm pacific time.

by matushodul » Tue Oct 29, 2024 12:36 pm America/New_York

We noticed that the HLS “Oops!” error* seems to occur at roughly the same time every day, so we created a script which checks the status of HLS throughout the day. Indeed, the oops error occurs every day around 2 pm pacific time, and lasts for a couple hours, after which it resolves itself. This would match observations from @rbrassfield of the error occurring at 3 pm mountain time, and from @matthew_cox_omnia at 4:30 pm central time.

There are other periods of oops error during the day as well, but these are shorter and don’t seem to follow a specific pattern.

* full error is: pystac_client.exceptions.APIError "Oops! Something has gone wrong. We have been alerted and are working to resolve the problem. Please try your request again later."

import sys, os
from pystac_client import Client
import time

def checkHLS():
try: # run a large HLS Query:
url = r'https://cmr.earthdata.nasa.gov/stac/LPCLOUD'
cat = Client.open(url)

geom = {
'type': 'Polygon',
'coordinates': [[[-121.48363199406296, 50.58244919445883], # for an ROI near Cache Creek, BC.
[-121.44546042608697, 50.58244919445883], # normally these coords are derived from a .shp
[-121.44546042608697, 50.700797792110535], # but I didn't include that part in this demo.
[-121.48363199406296, 50.700797792110535],
[-121.48363199406296, 50.58244919445883]]]
}

params = {
'intersects': geom,
'collections': ['HLSL30.v2.0'],
'datetime': '2018-01-01/2024-01-01'
}

search = cat.search(**params)
items = search.item_collection()

# If it works, return a status code of 1
return 1, None, None

except: # if it doesn't work, return a status code of 0 and the error message
the_type, the_value, the_traceback = sys.exc_info() # https://stackoverflow.com/a/19406123

return 0, the_type, the_value
Attachments
Screenshot 2024-10-29 at 8.59.27 AM.png
Screenshot 2024-10-29 at 8.59.27 AM.png (271.42 KiB) Not viewed yet

Filters:

LP DAACx - dgolon
User Services
User Services
Posts: 422
Joined: Mon Sep 30, 2019 10:00 am America/New_York
Answers: 0
Has thanked: 31 times
Been thanked: 8 times
Contact:

Re: HLS STAC "Oops!" error occurring every day around 2 pm pacific time.

by LP DAACx - dgolon » Tue Oct 29, 2024 3:27 pm America/New_York

Hi @matushodul Please look for your issue here: https://github.com/nasa/cmr-stac/issues, if you do not see any related issues posted please post what you mentioned there. Thanks -- Danielle
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.

aaleman
Posts: 12
Joined: Thu May 27, 2021 2:52 pm America/New_York
Answers: 0
Been thanked: 6 times

Re: HLS STAC "Oops!" error occurring every day around 2 pm pacific time.

by aaleman » Thu Oct 31, 2024 5:41 pm America/New_York

We're looking into it, but so far, it doesn't appear to be a CMR-STAC issue but rather something happening upstream with CMR. Status updates on the issue can be tracked in the repo: https://github.com/nasa/cmr-stac/issues/366

aaleman
Posts: 12
Joined: Thu May 27, 2021 2:52 pm America/New_York
Answers: 0
Been thanked: 6 times

Re: HLS STAC "Oops!" error occurring every day around 2 pm pacific time.

by aaleman » Thu Oct 31, 2024 6:29 pm America/New_York

Also want to share an update regarding the communication of changes and releases, as well as reporting and tracking issues for CMR-STAC...
  • Release notes are now available in the CMR-STAC GitHub repo: https://github.com/nasa/cmr-stac/releases. The production release cadence for CMR-STAC is typically every two weeks on Wednesday, and release notes will be posted 2 weeks ahead of scheduled release dates. The next scheduled release to production is 11/20/2024.
  • The CMR-STAC GitHub repo will also be The Place for reporting and tracking the status of issues and feature requests going forward. You can check the current list of open issues here: https://github.com/nasa/cmr-stac/issues.
I'm hopeful this streamlined approach to communications will make it easier for everyone to report and track the status of issues, fixes, and new feature requests for CMR-STAC. Please reach out if you have questions or concerns.

Post Reply