This is an old revision of the document!
ALG004
Working …
Acceptance Test for single point missing temperature values with TAN, TAX method
| Step | Direction | Expected Result | Pass/Fail Criteria or Comment |
|---|---|---|---|
| 001 | Prepare test data in the test database. | – | – |
| Download Test Data and gunzip. | – | – | |
| $ psql kvalobs | – | – | |
DELETE FROM data WHERE obstime>'2020-02-28' and obstime<'2020-04-01'; | – | – | |
\copy data FROM './data-202003.dat' WITH DELIMITER AS '|' | – | – | |
| NB specify the actual path to the test data above as required. | – | – | |
| – | – | ||
| Check that the time interval contains no Qc2 processed data: | – | – | |
| kvalobs=# select count(*) from data WHERE obstime>'2020-02-28' and obstime<'2020-04-01' and cfailed like '%Qc2%'; | count=0 | – | |
| 002 | Download and gunzip qcd_u.cfg.gz to the Qc2Config directory and edit RunAtHour and RunAtMinute fields to the time that the test shall be run (e.g. a few minutes UTC in the future). | – | – |
| 003 | Check log files to verify that the algorithm runs as scheduled. | – | – |
| 004 | – | – | – |
| 005 | – | – | – |
| 006 | – | – | – |
| 007 | – | – | – |
| 008 | – | – | – |
| 009 | – | – | – |
| 010 | – | – | – |
Prerequisites
Set up the test data (these are prepatory notes for now for set up on pak)
Test Data comprising original data from 2008-03 with all the years set to 2020.
- $ psql kvalobs
- psql⇒ DELETE FROM data WHERE obstime>'2020-02-28' and obstime<'2020-04-01';
- psql⇒ \copy data FROM data-200803/data-202003.dat WITH DELIMITER AS '|';