@mrchrisadams everywhere online (github, twitter etc.)
forever in the shadow of other Django Developers named Chris Adams
(sup @adams64! sup @acdha!)
ch4Emissions = livestockNumber * massCH4PerHeadPerTime;
var ch4GWP = parseFloat(dataFinder
.getDataItemValue(
'planet/greenhousegases/gwp',
'gas=CH4','GWP'));
co2eEmissions = ch4Emissions * ch4GWP;
returnValues.putValue('CH4', 'kg','year', ch4Emissions);
returnValues.addNote('comment',
'CH4 emissions converted to CO2e using a global' +
'warming potential of '+ ch4GWP);
returnValues.putValue('CO2e', 'kg','year', co2eEmissions);
returnValues.setDefaultType('CO2e');
component | file |
---|---|
SCIENCE | documentation.creole |
DATA | data.csv, itemdef.csv |
JAVASCRIPT | default.js |