US-GHG-Center / ghgc-backend

Backend services for Green House Gas Center
Other
0 stars 1 forks source link

Update collection summaries dashboard method #28

Closed slesaad closed 10 months ago

slesaad commented 10 months ago

PI Objective

A VEDA Data Services production stage is live#285 Objective 8: Official 1st release/launch of the GHG website #15

Description

Currently, the dashboard.update_collection_default_summaries method creates "summaries" for a collection which includes the datetime summary and min and max for the cog_default asset. Since we're supporting multiple assets now, this method has to be updated to create the min and max summary for all the item assets that exist in the collection.

anayeaye commented 10 months ago

This PR corrects the utility functions in postgres, we've already deployed and tested in VEDA: https://github.com/US-GHG-Center/ghgc-backend/pull/30.

I also have a one line change for the ghgc-stac-ingestor but am not able to contribute to that repo yet. @slesaad can you add me?

slesaad commented 10 months ago

@anayeaye thanks! i've added the permissions!