A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

emissions-api

A solution that provides simple access to emissions data of climate-relevant gases.
https://github.com/emissions-api/emissions-api

Category: Emissions
Sub Category: Emission Observation and Modeling

Keywords

air-quality citizen-science copernicus emissions-api esa hacktoberfest python remote-sensing sentinel-5

Keywords from Contributors

measur transforms observation archiving compose geoprocessing geography reporting sharing projection

Last synced: about 17 hours ago
JSON representation

Repository metadata

Web API to easily access satellite-based emission data

README.rst

          Emissions API
=============

.. image:: https://img.shields.io/travis/com/emissions-api/emissions-api?label=Docs
   :target: https://docs.emissions-api.org
   :alt: Documentation Status
.. image:: https://github.com/emissions-api/emissions-api/actions/workflows/main.yml/badge.svg
   :target: https://github.com/emissions-api/emissions-api/actions/workflows/main.yml
   :alt: Integration Test

This is the main repository for the `Emissions API `_.

If you just want to use Emissions API as a service, take a look at our `API documentation `_
or visit our `website `_ for additional information and examples.

Below you will find a small introduction about setting the services in this repository up for development.

If you want to take a deeper dive into this, you can take a look at the `documentation `_,
visit the `issues `_
or take a look into the `libraries and tools `_ we created around this project.

Installation
------------

To install the requirements execute

.. code-block:: bash

   pip install -r requirements.txt

You might have to explicitly deal with C-dependencies like ``psycopg2`` yourself,
One way to do this is to use your corresponding system packages.

After that you can run the different services using

* **preprocess**\ : ``python -m emissionsapi.preprocess``
* **autoupdater**\ : ``python -m emissionsapi.autoupdater``
* **web**\ : ``python -m emissionsapi.web``

Configuration
-------------

Emissions API will look for configuration files in the following order:

* ``./emissionsapi.yml``
* ``~/emissionsapi.yml``
* ``/etc/emissionsapi.yml``

A configuration file template can be found at ``etc/emissionsapi.yml``.
To get started, just copy this to the main project directory and adjust the
values if the defaults do not work for you.

Database Setup
--------------

This project is using a `PostgreSQL `_ database with the `PostGIS `_ extension.

There is a simple ``docker-compose.yml`` file to make it easier to setup a
database for development.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 381
Total Committers: 12
Avg Commits per committer: 31.75
Development Distribution Score (DDS): 0.745

Commits in past year: 6
Committers in past year: 2
Avg Commits per committer in past year: 3.0
Development Distribution Score (DDS) in past year: 0.333

Name Email Commits
dependabot-preview[bot] 2****] 97
Lars Kiesow l****w@u****e 88
dependabot[bot] 4****] 86
Sven Haardiek s****n@h****e 82
Timo Brockmeyer t****r@g****m 6
Max Brenner x****b@g****m 5
Sven Haardiek s****k@i****e 4
David Dalisay d****3@g****m 4
Simon Kerssen S****n@i****e 3
Björn f****z@g****m 3
EmbeddedHenni 4****i 2
TylerBird t****0@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 64
Total pull requests: 498
Average time to close issues: 2 months
Average time to close pull requests: 22 days
Total issue authors: 7
Total pull request authors: 12
Average comments per issue: 1.3
Average comments per pull request: 0.69
Merged pull request: 334
Bot issues: 0
Bot pull requests: 335

Past year issues: 0
Past year pull requests: 4
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 4

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/emissions-api/emissions-api

Top Issue Authors

  • lkiesow (34)
  • shaardie (25)
  • martincarapia (1)
  • airqualityanthony (1)
  • marcoarthur (1)
  • benszau (1)
  • tibroc (1)

Top Pull Request Authors

  • dependabot[bot] (201)
  • dependabot-preview[bot] (134)
  • lkiesow (78)
  • shaardie (64)
  • benszau (6)
  • tibroc (4)
  • frangiz (3)
  • brennerm (2)
  • dalisaydavid (2)
  • EmbeddedHenni (2)
  • martincarapia (1)
  • TylerBird (1)

Top Issue Labels

  • good first issue (18)
  • enhancement (16)
  • documentation (6)
  • bug (4)
  • hacktoberfest (4)
  • question (3)
  • devops (2)
  • tests (2)
  • algorithm (1)

Top Pull Request Labels

  • dependencies (342)
  • bug (14)
  • tests (11)
  • documentation (9)
  • enhancement (5)
  • devops (1)
  • security (1)

Dependencies

requirements.txt pypi
  • Flask ==2.1.1
  • GeoAlchemy2 ==0.10.0
  • PyYAML ==6.0
  • SQLAlchemy ==1.4.35
  • alembic ==1.7.7
  • connexion ==2.14.0
  • geopandas ==0.10.2
  • gunicorn ==20.1.0
  • iso3166 ==2.0.2
  • pandas ==1.3.5
  • psycopg2 ==2.9.3
  • python-dateutil ==2.8.2
  • s5a ==0.4
  • sentinel5dl ==1.1
  • swagger-ui-bundle ==0.0.9
setup.py pypi
  • GeoAlchemy2 *
  • SQLAlchemy *
  • connexion *
  • geojson *
  • geopandas *
  • iso3166 *
  • psycopg2 *
  • python-dateutil *
  • s5a *
  • sentinel5dl *
.github/workflows/codeql.yml actions
  • actions/checkout v2 composite
  • github/codeql-action/analyze v1 composite
  • github/codeql-action/autobuild v1 composite
  • github/codeql-action/init v1 composite
.github/workflows/docs.yml actions
  • JamesIves/github-pages-deploy-action 3.7.1 composite
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
.github/workflows/main.yml actions
  • actions/checkout v2 composite
.github/docker-compose.yml docker
  • registry.hub.docker.com/postgis/postgis 12-master

Score: 7.090076835776092