Test Scripts
Test Scripts cindyhg Wed, 04/24/2019 - 12:07Running Test Scripts
Once the MET package has been built successfully, users are strongly encouraged to run the make test command:
tail -f make_test.log
To exit the tail command, type CNTL-C.
Most of the steps in the test scripts will only take a couple of minutes each to run. However, the PB2NC step will likely take several minutes.
Checking for Errors
Examine the contents of the make_test.log file. Some users may experience a runtime error for pb2nc due to a compiler dependent compilation setting. Check the make_test.log file for the following error:
**************BUFR ARCHIVE LIBRARY ABORT*****************
BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
FILE CONNECTED TO UNIT 11 NOT 'BUFR', DOES NOT CONTAIN DATA
**************BUFR ARCHIVE LIBRARY ABORT*****************
If you see there was an error, run make clean, then rerun your configure command adding --disable-block4 to your configure command line and rebuild MET, checking again to make sure the runtime error no longer occurs.
Test Script Output
In the make_test.log file, look for the following message which indicates that the test script completed:
*** Finished Testing the Model Evaluation Tools Project ***
The output from this test script is written to the out subdirectory (e.g. met-8.0/out), organized by the names of the MET tools. List the output directories with the following command:
Congratulations!
You have now successfully compiled and run MET!