Units

From AMEE Data Wiki

Jump to: navigation, search

Please read Overview before reading this so that you understand the concepts of profile items and profile item values.

Amounts returned by AMEE

Amounts returned by AMEE are usually in units of kilograms of carbon dioxide, but it is important to consult the documentation on a category to understand exactly what the returned value represents.

Profile item values

When setting a profile item value, it is important to specify your units explicitly. For example, for a distance specified over a time period, you might set distance=100, distanceUnit=km and distancePerUnit=month to represent 100 kilometres travelled per month. AMEE supports all units present in JScience.

Data item values

It is not usually necessary to be concerned with the units used in data items as AMEE handles unit conversion transparently with profile items, i.e. AMEE will ensure that the units specified by the user are converted to match those needed in the algorithm.

All values, units and perUnits are available for inspection via the API under /data. In most cases, to reduce the possibility of mistranslation, the units used in AMEE data items are the same as that in the specified source.