Fix/collection extents and summaries #211
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.