# Changes between Version 6 and Version 7 of WRF4G2.0/Preprocessor

Ignore:
Timestamp:
Sep 8, 2015 1:53:35 PM (7 years ago)
Comment:

--

### Legend:

Unmodified
 v6 == preprocessors in WRF4G == As mentioned, the preprocessor is called before the WPS in each chunk. It must be an executable file that can be written in any language, and accepts 5 arguments. These are the initial date, the end date (as YYYY-mm-dd HH:MM:SS), the path to the input data, member number and initial month number (4 and 5 arguments are available when extdata_member variable is used). After preprocessing, the preprocessor must copy the properly formatted input data to a folder called WPS/grbdata. As mentioned, the preprocessor is called before the WPS in each chunk. It must be an executable file that can be written in any language, and accepts 5 arguments. These are the initial date, the end date (as YYYY-mm-dd HH:MM:SS), the input data path, member number and initialization month number (4 and 5 arguments are available when extdata_member variable is used). After preprocessing, the preprocessor must copy the properly formatted input data to a folder called WPS/grbdata. WRF4G provides some preprocessors as examples. These are located under \$WRF4G_DEPLOYMENT_DIR/repository/apps/preprocessor directory. In order to create preprocessors, they have to be located in the wrf4g_files/bin directory of the specific experiment.