ctbtodev
Last change
on this file since be6c0a2 was
be6c0a2,
checked in by Anne Philipp <anne.philipp@…>, 4 years ago
|
added Readme to tests; changed directory structure; added recent test results;
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[be6c0a2] | 1 | # Testcase - Grib file comparison |
---|
| 2 | |
---|
| 3 | This testcase is composed of a number of comparisons of grib files from two different flex_extract versions. |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | ## Description |
---|
| 7 | |
---|
| 8 | A single test run tests if there are the same number of files and the files have the same names. |
---|
| 9 | The test also checks if the files of each version have the same number of grib messages. It also uses the command line program "grib_compare" to check the equality of grib message headers. A comparison of the statistics of each grib message is also done with "grib_compare". |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | Manually retrieve test data? |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | |
---|
| 17 | ## Usage |
---|
| 18 | |
---|
| 19 | python test_cmp_grib_files.py -r <path-to-reference-files> -n <path-to-new-files> -p <file-pattern> |
---|
| 20 | |
---|
| 21 | e.g. python test_cmp_grib_file.py -r 7.0.4/EA5/ -n 7.1/EA5/ -p 'EA*' |
---|
| 22 | |
---|
| 23 | ## Author |
---|
| 24 | Anne Philipp |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | ## License |
---|
| 28 | (C) Copyright 2014-2019. |
---|
| 29 | |
---|
| 30 | SPDX-License-Identifier: CC-BY-4.0 |
---|
| 31 | |
---|
| 32 | This work is licensed under the Creative Commons Attribution 4.0 |
---|
| 33 | International License. To view a copy of this license, visit |
---|
| 34 | http://creativecommons.org/licenses/by/4.0/ or send a letter to |
---|
| 35 | Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. |
---|
Note: See
TracBrowser
for help on using the repository browser.