diff --git a/docs/ArchitectureDeepDive.md b/docs/ArchitectureDeepDive.md index 5f7a1ce..78dab15 100644 --- a/docs/ArchitectureDeepDive.md +++ b/docs/ArchitectureDeepDive.md @@ -19,14 +19,14 @@ 9. For requests related to S3, the lambda integration will request to get objects from S3 and return data accordingly. 10. Once a day, the average monthly spl values are calculated using data from S3 and are stored in the database. 11. Once a day, the 1-minute interval spectrograms are combined into a single daily spectrogram which is stored in S3. -12. Each hour, the 1-minute interval spl data is combined into hourly spl values which are stored in S3. -13. Objects in S3 are filtered based on user inputted parameters. The filtered objects are than combined into a single zip file which gets stored in S3. +12. Each hour, the 1-minute interval spl data are combined into hourly spl values which are stored in S3. +13. When a user requests to download data, objects in S3 are filtered based on user inputted parameters. The filtered objects are than combined into a single zip file which gets stored in S3. 14. An email is sent to the user who requested the download. The email contains a pre-signed URL that the user can use to download the zip file from S3. 15. When an admin creates a new operator using the admin dashboard, a new user is created in the Cognito user pool. ### Client Software 16. Client software fetched the hydrophone details and configurations by calling an API endpoint. This endpoint invokes a lambda function (7) that fetches the details from the Noise Tracker Database (8). -17. The client application also needs to upload the analysis results into the cloud, which is done by uploading JSON files in the Noise Tracker S3 Bucket. +17. The client application also needs to upload the analysis results into the cloud, which is done by uploading files into the Noise Tracker S3 Bucket. ## Database Schema @@ -133,4 +133,4 @@ #### Sample `/spectrogram` Object Key `08b591c4-4c5c-4faf-97f0-02aacd48246b/spectrogram/2024/04/29/2024-04-29-00-01-40.png` -- [Sample spectrogram File](sample_data/sample_spectrogram_data.png) \ No newline at end of file +- [Sample spectrogram File](sample_data/sample_spectrogram_data.png)