Skip to content

Commit

Permalink
Add/update example hafsv0.3 series of configurations and cronjob driv…
Browse files Browse the repository at this point in the history
…ers.
  • Loading branch information
BinLiu-NOAA committed Mar 3, 2022
1 parent 7ee4b23 commit d02a9d4
Show file tree
Hide file tree
Showing 13 changed files with 344 additions and 105 deletions.
50 changes: 23 additions & 27 deletions parm/hafs_C512_regional_1mvnest_storm.conf
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
[config]

[dir]
PARMforecast={PARMhafs}/forecast/regional

[grid]
CASE=C512 ;; FV3 resolution
LEVS=82 ;; Model vertical levels: 65
LEVS=82 ;; Model vertical levels
gtype=regional ;; grid type: uniform, stretch, nest, or regional
# If gridfixdir is provided and the dir exists, then use the pre-generated static grid fix files under gridfixdir
#gridfixdir={FIXhafs}/fix_fv3/{CASE}_globnest_static
gridfixdir=/let/hafs_grid/generate/grid
# Otherwise, will generate the model grid according to the following grid parameters
# Need for grid types: stretch, nest and regional
stretch_fac=1.0001 ;; Stretching factor for the grid
stretch_fac=1.05 ;; Stretching factor for the grid
target_lon={domlon} ;; center longitude of the highest resolution tile
target_lat={domlat} ;; center latitude of the highest resolution tile
# Need for grid types: nest and regional
nest_grids=2
parent_grid_num=1,2
parent_tile=6,7
Expand Down Expand Up @@ -43,25 +36,24 @@ iend_nest_mvnest1res=2976
jend_nest_mvnest1res=2976

[atm_init]
# For the nested or regional standalone domain
layoutx_init=20,20
layouty_init=12,12
layoutx_init=12,12
layouty_init=20,20

[forecast]
dt_atmos=90
# For the global domain if it is a global or global-nesting experiment
glob_layoutx=4
glob_layouty=5
glob_npx=513
glob_npy=513
# For the nested or regional standalone domain
layoutx=30,30
layouty=30,30
npx=1441,961
npy=1441,961
npz=81
k_split=2,3
n_split=5,10
k_split=2,5
n_split=5,9
layoutx=30,30
layouty=20,20
io_layoutx=3,3
io_layouty=20,20
full_zs_filter=.true.,.true.
n_zs_filter=1,1
n_del2_weak=15,24
max_slope=0.25,0.25

# Moving nest related options
is_moving_nest=.false.,.true.
Expand All @@ -70,8 +62,6 @@ ntrack=0,2
move_cd_x=0,0
move_cd_y=0,0

restart_interval="3 6 9" ;; restart interval in hours for the forecast

quilting=.true.
write_groups=2
write_tasks_per_group=60
Expand All @@ -81,10 +71,16 @@ output_history=.true.
output_grid=rotated_latlon
output_grid_cen_lon={domlon} ;; central longitude
output_grid_cen_lat={domlat} ;; central latitude
output_grid_lon_span=84.0 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=84.0 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_lon_span=81.0 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=81.0 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_dlon=0.06 ;; output grid spacing dlon . . . .
output_grid_dlat=0.06 ;; output grid spacing dlat . . . .

[atm_post]
satpost=.true.

[atm_post_ens]
satpost_ens=.true.

[rocotostr]
FORECAST_RESOURCES=FORECAST_RESOURCES_C512_regional_1mvnest
FORECAST_RESOURCES=FORECAST_RESOURCES_1320PE
24 changes: 24 additions & 0 deletions parm/hafsv0p3_hycom.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[config]
run_wave=no
ww3_model=ww3
run_ocean=yes
ocean_model=hycom

[forecast]
ccpp_suite_regional=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_nest=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_glob=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
# Choose nstf_name=0,0,0,0,0
nstf_n1=0
nstf_n2=0
nstf_n3=0
nstf_n4=0
nstf_n5=0

[forecast_ens]
ccpp_suite_regional_ens=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_nest_ens=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_glob_ens=FV3_HAFS_v0_gfdlmp_tedmf_nonsst

