# Changes between Version 4 and Version 5 of WRF4G2.0/Preprocessor

Ignore:
Timestamp:
Aug 21, 2015 12:59:37 PM (7 years ago)
Comment:

--

Unmodified
Removed
Modified
• ## WRF4G2.0/Preprocessor

 v4 == 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 3 arguments. These are the initial date, the end date (as YYYY-mm-dd HH:MM:SS) and the path to the input data ([wiki:WRF4GExperiment2.0 extdata_path]). 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 3 arguments. These are the initial date, the end date (as YYYY-mm-dd HH:MM:SS) and the path to the input data ([wiki:WRF4G2.0/Experiment extdata_path]). 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.