Closed anayeaye closed 2 years ago
@abarciauskas-bgse @slesaad @xhagrg It turns out this is happening for multiple collections. I did a quick staging database comparison of all collection ids to the distinct list of collection_ids in the items table (here's a spreadsheet). I there might be a couple collection records we want to delete but I don't know why others are not represented in the items table. Can you all have a look and let me know what you think?
Two things seem possible
Collection ids not in the items table
blue-tarp-planetscope
grdi-v2-raster
HLSS30
IS2SITMOGR4
nightlights-hd-3bands
OMI_trno2
OMSO2PCA
OMSO2PCA_COG
I was able to run the summary function for all collections this AM. Issue resolved. Thanks!
What
There seems to be an indexing problem for the
nightlights-hd-3bands
items--I noticed that the collectionsummaries
object is empty and when I tried to compute it manually I found that I couldn't select any items for this collection id in postgres. This is super strange because the simple get items search does work https://staging-stac.delta-backend.xyz/collections/nightlights-hd-3bands/items.Notes
I can find the collection by id but can't find items by collection_id or the collection property in the "contents" (which is not the way to search but I am having trouble selecting the 3 band nightlights items in postgres).
AC
Items indexed and
update_default_summaries(nightlights-hd-3bands)
produces a collection summary.