3 1) convert_e2c.F -> main program used for the grid conversion utility.
7 5) add_increments_for_wrf_nmm.f
10 8) run_convert_e2c.ksh
12 II) How to compile the convertor program?
13 ******************************************
14 1) Check the path for "NetCDF" in "compiler_macros".
15 2) Check all the compiler option in "compiler_macros".
18 It will create "convert_e2c.exe" in the same directory.
20 III) There is a script named "run_convert_e2c.ksh" in same directory,
21 which can be used to read WRF_NNMM real output E-grid file (i.e. "wrfinput_d01" from
22 WRF_NMM ) and convert the needed WRF_Var input variable and write an new C-grid file like "wrfoutput_d01".
24 IV) How to use the "run_convert_e2c.ksh" script?
25 ************************************************
26 1) Give the "INITIAL_DATE", "FINAL_DATE" and "CYCLE_PERIOD"
27 2) Following path should be mentioned in the script!!
29 export SRC_DIR=/ptmp/sujata/convertor
30 export DAT_DIR=/ptmp/sujata/data
31 export REGION=india_27km_nmm
32 export EXPT=run_india_27km_nmm
33 export WRF_NMM_RC_DIR=${WRF_NMM_RC_DIR:-$DAT_DIR/$REGION/$EXPT/rc}
34 export BUILD_DIR=/ptmp/sujata/WRFDA_3_0_1/var/da
36 export ARW_RC_DIR=${ARW_RC_DIR:-$DAT_DIR/$REGION/rc}
37 export RUN_DIR=${RUN_DIR:-$DAT_DIR/$REGION
39 V) Backward conversion (C2E)!!
40 *******************************
41 There is a fortran file "add_increments_for_wrf_nmm.f" is present. This can be used for adding the
42 "analysis increment" file generated through "WRF_Var" process with the initial field "wrfinput_d01"
45 1) Give the path for your "analysis increment" file.
47 2) It can be compiled as follows.
49 xlf90 -o add_increments_for_wrf_nmm.exe add_increments_for_wrf_nmm.f -I/usr/local/netcdf/include -L/usr/local/netcdf/lib -lnetcdf
51 It will generate "add_increments_for_wrf_nmm.exe" executable which can be used for backward conversion purpose.
52 This information is also there in "add_increments_for_wrf_nmm.f" file.