Skip to content

Commit

Permalink
Update ArchitectureDeepDive.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Driscoll authored May 1, 2024
1 parent 1eef899 commit 8eaf0f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ArchitectureDeepDive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
- [Sample spectrogram File](sample_data/sample_spectrogram_data.png)

0 comments on commit 8eaf0f1

Please sign in to comment.