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. | – | – | |
$export TESTDATA=“Full path of test data directory” | – | – | ||
$ psql kvalobs | – | – | ||
psql> DELETE FROM data WHERE obstime>'2020-02-28' and obstime<'2020-04-01'; | – | – | ||
psql> \copy data FROM $TESTDATA/data-202003.dat WITH DELIMITER AS '\ | '; | – | – | |
002 | – | – | – | |
003 | – | – | – | |
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 '|';