{"id":43760318,"url":"https://github.com/renci/cmaq-exposure-api","last_synced_at":"2026-02-05T15:04:15.559Z","repository":{"id":26890051,"uuid":"111028448","full_name":"RENCI/cmaq-exposure-api","owner":"RENCI","description":"CMAQ Exposures API","archived":false,"fork":false,"pushed_at":"2022-06-21T21:15:51.000Z","size":7809,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-06-11T18:26:39.353Z","etag":null,"topics":["cmaq","docker","environmental-exposures","open-api","python3","rest-api","swagger"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RENCI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-16T22:17:08.000Z","updated_at":"2023-11-17T14:32:26.000Z","dependencies_parsed_at":"2022-07-27T08:52:28.553Z","dependency_job_id":null,"html_url":"https://github.com/RENCI/cmaq-exposure-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RENCI/cmaq-exposure-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fcmaq-exposure-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fcmaq-exposure-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fcmaq-exposure-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fcmaq-exposure-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RENCI","download_url":"https://codeload.github.com/RENCI/cmaq-exposure-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fcmaq-exposure-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29124793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmaq","docker","environmental-exposures","open-api","python3","rest-api","swagger"],"created_at":"2026-02-05T15:03:09.860Z","updated_at":"2026-02-05T15:04:15.541Z","avatar_url":"https://github.com/RENCI.png","language":"Python","readme":"# cmaq-exposure-api\n\nThe CMAQ Exposure API is a RESTful data service implemented in [Swagger](https://swagger.io/) using [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) standards and provides environmental [CMAQ](https://www.cmascenter.org/cmaq/) exposures data based on GeoCodes (latitude, longitude) and dates.\n\n## TL;DR\n\n```\ncd cmaq-exposure-api\n./run-cmaq-api.sh\n```\nOpen [http://localhost:5000/v1/ui/#/default](http://localhost:5000/v1/ui/#/default) in your browser when the script completes.\n\n## Development Environment\n\n**Preliminary assumptions**\n\n- Docker and docker-compose are available on the host\n\t- Generally executed using a `bash` script that performs `docker` or `docker-compose` calls\n\n- Python 3 is available on the host\n\t- Generally executed using `virtualenv` in the manner:\n\n\t\t```\n\t\t$ virtualenv -p /PATH_TO/python3 venv\n\t\t$ source venv/bin/activate\n\t\t(venv)$ pip install -r requirements.txt\n\t\t(venv)$ python SOMETHING.py [/PATH_TO/SOME_FILE]\n\t\t```\n\n### Repository structure\n\nThe repository has been broken into multiple sections based on the infrastructure, application or task being addressed. Each section is briefly described here with a more detailed overview as a `README.md` file at each primary directory level.\n\t\t\n**PostgreSQL 9.6 / PostGIS 2.3**:\n \n- Docker-compose based development database\n- See [README.md](postgres96/README.md) in `postgres96/`\n\n**Sample Data**:\n \n- Initialization scripts for PostgreSQL cmaq database and tables\n- Representive CMAQ data in SQL format\n- See [README.md](data-sample/README.md) in `data-sample/`\n\n**Data Tools**:\n\n- `pre-ingest`: checks to validate CMAQ source data against the PostgreSQL database schema\n- `ingest`: scripts for reading the CMAQ source data into the PostgreSQL database\n- `postgres-functions`: indexes and function generation tools\n- `post-ingest`: scripts for updating the aggregate values of newly ingested data\n- See [README.md](data-tools/README.md) in `data-tools/`\n\n**Server**\n\n- Python3/Flask based API server\n- Docker implementation of the API server\n- See [README.md](server/README.md) in `server/`\n\n**Client**\n\n- TODO\n\n**Swagger Editor**\n\n- TODO\n\n\nSee [INSTALL.md](INSTALL.md) for full details.\n\n### About CMAQ / CMAS\n\nCMAQ is an active open-source development project of the U.S. EPA that consists of a suite of programs for conducting air quality model simulations. CMAQ is supported and distributed by the [Community Modeling and Analysis System (CMAS)](https://www.cmascenter.org/index.cfm) Center.\n\nCMAQ combines current knowledge in atmospheric science and air quality modeling with multi-processor computing techniques in an open-source framework to deliver fast, technically sound estimates of ozone, particulates, toxics, and acid deposition.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenci%2Fcmaq-exposure-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenci%2Fcmaq-exposure-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenci%2Fcmaq-exposure-api/lists"}