Page 1 of 2

CMR STAC issue wih HLS collections

Posted: Thu Sep 05, 2024 7:32 am America/New_York
by senitnelhub
Dear Support,

The following two CMR STAC endpoints for HLS Landsat and Sentinel:
- https://cmr.earthdata.nasa.gov/stac/LPCLOUD/collections/HLSL30.v2.0/items/HLS.L30.T21XWC.2022230T154859.v2.0
- https://cmr.earthdata.nasa.gov/stac/LPCLOUD/collections/HLSS30.v2.0/items/HLS.S30.T58WEV.2020273T003609.v2.0

report

"Collection with ID [HLSL30.v2.0] in provider [LPCLOUD] not found."

and

"Collection with ID [HLSS30.v2.0] in provider [LPCLOUD] not found."

But the search endpoint does recognize both collections. Here's a working request example:

curl --___location 'https://cmr.earthdata.nasa.gov/stac/LPCLOUD/search' \
--header 'Content-Type: application/json' \
--data '{
"datetime": "2022-10-01T00:00:00Z/2022-10-05T00:00:00Z",
"collections": [
"HLSL30.v2.0"
],
"limit": 1
}'

The same example works also with the "HLSS30.v2.0" collection.

Re: CMR STAC issue wih HLS collections

Posted: Thu Sep 05, 2024 12:45 pm America/New_York
by wvalenci
Please retry your links with entryId as collectionId. Ex: "shortname"_"version" instead of "shortname".v"version" So the links would have HLSL30_2.0 instead of HLSL30.v2.0

- https://cmr.earthdata.nasa.gov/stac/LPCLOUD/collections/HLSL30_2.0/items/HLS.L30.T21XWC.2022230T154859.v2.0
- https://cmr.earthdata.nasa.gov/stac/LPCLOUD/collections/HLSS30_2.0/items/HLS.S30.T58WEV.2020273T003609.v2.0

Will

Re: CMR STAC issue wih HLS collections

Posted: Fri Sep 06, 2024 4:34 am America/New_York
by senitnelhub
Thanks for help.

Was this change announced somewhere?

Re: CMR STAC issue wih HLS collections

Posted: Fri Sep 06, 2024 6:23 am America/New_York
by senitnelhub
Also, why did you remove "metadata" under "assets" when you go to this endpoint https://cmr.earthdata.nasa.gov/stac/LPCLOUD/collections/HLSL30_2.0/items/HLS.L30.T01FBE.2018272T213803.v2.0?

Previously, it looked like this:

"metadata": {
"href": "https://cmr.earthdata.nasa.gov/search/concepts/G2198744339-LPCLOUD.xml",
"type": "application/xml"
}

Re: CMR STAC issue wih HLS collections

Posted: Mon Sep 09, 2024 5:07 pm America/New_York
by wvalenci
The change was announced in an email was sent out(to UTC users) by Tyler Stevens. It was also posted on the #cmr and #cmr-stac slack channels.

This is a new implementation of cmr-stac so there may be differences with the older version. I will write up a ticket to add the metadata xml.

Re: CMR STAC issue wih HLS collections

Posted: Tue Sep 10, 2024 12:41 pm America/New_York
by waltersdan
What is a UTC user? Is this a public list we can subscribe to know about CMR STAC changes?

Re: CMR STAC issue wih HLS collections

Posted: Wed Sep 11, 2024 12:32 pm America/New_York
by ircwaves
Seconding waltersdan's questions. Having notice on these changes would be hugely beneficial, as it stops processing of pipelines I manage, when they hit out of the blue.

Re: CMR STAC issue wih HLS collections

Posted: Thu Sep 12, 2024 8:19 am America/New_York
by wvalenci
UTC is the Unified technical Committee, which is a bi-weekly email newsletter that Tyler Stevens sends out with release notes from teams on the EED. You can see it at https://wiki.earthdata.nasa.gov/display/UTC/Earthdata+UTC+Status+9.11.24 and info for how to subscribe to it.

Re: CMR STAC issue wih HLS collections

Posted: Thu Sep 12, 2024 9:52 am America/New_York
by ircwaves
Thanks wvalenci. I've reached out to the wiki admins to see if I can be granted access to that page.

Re: CMR STAC issue wih HLS collections

Posted: Thu Sep 12, 2024 12:55 pm America/New_York
by senitnelhub
We get "Forbidden" response for that page.