Closed dleard closed 12 months ago
Hey team! Please add your planning poker estimate with Zenhub @BCerki @gurjmatharu @JoshLarouche @sam-warren @Sepehr-Sobhani
Please add your planning poker estimate with Zenhub @mikevespi
@BCerki the ar5_calculated_quantity
column is null in Metabase-dev, when the quantity is filled out. I also can't see a swrs_parameters
schema in the swrs database. Maybe something went wrong in the deploy to -dev?
@BCerki @pbastia The dev data is entirely synthetic, created with inserts rather than parsed via the ETL (where the ar5 calculation is done) so the calculated field will always be empty in dev. The pgTap tests covered the load() function and passed, I suggest deploying this to test where I believe the ETL does run over a few reports and the value should show up there.
Aaaah thanks for clarifying. I thought we had fake XML that got parsed. Seems like we can't test in dev then
A new column in the swrs.emission table is required to allow analysts to see what the calculated quantity for previous years would be according to the updated AR5 GWP values .
As an analyst When I am querying the swrs.emission data in Metabase I can see an AR5 calculated quantity value which is calculated by quantity x gwp(AR5 value)
Development steps:
swrs_parameters
schema with the updated AR5 GWP valuesgas_type
values in theemission
table (can be found in metabase). This is how we will join emissions to gwpgas_type
row should have an associated AR5 GWP valuear5_calculated_quantity
quantity
value from emission and the GWP value from the GWP table (by joining on emission.gas_type = gwp.gas_type) to calculate thear5_calculated_quantity
column