Skip to content

Commit

Permalink
Removed mappings from Agribalyse which lied about being ecoinvent pro…
Browse files Browse the repository at this point in the history
…cesses
  • Loading branch information
cmutel committed Nov 26, 2024
1 parent 4420949 commit 8dfc6c7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions dev/Agribalyse 3.1 transformations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 39,
"id": "67e56a20-1167-40c5-90bf-ac7d71dbdf79",
"metadata": {},
"outputs": [],
Expand All @@ -190,17 +190,18 @@
" for exc in ds['exchanges'] \n",
" if exc.get(\"functional\")\n",
" )\n",
"}.union({\n",
" (ds['code'], ds['name'])\n",
" for ds in sp.data \n",
" if 'Cut-off, S - Copied from Ecoinvent' in single_functional_input(ds).get(\"name\", \"\")\n",
" and \"(waste treatment)\" in single_functional_input(ds).get(\"name\", \"\")\n",
"})"
"}\n",
"# .union({\n",
"# (ds['code'], ds['name'])\n",
"# for ds in sp.data \n",
"# if 'Cut-off, S - Copied from Ecoinvent' in single_functional_input(ds).get(\"name\", \"\")\n",
"# and \"(waste treatment)\" in single_functional_input(ds).get(\"name\", \"\")\n",
"# })"
]
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 40,
"id": "1de7610f-20a2-4446-a70c-59d8cecab23d",
"metadata": {},
"outputs": [
Expand All @@ -210,7 +211,7 @@
"[('AGRIBALU000000003110690', 'market for p-dichlorobenzene RER')]"
]
},
"execution_count": 36,
"execution_count": 40,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -312,7 +313,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 41,
"id": "0f5587b1-b403-4961-98ab-ae0f04a61b96",
"metadata": {},
"outputs": [
Expand All @@ -322,7 +323,7 @@
"PosixPath('/Users/cmutel/Code/randonneur_data/randonneur_data/data/agribalyse-3.1.1-delete-aggregated-ecoinvent.xz')"
]
},
"execution_count": 38,
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -336,7 +337,7 @@
" ],\n",
" mapping_target=rn.MappingConstants.SIMAPRO_CSV,\n",
" mapping_source=rn.MappingConstants.SIMAPRO_CSV,\n",
" version=\"2.1.0\",\n",
" version=\"2.2.0\",\n",
" source_id=\"agribalyse-3.1.1\",\n",
" target_id=\"agribalyse-3.1.1\",\n",
" graph_context=[\"nodes\"],\n",
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions randonneur_data/data/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -1176,8 +1176,8 @@
"role": "author"
}
],
"created": "2024-11-26T20:20:08.896433+00:00",
"version": "2.1.0",
"created": "2024-11-26T23:11:22.146163+00:00",
"version": "2.2.0",
"licenses": [
{
"name": "CC-BY-4.0",
Expand Down

0 comments on commit 8dfc6c7

Please sign in to comment.