How to use WRF4G CLI
[user@mycomputer~]$ wrf4g_prepar
Warning: You are using resources.wrf4g located in the /home/user/WRF4G/etc/ directory.
Preparing namelist...
WRFV3/run/namelist.input
WRF Check Warning: CAM radiation selected but paerlev/levsiz/cam_abs_dim1/cam_abs_dim2 was not set. Fixing...
WRF Check Warning: radt is shorter than dx (0.500000)
---> Single params run
---> Continuous run
---> cycle_chunks: test 2011-08-28_12:00:00 2011-09-01_00:00:00
---> chunks 1: test 2011-08-28_12:00:00 2011-08-29_00:00:00
---> chunks 2: test 2011-08-29_00:00:00 2011-08-29_12:00:00
---> chunks 3: test 2011-08-29_12:00:00 2011-08-30_00:00:00
[user@mycomputer~]$ wrf4g_prepare
Warning: You are using resources.wrf4g located in the /home/carlos/WRF4G/etc/ directory.
Experiment already exists
[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date="\"
end_date="2011-08-30_00:00:00"
[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date="\"
end_date="2011-09-01_00:00:00"
[user@mycomputer~]$ wrf4g_prepare --reconfigure
Warning: You are using resources.wrf4g located in the /home/carlos/WRF4G/etc/ directory.
Preparing namelist...
WRFV3/run/namelist.input
WRF Check Warning: CAM radiation selected but paerlev/levsiz/cam_abs_dim1/cam_abs_dim2 was not set. Fixing...
WRF Check Warning: radt is shorter than dx (0.500000)
---> Single params run
---> Continuous run
---> cycle_chunks: test 2011-08-28_12:00:00 2011-09-01_00:00:00
---> chunks 1: test 2011-08-28_12:00:00 2011-08-29_00:00:00
---> chunks 2: test 2011-08-29_00:00:00 2011-08-29_12:00:00
---> chunks 3: test 2011-08-29_12:00:00 2011-08-30_00:00:00
---> chunks 4: test 2011-08-30_00:00:00 2011-08-30_12:00:00
---> chunks 5: test 2011-08-30_12:00:00 2011-08-31_00:00:00
---> chunks 6: test 2011-08-31_00:00:00 2011-08-31_12:00:00
---> chunks 7: test 2011-08-31_12:00:00 2011-09-01_00:00:00
[user@mycomputer~]$ wrf4g_submit --dry-run --rerun -c 1 -f -r test
Submitting realization: "test"
Submitting Chunk 1: 2011-08-28_12:00:00 2011-08-29_00:00:00
[user@mycomputer~]$ wrf4g_submit --rerun -c 1 -f -r test
Submitting realization: "test"
Submitting Chunk 1: 2011-08-28_12:00:00 2011-08-29_00:00:00
[user@mycomputer~]$wrf4g_submitt --dry-run --rerun -f -e test
Submitting realization: "test"
Submitting Chunk 1: 2011-08-28_12:00:00 2011-08-29_00:00:00
Submitting Chunk 2: 2011-08-29_00:00:00 2011-08-29_12:00:00
Submitting Chunk 3: 2011-08-29_12:00:00 2011-08-30_00:00:00
[user@mycomputer~]$wrf4g_submitt --rerun -f -e test
Submitting realization: "test"
Submitting Chunk 1: 2011-08-28_12:00:00 2011-08-29_00:00:00
Submitting Chunk 2: 2011-08-29_00:00:00 2011-08-29_12:00:00
Submitting Chunk 3: 2011-08-29_12:00:00 2011-08-30_00:00:00