[rocotostr]
FORECAST_RESOURCES=FORECAST_RESOURCES_1380PE
74 changes: 74 additions & 0 deletions parm/hafsv0p3_regional_AL.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
[config]
domlat=25.0
domlon=-62.0
vitalsdomlat=250N
vitalsdomlon=620W
fakestormid=00L
fakestormname=NATL
fakestormorg=NHC
fakestorm_vitals={fakestormorg} {fakestormid} {fakestormname} {YMD} {HH}{min} {vitalsdomlat} {vitalsdomlon} -99 -99 -999 -999 -099 -9 -99 -999 -999 -999 -999 M

[dir]
PARMforecast={PARMhafs}/forecast/regional

[grid]
CASE=C3089 ;; FV3 resolution
LEVS=82 ;; Model vertical levels
gtype=regional ;; grid type: uniform, stretch, nest, or regional
gridfixdir={HOMEhafs}/fix/fix_fv3/ESG_C3089_62W25N_3120x2160
stretch_fac=1.0001 ;; Stretching factor for the grid
target_lon={domlon} ;; center longitude of the highest resolution tile
target_lat={domlat} ;; center latitude of the highest resolution tile
nest_grids=1
parent_grid_num=1
parent_tile=6
refine_ratio=4
istart_nest=46
jstart_nest=168
iend_nest=1485
jend_nest=1367

[atm_init]
layoutx_init=24
layouty_init=20

[forecast]
dt_atmos=90
npx=3121
npy=2161
npz=81
k_split=3
n_split=5
layoutx=40
layouty=30
io_layoutx=3
io_layouty=20
full_zs_filter=.true.
n_zs_filter=1
n_del2_weak=15
max_slope=0.25

restart_interval="3 6 9"

quilting=.true.
write_groups=2
write_tasks_per_group=60
write_dopost=.false.
output_history=.true.

output_grid=regional_latlon
output_grid_cen_lon=-62.0 ;; central longitude
output_grid_cen_lat=25.8 ;; central latitude
output_grid_lon_span=109.5 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=63.6 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_dlon=0.03 ;; output grid spacing dlon . . . .
output_grid_dlat=0.03 ;; output grid spacing dlat . . . .

[atm_post]
satpost=.true.

[atm_post_ens]
satpost_ens=.true.

[rocotostr]
FORECAST_RESOURCES=FORECAST_RESOURCES_1320PE
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
[config]
run_wave=no
ww3_model=ww3
run_ocean=yes
ocean_model=hycom

[dir]
PARMforecast={PARMhafs}/forecast/regional

[grid]
CASE=C512 ;; FV3 resolution
LEVS=82 ;; Model vertical levels: 65
LEVS=82 ;; Model vertical levels
gtype=regional ;; grid type: uniform, stretch, nest, or regional
# If gridfixdir is provided and the dir exists, then use the pre-generated static grid fix files under gridfixdir
#gridfixdir={FIXhafs}/fix_fv3/{CASE}_globnest_static
gridfixdir=/let/hafs_grid/generate/grid
# Otherwise, will generate the model grid according to the following grid parameters
# Need for grid types: stretch, nest and regional
stretch_fac=1.0001 ;; Stretching factor for the grid
stretch_fac=1.05 ;; Stretching factor for the grid
target_lon={domlon} ;; center longitude of the highest resolution tile
target_lat={domlat} ;; center latitude of the highest resolution tile
# Need for grid types: nest and regional
nest_grids=2
parent_grid_num=1,2
parent_tile=6,7
refine_ratio=3,3
istart_nest=33,1121
jstart_nest=33,1121
iend_nest=992,1760
jend_nest=992,1760
istart_nest=33,1201
jstart_nest=33,1201
iend_nest=992,1680
jend_nest=992,1680

[grid_mvnest1res]
CASE_mvnest1res=C1536
Expand All @@ -46,38 +35,35 @@ jstart_nest_mvnest1res=97
iend_nest_mvnest1res=2976
jend_nest_mvnest1res=2976

[forecast]
ccpp_suite_regional=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_nest=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
# Choose nstf_name=0,0,0,0,0
nstf_n1=0
nstf_n2=0
nstf_n3=0
nstf_n4=0
nstf_n5=0
[atm_init]
layoutx_init=12,12
layouty_init=20,20

