-
Notifications
You must be signed in to change notification settings - Fork 1
Charter 28: Explore production summary table with reference to the database to discover accuracy
mwalker-scottlogic edited this page Aug 21, 2024
·
5 revisions
- Explore production summary table with reference to the database to discover accuracy
- Mike Walker-Rose
- 20/08/24
- 45 - 90 mins
- UI summary table on prod
- UI
- prod database
- Query the prod forecast database for a specific city and base time
- Query the prod in situ database for a specific city across the different measurement dates for a forecast window of 1
- Manually calculate the average in situ values for each in situ measurement date
- Compare to the forecasts for the window
- compare to the table in the UI
- Time Range: 18 Aug 12:00 - 19 Aug 12:00 UTC
- Relevant forecast valid times for this period
- Forecast
- PM2.5 recorded- 28.9, this value is a value from the range, is assigned the correct timestamp and the value relates to AQI 4 which is the highest reading bracket, NOTE - it is not the highest value, could be that the biggest measurement discrep is at a different reading
- PM10 recorded- 50.7, this value is a value from the range, is assigned the correct timestamp and the value relates to AQI 4 which is the highest reading bracket, NOTE - it is not the highest value, could be that the biggest measurement discrep is at a different reading
- NO2 recorded - 4.3, this value is a value from the range, is assigned the correct timestamp and the value relates to AQI 1 which is the highest reading bracket, NOTE - it is not the highest value, could be that the biggest measurement discrep is at a different reading
- O3 recorded - 54.3, this value is a value from the range, is assigned the correct timestamp and the value relates to AQI 2 which is the highest reading bracket, NOTE - it is not the highest value, could be that the biggest measurement discrep is at a different reading
- SO2 recorded - 1.2, this value is a value from the range, is assigned the correct timestamp and the value relates to AQI 1 which is the highest reading bracket, NOTE - it is not the highest value, could be that the biggest measurement discrep is at a different reading
- retried this as the database data did not include some data from 1.5hrs prior to first measurement date which is needed, still got some variance as described below
Conclusion:
- Seemingly random which value is when more than one in the same bracket
- a variance between expected and actual values based on the database data of up to 4%
- Raised a possible bug ticket here
Getting Started and Overview
- Product Description
- Roles and Responsibilities
- User Roles and Goals
- Architectural Design
- Iterations
- Decision Records
- Summary Page Explanation
- Deployment Guide
- Working Practices
- Q&A
Investigations and Notebooks
- CAMs Schema
- Exploratory Notebooks
- Forecast ETL Process
- In Situ air pollution data sources
- Notebook: OpenAQ data overview
- Notebook: Unit conversion
- Data Archive Considerations
Manual Test Charters
- Charter 1 (Comparing ECMWF forecast to database values)
- Charter 2 (Backend performance)
- Charter 3 (Forecast range implementation)
- Charter 4 (In situ bad data)
- Charter 5 (Filtering ppm units)
- Charter 7 (Forecast API input validation)
- Charter 8 (Forecast API database sizes)
- Charter 9 (Measurements summary API input validation)
- Charter 10 (Seeding bad data)
- Charter 11 ()Measurements API input validation
- Charter 12 (Validating echart plot accuracy)
- Charter 13 (Explore UI after data outage)
- Charter 14 (City page address)
- Charter 15 (BugFix diff 0 calculation)
- Charter 16 (City page chart data mocking)
- Charter 17 (Summary table logic)
- Charter 18 (AQI chart colour banding)
- Charter 19 (City page screen sizes)
- Charter 20 (Date picker)
- Charter 21 (Graph consistency)
- Charter 22 (High measurement values)
- Charter 23 (ppm -> µg m³)
- Charter 24 (Textures API input validation)
- Charter 25 (Graph line colours)
- Charter 26 (Fill in gaps in forecast)
- Charter 27 (Graph behaviour with mock data)
- Charter 28 (Summary table accuracy)
- Re‐execute: Charter 28
- Charter 29 (Fill in gaps in situ)
- Charter 30 (Forecast window)
- Charter 31 (UI screen sizes)