Source

brightway2-data / bw2data / tests / fixtures.py

biosphere = {
    ("biosphere", 1): {
        'categories': ['things'],
        'code': 1,
        'exchanges': [],
        'name': 'an emission',
        'type': 'emission',
        'unit': 'kg'
        },
    ("biosphere", 2): {
        'categories': ['things'],
        'code': 2,
        'exchanges': [],
        'type': 'emission',
        'name': 'another emission',
        'unit': 'kg'
        },
}

food = {
    ("food", 1): {
        'categories': ['stuff', 'meals'],
        'code': 1,
        'exchanges': [{
            'amount': 0.5,
            'input': ('food', 2),
            'type': 'technosphere',
            'uncertainty type': 0},
            {'amount': 0.05,
            'input': ('biosphere', 1),
            'type': 'biosphere',
            'uncertainty type': 0}],
        'location': 'CA',
        'name': 'lunch',
        'type': 'process',
        'unit': 'kg'
        },
    ("food", 2): {
        'categories': ['stuff', 'meals'],
        'code': 2,
        'exchanges': [{
            'amount': 0.25,
            'input': ('food', 1),
            'type': 'technosphere',
            'uncertainty type': 0},
            {'amount': 0.15,
            'input': ('biosphere', 2),
            'type': 'biosphere',
            'uncertainty type': 0}],
        'location': 'CH',
        'name': 'dinner',
        'type': 'process',
        'unit': 'kg'
        },
    }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.