[forecast]
dt_atmos=90
# For the global domain if it is a global or global-nesting experiment
glob_layoutx=4
glob_layouty=5
glob_npx=513
glob_npy=513
# For the nested or regional standalone domain
layoutx=20,20
layouty=20,20
npx=1441,961
npy=1441,961
npx=1441,721
npy=1441,721
npz=81
k_split=2,3
n_split=5,10
k_split=2,5
n_split=5,9
layoutx=30,30
layouty=20,20
io_layoutx=3,3
io_layouty=20,20
full_zs_filter=.true.,.true.
n_zs_filter=1,1
n_del2_weak=15,24
max_slope=0.25,0.25

# Moving nest related options
is_moving_nest=.false.,.false.
is_moving_nest=.false.,.true.
vortex_tracker=0,7
ntrack=0,2
move_cd_x=0,0
move_cd_y=0,0

restart_interval="3 6 9"

quilting=.true.
write_groups=2
write_tasks_per_group=60
Expand All @@ -87,14 +73,16 @@ output_history=.true.
output_grid=rotated_latlon
output_grid_cen_lon={domlon} ;; central longitude
output_grid_cen_lat={domlat} ;; central latitude
output_grid_lon_span=84.0 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=84.0 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_lon_span=81.0 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=81.0 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_dlon=0.06 ;; output grid spacing dlon . . . .
output_grid_dlat=0.06 ;; output grid spacing dlat . . . .

[forecast_ens]
ccpp_suite_regional_ens=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
ccpp_suite_nest_ens=FV3_HAFS_v0_gfdlmp_tedmf_nonsst
[atm_post]
satpost=.true.

[atm_post_ens]
satpost_ens=.true.

[rocotostr]
FORECAST_RESOURCES=FORECAST_RESOURCES_C512_regional_1mvnest_atm_ocn_980PE
FORECAST_RESOURCES=FORECAST_RESOURCES_1320PE
64 changes: 64 additions & 0 deletions parm/hafsv0p3_regional_storm.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[dir]
PARMforecast={PARMhafs}/forecast/regional

[grid]
CASE=C512 ;; FV3 resolution
LEVS=82 ;; Model vertical levels
gtype=regional ;; grid type: uniform, stretch, nest, or regional
gridfixdir=/let/hafs_grid/generate/grid
stretch_fac=1.05 ;; Stretching factor for the grid
target_lon={domlon} ;; center longitude of the highest resolution tile
target_lat={domlat} ;; center latitude of the highest resolution tile
nest_grids=1
parent_grid_num=1
parent_tile=6
refine_ratio=6
istart_nest=93
jstart_nest=113
iend_nest=932
jend_nest=912

[atm_init]
layoutx_init=24
layouty_init=20

[forecast]
dt_atmos=90
npx=2521
npy=2401
npz=81
k_split=4
n_split=5
layoutx=40
layouty=30
io_layoutx=3
io_layouty=20
full_zs_filter=.true.
n_zs_filter=1
n_del2_weak=15
max_slope=0.25

restart_interval="3 6 9"

quilting=.true.
write_groups=2
write_tasks_per_group=60
write_dopost=.false.
output_history=.true.

output_grid=rotated_latlon
output_grid_cen_lon={domlon} ;; central longitude
output_grid_cen_lat={domlat} ;; central latitude
output_grid_lon_span=78.0 ;; output domain span for longitude in regular latlon coordinate system (in degrees)
output_grid_lat_span=72.0 ;; output domain span for latitude in regular latlon coordinate system (in degrees)
output_grid_dlon=0.03 ;; output grid spacing dlon . . . .
output_grid_dlat=0.03 ;; output grid spacing dlat . . . .

[atm_post]
satpost=.true.

[atm_post_ens]
satpost_ens=.true.

[rocotostr]
FORECAST_RESOURCES=FORECAST_RESOURCES_1320PE
3 changes: 2 additions & 1 deletion rocoto/cronjob_hafs_mvnest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ scrubopt="config.scrub_work=no config.scrub_com=no"
${PYTHON3} ./run_hafs.py -t ${dev} 2020082512 13L HISTORY \
config.EXPT=${EXPT} config.SUBEXPT=${EXPT}_C512_regional_1mvnest_atm_ocn \
config.NHRS=12 ${scrubopt} \
../parm/hafs_C512_regional_1mvnest_storm_hycom.conf
../parm/hafs_C512_regional_1mvnest_storm.conf \
../parm/hafsv0p3_hycom.conf

#===============================================================================

Expand Down
Loading

0 comments on commit d02a9d4

Please sign in to comment.