Skip to content

Commit

Permalink
Add Agrifootprint transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Dec 2, 2024
1 parent 26435c9 commit 2f04cf6
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
126 changes: 126 additions & 0 deletions randonneur_data/data/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -1631,5 +1631,131 @@
"homepage": "https://blonksustainability.nl/tools/agri-footprint",
"filename": "agrifootprint-2022-restore-simapro-ecoinvent-names.json",
"compression": false
},
"agrifootprint-2022-ecoinvent-3.10-biosphere": {
"name": "agrifootprint-2022-ecoinvent-3.10-biosphere",
"description": "Flowmapper 0.2 elementary flow correspondence from SimaPro-9 to ecoinvent-3.10-biosphere",
"contributors": [
{
"title": "Chris Mutel",
"path": "https://chris.mutel.org/",
"role": "author"
}
],
"created": "2024-12-02T22:28:40.291666+00:00",
"version": "1.0.0",
"licenses": [
{
"name": "CC-BY-4.0",
"path": "https://creativecommons.org/licenses/by/4.0/legalcode",
"title": "Creative Commons Attribution 4.0 International"
}
],
"graph_context": [
"edges"
],
"mapping": {
"source": {
"expression language": "like JSONPath",
"labels": {
"identifier": "Process[*].\"Process identifier\".text",
"name": "Process[*].Products[*].text[0]",
"platform_id": "Process[*].\"Platform Identifier\"",
"unit": [
"[\"Emissions to air/\", Process[*].\"Emissions to air\".[2]]",
"[\"Emissions to soil/\", Process[*].\"Emissions to soil\".[2]]",
"[\"Emissions to water/\", Process[*].\"Emissions to water\".[2]]",
"[\"Resources/\", Process[*].\"Resources\".[2]]"
],
"context": [
"[\"Emissions to air/\", Process[*].\"Emissions to air\".[1]]",
"[\"Emissions to soil/\", Process[*].\"Emissions to soil\".[1]]",
"[\"Emissions to water/\", Process[*].\"Emissions to water\".[1]]",
"[\"Resources/\", Process[*].\"Resources\".[1]]"
]
}
},
"target": {
"expression language": "XPath",
"labels": {
"name": "//*:elementaryExchange/*:name/text()",
"CAS number": "//*:elementaryExchange/@casNumber",
"unit": "//*:elementaryExchange/*:unitName/text()",
"identifier": "//*:elementaryExchange/@elementaryExchangeId",
"context": [
"//*:elementaryExchange/*:compartment/*:compartment/text()",
"//*:elementaryExchange/*:compartment/*:subcompartment/text()"
]
}
}
},
"source_id": "SimaPro-9",
"target_id": "ecoinvent-3.10-biosphere",
"homepage": "https://blonksustainability.nl/tools/agri-footprint",
"filename": "agrifootprint-biosphere-ecoinvent-3.10-biosphere.xz",
"compression": "lzma"
},
"agrifootprint-2022-ecoinvent-3.8-biosphere": {
"name": "agrifootprint-2022-ecoinvent-3.8-biosphere",
"description": "Flowmapper 0.2 elementary flow correspondence from SimaPro-9 to ecoinvent-3.8-biosphere",
"contributors": [
{
"title": "Chris Mutel",
"path": "https://chris.mutel.org/",
"role": "author"
}
],
"created": "2024-12-02T20:07:16.030549+00:00",
"version": "1.0.0",
"licenses": [
{
"name": "CC-BY-4.0",
"path": "https://creativecommons.org/licenses/by/4.0/legalcode",
"title": "Creative Commons Attribution 4.0 International"
}
],
"graph_context": [
"edges"
],
"mapping": {
"source": {
"expression language": "like JSONPath",
"labels": {
"identifier": "Process[*].\"Process identifier\".text",
"name": "Process[*].Products[*].text[0]",
"platform_id": "Process[*].\"Platform Identifier\"",
"unit": [
"[\"Emissions to air/\", Process[*].\"Emissions to air\".[2]]",
"[\"Emissions to soil/\", Process[*].\"Emissions to soil\".[2]]",
"[\"Emissions to water/\", Process[*].\"Emissions to water\".[2]]",
"[\"Resources/\", Process[*].\"Resources\".[2]]"
],
"context": [
"[\"Emissions to air/\", Process[*].\"Emissions to air\".[1]]",
"[\"Emissions to soil/\", Process[*].\"Emissions to soil\".[1]]",
"[\"Emissions to water/\", Process[*].\"Emissions to water\".[1]]",
"[\"Resources/\", Process[*].\"Resources\".[1]]"
]
}
},
"target": {
"expression language": "XPath",
"labels": {
"name": "//*:elementaryExchange/*:name/text()",
"CAS number": "//*:elementaryExchange/@casNumber",
"unit": "//*:elementaryExchange/*:unitName/text()",
"identifier": "//*:elementaryExchange/@elementaryExchangeId",
"context": [
"//*:elementaryExchange/*:compartment/*:compartment/text()",
"//*:elementaryExchange/*:compartment/*:subcompartment/text()"
]
}
}
},
"source_id": "SimaPro-9",
"target_id": "ecoinvent-3.8-biosphere",
"homepage": "https://blonksustainability.nl/tools/agri-footprint",
"filename": "agrifootprint-biosphere-ecoinvent-3.8-biosphere.xz",
"compression": "lzma"
}
}

0 comments on commit 2f04cf6

Please sign in to comment.