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

LCIA formatter

A Python tool for standardizing the format and flows of life cycle impact assessment data.
https://github.com/usepa/lciaformatter

Category: Industrial Ecology
Sub Category: Life Cycle Assessment

Keywords

ord

Last synced: about 18 hours ago
JSON representation

Repository metadata

README.md

LCIA formatter

JOSS
DOI
build

The LCIA formatter, or lciafmt, is a Python tool for standardizing the format and flows of life cycle impact assessment (LCIA) data. The tool acquires LCIA data transparently from its original
source, cleans the data, shapes them into a standard format using the LCIAmethod format, and optionally applies flow mappings as defined in the Federal LCA Commons Elementary Flow List. The result can be exported to all formats supported by the
pandas package (e.g. Excel, CSV) or the openLCA JSON-LD format.

The LCIA Formatter v1 was peer-reviewed internally at USEPA and externally through the Journal of Open Source software. An article describing the LCIA Formatter was published by JOSS.

Data Provided

LCIA Data Provider Link
TRACI 2.1 US Environmental Protection Agency Tool for Reduction and Assessment of Chemicals and Other Environmental Impacts
ReCiPe 2016 Midpoint National Institute for Public Health and the Environment (The Netherlands) LCIA: the ReCiPe Model
ReCiPe 2016 Endpoint National Institute for Public Health and the Environment (The Netherlands) LCIA: the ReCiPe Model
ImpactWorld+ Midpoint* International Reference Center for Life Cycle of Products, Services and Systems (CIRAIG) ImpactWorld+
ImpactWorld+ Endpoint* International Reference Center for Life Cycle of Products, Services and Systems (CIRAIG) ImpactWorld+
IPCC GWP Intergovernmental Panel on Climate Change (IPCC)
FEDEFL Inventory Methods US Environmental Protection Agency FEDEFL Inventory Methods
Cumulative Energy Demand Federal LCA Commons FEDEFL Inventory Methods

* only works on Windows installations

Installation Instructions

lciafmt requires Python 3.9 or greater.

Install a release directly from github using pip. From a command line interface, run:

pip install git+https://github.com/USEPA/[email protected]#egg=lciafmt

where you can replace 'v1.1.0' with the version you wish to use under Releases.

Alternatively, to install from the most current point on the repository:

git clone https://github.com/USEPA/LCIAformatter.git
cd LCIAformatter
pip install . # or pip install -e . for devs

The current version contains an optional dependency on the pyodbc library to generate the Impact World+ LCIA method.
Due to limitations in reading Access databases from non-Windows platforms, this will only be install on Windows machines.

This needs to be specified in the pip install command. It can be done in one of two ways:

pip install .["ImpactWorld"]

or

pip install . -r requirements.txt -r impactworld_requirements.txt 

See the Wiki for further installation and use instructions or for information on how to seek support.

Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis
and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer
has responsibility to protect the integrity , confidentiality, or availability of the information. Any
reference to specific commercial products, processes, or services by service mark, trademark, manufacturer,
or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal
and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or
the United States Government.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 498
Total Committers: 13
Avg Commits per committer: 38.308
Development Distribution Score (DDS): 0.341

Commits in past year: 56
Committers in past year: 2
Avg Commits per committer in past year: 28.0
Development Distribution Score (DDS) in past year: 0.036

Name Email Commits
Ben Young 4****g 328
WesIngwersen i****y@e****v 51
msrocka m****a@g****m 34
sarahcashmanz s****n@e****m 22
dannyhage 6****e 12
Andrew 5****9 10
BMorelli b****i@e****m 10
Tomas Navarrete t****R 10
TAHottle t****e@e****m 6
Andrew Beck 8****k 5
Charlotte Soneson c****n@g****m 5
Filipe Chichorro f****e@e****g 3
hottleta t****e@g****m 2

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 55
Total pull requests: 83
Average time to close issues: 2 months
Average time to close pull requests: 10 days
Total issue authors: 10
Total pull request authors: 7
Average comments per issue: 1.65
Average comments per pull request: 0.36
Merged pull request: 78
Bot issues: 0
Bot pull requests: 0

Past year issues: 11
Past year pull requests: 12
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 15 days
Past year issue authors: 3
Past year pull request authors: 1
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.42
Past year merged pull request: 11
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/usepa/lciaformatter

Top Issue Authors

  • bl-young (26)
  • WesIngwersen (11)
  • mfastudillo (6)
  • tngTUDOR (3)
  • dt-woods (2)
  • hottleta (2)
  • m-jamieson (2)
  • fchichorro (1)
  • tur-ium (1)
  • MaximeAgez (1)

Top Pull Request Authors

  • bl-young (64)
  • hottleta (6)
  • WesIngwersen (5)
  • bnjmnmorelli (4)
  • fchichorro (2)
  • a-w-beck (1)
  • csoneson (1)

Top Issue Labels

  • enhancement (13)
  • bug (3)
  • metadata (3)
  • testing (1)
  • duplicate (1)

Top Pull Request Labels


Dependencies

impactworld_requirements.txt pypi
  • pyodbc >=4.0.30
requirements.txt pypi
  • esupy *
  • fedelemflowlist *
  • olca-ipc >=0.0.8,<=0.0.10
  • openpyxl >=3.0.7
  • pandas >=0.23
  • pyyaml >=5.3
  • requests >=2.21.0
setup.py pypi
  • esupy *
  • fedelemflowlist *
  • olca-ipc >=0.0.8,
  • openpyxl >=3.0.7
  • pandas >=0.22
  • pyyaml >=5.3
.github/workflows/python-package.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/test_methods.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • actions/upload-artifact v3.1.1 composite

Score: 6.030685260261263