Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serving and visualizing LCA results on a web page #1

Open
6 of 10 tasks
romainsacchi opened this issue Mar 25, 2019 · 0 comments
Open
6 of 10 tasks

Serving and visualizing LCA results on a web page #1

romainsacchi opened this issue Mar 25, 2019 · 0 comments
Assignees

Comments

@romainsacchi
Copy link
Contributor

romainsacchi commented Mar 25, 2019

The deliverable for this working group would be to have a working web-based application that can serve LCA results to users.

Specifically, there would be a landing page where:

  • the user could pick one or several products/services,
  • define a functional unit (reference flow, allocation method, impact assessment method, etc.),
  • send this calculation setup to the LCA calculation app,
  • and receive the results, which could be visualized using graphs
  • and be exported in a variety of format (csv, ecospold, etc.).

The results would be cached for ulterior requests.

A nice-to-have feature would be to let the user submit data to be added to the triplestore database, either by manually entering the data or by a drag-and-drop of a csv file (in a pre-defined format first, but maybe using a ML text classifier in the future).

Foreseeable tasks:

  • create a basic Flask project
  • host the code on Github, with instructions for "reproducibility"
  • set on a structure for the Flask project to reflect the future needed modules
  • write basic user functions on the landing page (picking a product, defining a functional unit, etc.)
  • make the LCA calculation module work with dummy matrices, or Exiobase matrix
  • cache the matrix on first request
  • register users' requests and results in a database
  • install the Flask app on a droplet with Ubuntu or Fedora
  • develop the converter module, effectively converting a triplestore extract into a 2D matrix
  • make a simple widget to be embedded in third-party pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants