Code Testing Information for Code Contributors


Important

Before modifying code, consult Information for WRF Code Contributors, which describes WRF coding standards, code testing, and code submission procedures.


The following testing is required prior to submission for new or modified WRF code:




Software Testing

Software testing checks different compilers and model configurations for bit-for-bit reproducibility. Modified WRF code must be run through the WRF Testing Framework (WTF), which builds and tests WRF compilation and running and analyzes test results for new modifications. Obtain the WTF materials.





Case Testing

Case testing ensures code robustness and reasonable results. Reasonableness is verified by comparing WRF output from modified code with output from existing plots (provided below) or by reviewing the output. Robustness is addressed by running cases for summer and winter.


At least one 24-hour summer and one 24-hour winter forecast are required for testing, using developer-selected cases from the provided list and input files.



Summer Cases

The following Metgrid files for six test cases from Summer 2010 include the following details:


Tests may be conducted for any of the available initialization times. Note that verification plots are provided for the 2010-06-11 case to confirm reasonableness.



Additional verification plots can be created using the plot.ncl script as a template.




Winter Cases

The following Metgrid files for seven test cases from Winter 2012 include the following details:


Tests may be conducted for any of the available initialization times. Note that verification plots are provided for the 2012-02-03 case to confirm rea sonableness.



Additional verification plots can be created using the plot.ncl script as a template.