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

Create bw2remote and package functionality for offline calculations #4

Closed
aleksandra-kim opened this issue Jan 11, 2016 · 1 comment
Labels
enhancement New feature or request major

Comments

@aleksandra-kim
Copy link
Member

Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


This will be quite some work:

  1. We need to be able to package up the processed files for a given functional unit and method (and weighting, normalization). This should be a single archive file.

  2. Translate functional unit, etc. to the correct filenames and indices.

  3. Write bw2remote, which is a flask application that can accept the files and a JSON payload.

  4. bw2remote should then stream Monte Carlo results back to a notebook widget that will produce a dynamic D3 histogram. See: https://github.com/mbostock/d3/wiki/Histogram-Layout, http://stackoverflow.com/questions/22052694/how-to-update-d3-js-bar-chart-with-new-data, http://blog.thedataincubator.com/2015/08/embedding-d3-in-an-ipython-notebook/

bw2remote should use rq and redis: https://redis-py.readthedocs.org/en/latest/, http://python-rq.org/docs/, and a Queue during multiprocessing.

@aleksandra-kim aleksandra-kim added major enhancement New feature or request labels Mar 10, 2020
@cmutel
Copy link
Member

cmutel commented May 26, 2020

Independent calculations, either locally or in the cloud, are already supported by 2.5 work. Work on a server interface should be documented in a separate repo.

@cmutel cmutel closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major
Projects
None yet
Development

No branches or pull requests

2 participants