Since ecoinvent 3 was not released yet at the time when the EcoSpold02 format was implemented in the converter, the EcoSpold02 converter format follows the official format specification which is different from the format as it is used now in the ecoinvent database and in the ecoeditor, see also the comment on the open source page. The specification of the new data format and a converter from ecoSpold 1 to ecoSpold 2 are available at www.ecoinvent.org, along with the freeware ‘ecoE dit or for ecoinvent. I think the expected behavior is to have hash ids to identify the activities. Here is how to reproduce with python 3.5: ``` appdirs1.4.0 asteval0.9.7 brightway22.0.2 bw2analyzer0.9.1 bw2calc1.4 bw2data2.3.2 bw2io0.5.3 bw2parameters0.5.2 bw2speedups2.1 click6.6 decorator4.0.10 docopt0.6.2 eight0.3.3 fasteners0.14.1 Flask0.11.1 future0.15.2 ipython5.1.0 ipython. I would like to know if it exists a Mac version of EcoEditor. Indeed, I've many problems to run the 'EcoEditor.exe' (developed for PC) on my Mac even if with an emulator such as PlayOnMac (Wine). If it not exist alternative solutions for EcoEditor, what kind of software — freeware — does the community recommend to create EcoSpold document?
- Importing Ecoinvent Database In Ecospold Format For Mac Pro
- Importing Ecoinvent Database In Ecospold Format For Mac Computer
Released:
An interactive tool for creating fully parameterised Life Cycle Assessment (LCA) foreground models
Importing Ecoinvent Database In Ecospold Format For Mac Pro
Project description
# lcopt
An interactive tool for creating fully parameterised Life Cycle Assessment (LCA) foreground models
[![Build Status](https://travis-ci.org/pjamesjoyce/lcopt.svg?branch=master)](https://travis-ci.org/pjamesjoyce/lcopt)
[![Coverage Status](https://coveralls.io/repos/github/pjamesjoyce/lcopt/badge.svg?branch=master)](https://coveralls.io/github/pjamesjoyce/lcopt?branch=master)
Lcopt is a python module for creating fully parameterised LCA foreground models using a Flask based interactive GUI developed by [James Joyce](https://pjamesjoyce.github.io/)
It integrates with SimaPro and BrightWay2
Online documentation, including full installation instructions, is available [here](http://lcopt.readthedocs.io)
## Installation
### Basic Installation
For lcopt to work you should have the latest version of [brightway2](https://brightwaylca.org/) by Chris Mutel installed.
This will make sure most of lcopts dependencies are satisfied.
The instructions for installing brightway below are current as of April 2017, but check [here](https://docs.brightwaylca.org/installation.html) for the latest ones.
On the command line/console, create a new environment called lcopt:
```
conda create -n lcopt python=3.6
```
Then activate the lcopt environment using one of these:
```
# Mac/Linux
source activate lcopt
# Windows
activate lcopt
```
Then install brightway2:
```
conda install -y -q -c conda-forge -c cmutel -c haasad brightway2 jupyter
```
On windows there's an extra dependency:
```
conda install -y -q pywin32
```
Once brightway2 is ready to go, theres two more steps before installing lcopt itself..
Install pandas:
```
conda install -y -q pandas
```
Update werkzeug (this is a python 3.6 thing..):
```
pip install -U werkzeug
```
Finally, install lcopt via pip::
```
pip install lcopt
```
### Linking lcopt to brightway
To analyse any of the models you create in lcopt in brightway, there's an extra installation step to set up the default project and databases.
Full details of this step are in the [documentation](https://lcopt.readthedocs.io/en/latest/1_installation.html#setting-up-brightway2-for-lcopt)
Lcopt can create models using external LCI data from the [ecoinvent 3.3 cutoff database](http://www.ecoinvent.org/database/ecoinvent-33/ecoinvent-33.html) (ecoinvent license required) or the [FORWAST database](http://forwast.brgm.fr/)
Briefly, to set up lcopt to use ecoinvent 3.3:
Log into [ecoinvent.org](http://www.ecoinvent.org/login-databases.html) and go to the Files tab
Download the file called `ecoinvent 3.3_cutoff_ecoSpold02.7z`
Extract the file somewhere sensible on your machine, you might need to download [7-zip](http://www.7-zip.org/download.html) to extract the files.
Make a note of the folder path that contains the .ecospold files, its probably `<path/extracted/to>/datasets/`
Open a python console or jupyter notebook and use the setup utility function below:
```python
from lcopt.utils import lcopt_bw2_setup
ecospold_path = r'path/to/ecospold/files' # put your own path in here
lcopt_bw2_setup(ecospold_path)
```
To set up lcopt to use FORWAST there's no download step (the utility function downloads the latest version of the database). Simply use:
```python
from lcopt.utils import lcopt_bw2_forwast_setup
lcopt_bw2_forwast_setup()
```
## Example Usage
Below are the basic commands to get lcopt's interactive GUI up and running to create your first model. More detailed instructions are available in the [online documentation](https://lcopt.readthedocs.io/en/latest/2_use.html), including a [video runthrough](https://lcopt.readthedocs.io/en/latest/3_video_runthrough.html) of creating a simple model using the ecoinvent 3.3 database.
Lcopt saves models in your current working directory, so before launching it, `cd` to the folder you want to save your models in.
Lcopt is written in Python, so to use it open up a jupyter notebook or python shell and use the following commands
### Importing Lcopt
To import lcopt use
```python
from lcopt import *
```
### Creating a new model
To create a model, you need to create an instance of the LcoptModel class using the model name as the first argument:
```python
model = LcoptModel('My First Model')
```
By default the model will be populated in the background with the details to link to the ecoinvent 3.3 datasets. If you want your model to use FORWAST instead use:
```python
model = LcoptModel('My First FORWAST Model', useForwast=True)
```
### Loading an existing model
To load a model, make sure the file (*.lcopt) is in your working directory and use the model name (with or without the .lcopt extension) in this command:
```python
model = LcoptModel(load='My First Model')
```
Note : If you accidentally forget to use `load=` and you see a blank model don't panic. Lcopt won't overwrite your saved model unless you tell it to. Simply don't save the model and re-run the command with `load=`
### Launching the GUI
To launch the GUI for your model simply call the `launch_interact` method of your newly created model instance:
```python
model.launch_interact()
```
This will start a Flask server and launch your web browser to access the GUI. If it doesn't or you accidentally close the GUI tab, simply go to [http://127.0.0.1:5000/](http://127.0.0.1:5000/).
Information on how to use the GUI is located in 'More info..' panels dotted around at sensible locations within it.
For more details on using it, see the [documentation](https://lcopt.readthedocs.io/en/latest/2_use.html) or the [video](https://lcopt.readthedocs.io/en/latest/3_video_runthrough.html)
## Contribute
If you have any problems, questions, comments, feature requests etc. please [raise an issue here on github](https://github.com/pjamesjoyce/lcopt/issues)
If you want to contribute to Lcopt, you're more than welcome! Please fork the [github repository](https://github.com/pjamesjoyce/lcopt/) and open a pull request.
Lcopt uses [py.test](https://docs.pytest.org/en/latest/index.html>) and Travis for automated testing, so please accompany any new features with corresponding tests. See the `tests` folder in the [source code](https://github.com/pjamesjoyce/lcopt/tree/master/tests) for examples.
An interactive tool for creating fully parameterised Life Cycle Assessment (LCA) foreground models
[![Build Status](https://travis-ci.org/pjamesjoyce/lcopt.svg?branch=master)](https://travis-ci.org/pjamesjoyce/lcopt)
[![Coverage Status](https://coveralls.io/repos/github/pjamesjoyce/lcopt/badge.svg?branch=master)](https://coveralls.io/github/pjamesjoyce/lcopt?branch=master)
Lcopt is a python module for creating fully parameterised LCA foreground models using a Flask based interactive GUI developed by [James Joyce](https://pjamesjoyce.github.io/)
It integrates with SimaPro and BrightWay2
Online documentation, including full installation instructions, is available [here](http://lcopt.readthedocs.io)
## Installation
### Basic Installation
For lcopt to work you should have the latest version of [brightway2](https://brightwaylca.org/) by Chris Mutel installed.
This will make sure most of lcopts dependencies are satisfied.
The instructions for installing brightway below are current as of April 2017, but check [here](https://docs.brightwaylca.org/installation.html) for the latest ones.
On the command line/console, create a new environment called lcopt:
```
conda create -n lcopt python=3.6
```
Then activate the lcopt environment using one of these:
```
# Mac/Linux
source activate lcopt
# Windows
activate lcopt
```
Then install brightway2:
```
conda install -y -q -c conda-forge -c cmutel -c haasad brightway2 jupyter
```
On windows there's an extra dependency:
```
conda install -y -q pywin32
```
Once brightway2 is ready to go, theres two more steps before installing lcopt itself..
Install pandas:
```
conda install -y -q pandas
```
Update werkzeug (this is a python 3.6 thing..):
```
pip install -U werkzeug
```
Finally, install lcopt via pip::
```
pip install lcopt
```
### Linking lcopt to brightway
To analyse any of the models you create in lcopt in brightway, there's an extra installation step to set up the default project and databases.
Full details of this step are in the [documentation](https://lcopt.readthedocs.io/en/latest/1_installation.html#setting-up-brightway2-for-lcopt)
Lcopt can create models using external LCI data from the [ecoinvent 3.3 cutoff database](http://www.ecoinvent.org/database/ecoinvent-33/ecoinvent-33.html) (ecoinvent license required) or the [FORWAST database](http://forwast.brgm.fr/)
Briefly, to set up lcopt to use ecoinvent 3.3:
Log into [ecoinvent.org](http://www.ecoinvent.org/login-databases.html) and go to the Files tab
Download the file called `ecoinvent 3.3_cutoff_ecoSpold02.7z`
Extract the file somewhere sensible on your machine, you might need to download [7-zip](http://www.7-zip.org/download.html) to extract the files.
Make a note of the folder path that contains the .ecospold files, its probably `<path/extracted/to>/datasets/`
Open a python console or jupyter notebook and use the setup utility function below:
```python
from lcopt.utils import lcopt_bw2_setup
ecospold_path = r'path/to/ecospold/files' # put your own path in here
lcopt_bw2_setup(ecospold_path)
```
To set up lcopt to use FORWAST there's no download step (the utility function downloads the latest version of the database). Simply use:
```python
from lcopt.utils import lcopt_bw2_forwast_setup
lcopt_bw2_forwast_setup()
```
## Example Usage
Below are the basic commands to get lcopt's interactive GUI up and running to create your first model. More detailed instructions are available in the [online documentation](https://lcopt.readthedocs.io/en/latest/2_use.html), including a [video runthrough](https://lcopt.readthedocs.io/en/latest/3_video_runthrough.html) of creating a simple model using the ecoinvent 3.3 database.
Lcopt saves models in your current working directory, so before launching it, `cd` to the folder you want to save your models in.
Lcopt is written in Python, so to use it open up a jupyter notebook or python shell and use the following commands
### Importing Lcopt
To import lcopt use
```python
from lcopt import *
```
### Creating a new model
To create a model, you need to create an instance of the LcoptModel class using the model name as the first argument:
```python
model = LcoptModel('My First Model')
```
By default the model will be populated in the background with the details to link to the ecoinvent 3.3 datasets. If you want your model to use FORWAST instead use:
```python
model = LcoptModel('My First FORWAST Model', useForwast=True)
```
### Loading an existing model
To load a model, make sure the file (*.lcopt) is in your working directory and use the model name (with or without the .lcopt extension) in this command:
```python
model = LcoptModel(load='My First Model')
```
Note : If you accidentally forget to use `load=` and you see a blank model don't panic. Lcopt won't overwrite your saved model unless you tell it to. Simply don't save the model and re-run the command with `load=`
### Launching the GUI
To launch the GUI for your model simply call the `launch_interact` method of your newly created model instance:
```python
model.launch_interact()
```
This will start a Flask server and launch your web browser to access the GUI. If it doesn't or you accidentally close the GUI tab, simply go to [http://127.0.0.1:5000/](http://127.0.0.1:5000/).
Information on how to use the GUI is located in 'More info..' panels dotted around at sensible locations within it.
For more details on using it, see the [documentation](https://lcopt.readthedocs.io/en/latest/2_use.html) or the [video](https://lcopt.readthedocs.io/en/latest/3_video_runthrough.html)
## Contribute
If you have any problems, questions, comments, feature requests etc. please [raise an issue here on github](https://github.com/pjamesjoyce/lcopt/issues)
If you want to contribute to Lcopt, you're more than welcome! Please fork the [github repository](https://github.com/pjamesjoyce/lcopt/) and open a pull request.
Lcopt uses [py.test](https://docs.pytest.org/en/latest/index.html>) and Travis for automated testing, so please accompany any new features with corresponding tests. See the `tests` folder in the [source code](https://github.com/pjamesjoyce/lcopt/tree/master/tests) for examples.
Release historyRelease notifications | RSS feed
Importing Ecoinvent Database In Ecospold Format For Mac Computer
0.4.2
0.4.0
0.3.1
0.3.0
0.2.2
Relationship to Docker Machine: Installing Docker Desktop on Mac does not affect machines you created with Docker Machine. You have the option to copy containers and images from your local default machine (if one exists) to the Docker Desktop HyperKit VM. When you are running Docker Desktop, you do not need Docker Machine nodes running locally.
The installation takes only a few moments and consists of the following steps: Download the setup file of DAEMON Tools for Mac from the official site: www.daemon-tools.cc. Open the file — the one with.dmg extension. In the window that has opened, drag the DAEMON Tools icon to the Applications folder.
![Daemon Daemon](https://mac.daemon-help.com/static/install_1.jpg)
![Format Format](https://onlinelibrary.wiley.com/cms/asset/a5ed16b2-fe4f-49a0-bc1f-876b8411fc6f/jiec12810-fig-0003-m.jpg)
0.2.1
0.2.0 Al fiqh al muyassar pdf writer.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size lcopt-0.4.2.tar.gz (4.8 MB) | File type Source | Python version None | Upload date | Hashes |
Hashes for lcopt-0.4.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 1b54a9f03500bf5ec4ec3605035bca9e23f8810edaeb563612b371eea704cfb4 |
MD5 | 8655e7ab8b0b8a7ee627f555a90c3172 |
BLAKE2-256 | a207778253f0d506a79d686b0454cdc410ebf4375830396d5d2f9dcde39d3dff |
The SPOLD format is an electronic file format for exchanging data for life cycle inventories. The original SPOLD ’97 format was replaced by the SPOLD ’99 format (Weidema 1999)(pdf-file), which was implemented as import/export format in some LCA software (SimaPro, TEAM, KCL-EKO and Umberto). A slightly modified version was developed by the ecoinvent Centre as the ecoSPOLD (v1) format, released as Open Source, used for the ecoinvent database version 1 & 2, and implemented in all leading LCA software. An improved ecoSPOLD 2 format was developed by an ad hoc expert working group formed by ecoinvent under the leadership of Bo Weidema. An open hearing was conducted among users of the ecoSpold format, in order to collect their input and wishes for a new ecoSpold format v2. The result of this hearing and the way the input was treated can be seen in a public report. The resulting ecoSpold 2 data format is available from this page (see supporting documents and user manuals): https://www.ecoinvent.org/data-provider/data-provider-toolkit/ecospold2/ecospold2.html
A well-maintained software editor for datasets in this format has been published as freeware by the ecoinvent Centre. This editor does apply some additional validation rules and ecoinvent-specific features not specified in the ecoSpold format schema.