Skip to content

Commit

Permalink
Merge branch 'main' into add-rwanda
Browse files Browse the repository at this point in the history
  • Loading branch information
majesticio authored Apr 16, 2024
2 parents 49889c7 + ba50095 commit b9cfc4d
Show file tree
Hide file tree
Showing 50 changed files with 1,334 additions and 1,416 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,26 @@

Changes to adapters will be documented in this file.

## 11/26/2024
## 02/14/2024
### Removed deprecated adapters
- agaar_mn.js
- airnow-ftp.js
- eea.js
## 02/13/2024
### Removed unused files
- docker-compose.yml
- index.adapter.sh
- index.sh
- accra.js
- arpae-locations.js
- arpae-parameters.js
- arpalazio.js
- defra-locations.js
- israel.js
- moscow-locations.js
- ards-bay.js

## 11/26/2023
### Removed eslint
- Removed eslint from package.json
- Removed .eslintrc
Expand Down
69 changes: 0 additions & 69 deletions Dockerfile

This file was deleted.

9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is the main data ingest pipeline for the [OpenAQ](https://openaq.org) proje

Starting with `index.js`, there is an ingest mechanism to gather global air quality measurements from a variety of sources. This is currently run every 10 minutes and saves all unique measurements to a database.

[openaq-api](https://github.com/openaq/openaq-api) powers the API and more information on the data format can be found in [openaq-data-format](https://github.com/openaq/openaq-data-format).
[openaq-api-v2](https://github.com/openaq/openaq-api-v2) powers the API and more information on the data format can be found in [openaq-data-format](https://github.com/openaq/openaq-data-format).

For more info see the [OpenAQ-Fetch documentation index](docs/index.md).

Expand All @@ -24,18 +24,11 @@ Now you can get started with:

`node index.js --help`

For a full development quick start (with database setup etc.), please see the [dev-quick-start doc](docs/dev-quick-start.md).

For production deployment, you will need to have certain environment variables set as in the table below

| Name | Description | Default |
|---|---|---|
| SENDGRID_PASSWORD | Email service password | not set |
| SENDGRID_USERNAME | Email service username | not set |
| API_URL | URL of openaq-api | http://localhost:3004/v1/webhooks |
| WEBHOOK_KEY | Secret key to interact with openaq-api | '123' |
| AIRNOW_FTP_USER | User for AirNow FTP | not set |
| AIRNOW_FTP_PASSWORD | Password for AirNow FTP | not set |
| EEA_TOKEN | API token for EEA API | not set |
| DATA_GOV_IN_TOKEN | API token for data.gov.in | not set |
| EPA_VICTORIA_TOKEN | API token for portal.api.epa.vic.gov.au | not set |
Expand Down
2 changes: 1 addition & 1 deletion cdk/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class RealtimeFetcherStack extends cdk.Stack {
description: `Fetcher for ${id}`,
code: lambda.Code.fromAsset('../src'),
handler: 'fetch.handler',
memorySize: 1024,
memorySize: 2048,
runtime: lambda.Runtime.NODEJS_18_X,
timeout: cdk.Duration.seconds(900),
environment: env,
Expand Down
54 changes: 0 additions & 54 deletions data_scripts/accra.js

This file was deleted.

33 changes: 0 additions & 33 deletions data_scripts/arpae-locations.js

This file was deleted.

27 changes: 0 additions & 27 deletions data_scripts/arpae-parameters.js

This file was deleted.

30 changes: 0 additions & 30 deletions data_scripts/arpalazio.js

This file was deleted.

58 changes: 0 additions & 58 deletions data_scripts/defra-locations.js

This file was deleted.

Loading

0 comments on commit b9cfc4d

Please sign in to comment.