Closed anayeaye closed 10 months ago
I updated the VEDA_DB_SCHEMA_VERSION
env var, should be good to merge!
Also changed the base branch to dev
because that's the default for ghgc dev.
Thanks for swapping the base branch @slesaad!
Closing due to base branch problems, will create a new PR with only the database handler changes
What
This is an update to the collection summaries methods for two reasons:
cog_default
that referred to a single band cloud optimized geotiff. The cog default summary is not used.Notes
VEDA_DB_SCHEMA_VERSION
must be incremented to cause the database handler to be run.How tested
Tested with a temporary stack based on an older snapshot of the staging database. First the extent and datetime object the collection summaries was modified for one collection. Next
pgstac.update_collection_extent(collection_id text)
was tested and the result validated (this is important to know for a downstream ingest step that uses the method. Then the bulkdashboard.update_all_collection_default_summaries()
method was executed to confirm that the periodic datetime summary utility function is working as well as the shortened bulk update all summaries function works as expected.