Confusing usageUnit effect in lookup table creation #1229
Labels
bug
Something isn't working
seeking contributor
Appropriate for an outside contributor to do and requires less context on the ccf methodology
Preflight Checklist
Issue Details
Expected Behavior
When creating a lookup table for AWS S3 usage, I would expect the
usageUnit
column to have a predictable effect on the output. For example, I would expect the lookup table for these entries to be all different and non-zeroActual Behavior
The actual lookup table from the input above is this:
The factors in the first two rows are the same even though the
usageUnit
is different and the factor on the third line is 0.To Reproduce
create a new app named
app
Then put the above data into
app/packages/cli/lookup_input.csv
and run the yarn command at root ofapp
:Then check the output at
app/packages/cli/aws_lookup_data.csv
Additional Information
I am trying to calculate emissions for AWS Storage based on data that doesn't have the
usageType
column so I'm doing my best to fill it in based on information in other columns. But this output is confusing to me and I can't tell which units I should be converting the input data into to get the correct emission estimations.I could be misunderstanding the basics of how the input data is processed. If so, my apologies.
Thank you for the great project! ❤️
© 2021 Thoughtworks, Inc.
The text was updated successfully, but these errors were encountered: