wiki:WRF4GTutorial2

Version 5 (modified by carlos, 10 years ago) (diff)

--

WRF4G Tutorial part 2

In this second part of WRF4G tutorial we are going to see how to manage WRF4G errors. In order to do that,

[user@mycomputer~]$ cd $WRF4G_LOCATION/experiments

[user@mycomputer~]$ ls
single_test  wrfuc_physics  wrfuc_single_serial

[user@mycomputer~]$ cp -r single_test single_test_1

[user@mycomputer~]$ cd single_test_1

[user@mycomputer~]$ cat experiment.wrf4g | grep experiment_name
experiment_name = "test"

[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date "
end_date        = "2011-08-30_00:00:00"

[user@mycomputer~] cat experiment.wrf4g | grep experiment_name
experiment_name = "test_2"

[user@mycomputer~]$ cat experiment.wrf4g | grep "end_date "
end_date        = "2011-08-30_12:00:00"

[user@mycomputer~]$ wrf4g_prepare 
Warning: You are using resources.wrf4g located in the /home/carlos/WRF4G/experiments/single_test_1 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_1 2011-08-28_12:00:00 2011-08-30_12:00:00
                ---> chunks 1: test_1 2011-08-28_12:00:00 2011-08-29_00:00:00
                ---> chunks 2: test_1 2011-08-29_00:00:00 2011-08-29_12:00:00
                ---> chunks 3: test_1 2011-08-29_12:00:00 2011-08-30_00:00:00
                ---> chunks 4: test_1 2011-08-30_00:00:00 2011-08-30_12:00:00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               -     P  0/4    -          -          Prepared       - 0.00
[user@mycomputer~]$ wrf4g_submit 
Submitting realization: "test_1"
        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
        Submitting Chunk 4:     2011-08-30_00:00:00     2011-08-30_12:00:00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               4     R  2/4    mycomputer ciclon     WRF            - 25.00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               5     W  3/4    -          -          Submitted      - 50.00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               6     W  4/4    -          -          Submitted      - 75.00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               6     W  4/4    -          -          Submitted      - 75.00

[user@mycomputer~]$ wrf4g_status --long 
Realization          GW  Stat Chunks Comp.Res   WN         Run.Sta       ext   %
test                 2     D  3/3    mycomputer ciclon     Finished       0 100.00
test_1               6     F  4/4    mycomputer ciclon     Failed        62 75.00
[user@mycomputer~]$ cd $WRF4G_LOCATION/repository/output/test_1/test_1/log/

[user@mycomputer~]$ ls
log_1_4.tar.gz  log_2_5.tar.gz  log_3_6.tar.gz  log_4_7.tar.gz