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:
The domain is over the U.S.
Grid size (dx) : 20 km
Number of grid points : 290 x 190
Number of Eta levels : 40
Obtain the namelist.wps and namelist.input files
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.
2010-06-11_00, see verification plots for 2010-06-11_12 and 2010-06-12_00
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:
The domain is over the U.S.
Grid size (dx) : 20 km
Number of grid points : 290 x 190
Number of Eta levels : 40
Obtain the namelist.wps and namelist.input files
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.
2012-02-03_00, see verification plots for 2012-02-03_00 and 2012-02-04_00
Additional verification plots can be created using the plot.ncl script as a template.