Skip to content

Commit

Permalink
Merge pull request #86 from hafs-community/feature/hafs_sync_202107
Browse files Browse the repository at this point in the history
Sync HAFS submodules with their corresponding authoritative branches:
- hafs_forecast.fd as of 08/05/2021
- hafs_gsi.fd as of 08/06/2021 plus the dual-resolution 3DEnVar bug fix
- hafs_post.fd as of 08/02/2021
- hafs_utils.fd as of  as of 07/23/2021
- hafs_graphics.fd/hrd_gplot as of 08/10/2021
- hafs_graphics.fd/emc_graphics as of 08/10/2021
Besides application level changes were made accordingly with the updated submodules.

This PR addresses issue #80.

Notes:
- The [bug of wrong Time dimension in FV3 restart sfc_data files](NOAA-EMC/fv3atm#344) has been fixed in ufs-weather-model through this ufs-weather-model [PR](ufs-community/ufs-weather-model#702). 
- The bug fix in for the dual-resolution EnVar analysis in GSI (hafs_gsi.fd) contributed from OU collaborators has also been included in this PR. With that the HAFS ENSDA configurations can now work properly.
- As for the hafs_forecast.fd submodule, support/HAFS branch is identical to the ufs-weather-model develop branch as of 08/05/2021. More information can be found through this PR (ufs-community/ufs-weather-model#715)
  • Loading branch information
BinLiu-NOAA committed Aug 13, 2021
2 parents da78d4d + a349a24 commit 79f611d
Show file tree
Hide file tree
Showing 41 changed files with 230 additions and 200 deletions.
7 changes: 6 additions & 1 deletion jobs/JHAFS_FORECAST
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ if [ "${RUN_ENVIR^^}" != NCO ]; then
module unload intelpython
fi
module use ${HOMEhafs}/sorc/hafs_forecast.fd/modulefiles
module load ufs_${machine}
module unload intelpython
if [ "${machine}" = "wcoss_cray" ] || [ "${machine}" = "wcoss_dell_p3" ]; then
module load ufs_${machine}
else
module load ufs_${machine}.intel
fi
module list
fi

Expand Down
2 changes: 1 addition & 1 deletion jobs/JHAFS_HRDGRAPHICS
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export STORMID=${STORMID:-00L}
export ENSDA=${ENSDA:-NO}

export INPdir=${INPdir:-${WORKhafs}/forecast}
export DATA=${WORKhafs}/hrd_graphics
export DATA=${WORKhafs}/hrdgraphics

export SENDCOM=${SENDCOM:-YES}
export SCRUBDATA=${SCRUBDATA:-YES}
Expand Down
Empty file removed parm/forecast/globnest/data_table
Empty file.
15 changes: 0 additions & 15 deletions parm/forecast/globnest/input.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
/

Expand Down Expand Up @@ -170,7 +156,6 @@
fhcyc = 24.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 11
pdfcld = .false.
fhswr = _fhswr_
Expand Down
15 changes: 0 additions & 15 deletions parm/forecast/globnest/input_nest02.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
/

Expand Down Expand Up @@ -159,7 +145,6 @@
fhcyc = 24.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 11
pdfcld = .false.
fhswr = _fhswr_
Expand Down
13 changes: 1 addition & 12 deletions parm/forecast/globnest/model_configure.tmp
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
print_esmf: .false.
total_member: 1
PE_MEMBER01: NTASKS
start_year: YR
start_month: MN
start_day: DY
start_hour: H_R
start_minute: 0
start_second: 0
nhours_fcst: NHRS
RUN_CONTINUE: .false.
ENS_SPS: .false.
dt_atmos: _dt_atmos_
cpl: _cpl_
calendar: 'julian'
memuse_verbose: .false.
atmos_nthreads: NTHRD
use_hyper_thread: .false.
ncores_per_node: NCNODE
debug_affinity: .true.
restart_interval: _restart_interval_
output_1st_tstep_rst: .false.

Expand All @@ -36,8 +26,6 @@ jchunk3d: -1
kchunk3d: -1
ideflate: 1
nbits: 0
write_nemsioflip: .false.
write_fsyncflag: .false.

app_domain: '_app_domain_'
output_grid: '_OUTPUT_GRID_'
Expand All @@ -54,3 +42,4 @@ nfhout: 3
nfhmax_hf: -1
nfhout_hf: 3
nsout: -1
output_fh: -1
Empty file.
15 changes: 0 additions & 15 deletions parm/forecast/globnest_hwrf/input.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
/

Expand Down Expand Up @@ -169,7 +155,6 @@
fhcyc = 0.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 15 ! F-A MP scheme
RHGRD = 0.975 ! F-A
spec_adv = .true. ! F-A
Expand Down
15 changes: 0 additions & 15 deletions parm/forecast/globnest_hwrf/input_nest02.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
/

Expand Down Expand Up @@ -159,7 +145,6 @@
fhcyc = 0.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 15 ! F-A MP scheme
RHGRD = 1.0 ! F-A
spec_adv = .true. ! F-A
Expand Down
13 changes: 1 addition & 12 deletions parm/forecast/globnest_hwrf/model_configure.tmp
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
print_esmf: .false.
total_member: 1
PE_MEMBER01: NTASKS
start_year: YR
start_month: MN
start_day: DY
start_hour: H_R
start_minute: 0
start_second: 0
nhours_fcst: NHRS
RUN_CONTINUE: .false.
ENS_SPS: .false.
dt_atmos: _dt_atmos_
cpl: _cpl_
calendar: 'julian'
memuse_verbose: .false.
atmos_nthreads: NTHRD
use_hyper_thread: .false.
ncores_per_node: NCNODE
debug_affinity: .true.
restart_interval: _restart_interval_
output_1st_tstep_rst: .false.

Expand All @@ -36,8 +26,6 @@ jchunk3d: -1
kchunk3d: -1
ideflate: 1
nbits: 0
write_nemsioflip: .false.
write_fsyncflag: .false.

app_domain: '_app_domain_'
output_grid: '_OUTPUT_GRID_'
Expand All @@ -54,3 +42,4 @@ nfhout: 3
nfhmax_hf: -1
nfhout_hf: 3
nsout: -1
output_fh: -1
Empty file removed parm/forecast/regional/data_table
Empty file.
17 changes: 1 addition & 16 deletions parm/forecast/regional/input.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
merge_import = _merge_import_
/

&diag_manager_nml
Expand Down Expand Up @@ -164,7 +149,6 @@
fhcyc = 24.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 11
pdfcld = .false.
fhswr = _fhswr_
Expand Down Expand Up @@ -223,6 +207,7 @@
cplice = .false.
cplwav = .false.
cplwav2atm = .false.
cpl_imp_mrg = _merge_import_
psautco = 0.0008, 0.0005
prautco = 0.00015, 0.00015
iau_delthrs = 6
Expand Down
13 changes: 1 addition & 12 deletions parm/forecast/regional/model_configure.tmp
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
print_esmf: .false.
total_member: 1
PE_MEMBER01: NTASKS
start_year: YR
start_month: MN
start_day: DY
start_hour: H_R
start_minute: 0
start_second: 0
nhours_fcst: NHRS
RUN_CONTINUE: .false.
ENS_SPS: .false.
dt_atmos: _dt_atmos_
cpl: _cpl_
calendar: 'julian'
memuse_verbose: .false.
atmos_nthreads: NTHRD
use_hyper_thread: .false.
ncores_per_node: NCNODE
debug_affinity: .true.
restart_interval: _restart_interval_
output_1st_tstep_rst: .false.

Expand All @@ -36,8 +26,6 @@ jchunk3d: -1
kchunk3d: -1
ideflate: 1
nbits: 0
write_nemsioflip: .false.
write_fsyncflag: .false.

app_domain: '_app_domain_'
output_grid: '_OUTPUT_GRID_'
Expand All @@ -54,3 +42,4 @@ nfhout: 3
nfhmax_hf: -1
nfhout_hf: 3
nsout: -1
output_fh: -1
Empty file.
17 changes: 1 addition & 16 deletions parm/forecast/regional_hwrf/input.nml.tmp
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
&amip_interp_nml
interp_oi_sst = .true.
use_ncep_sst = .true.
use_ncep_ice = .false.
no_anom_sst = .false.
data_set = 'reynolds_oi'
date_out_of_range = 'climo'
/

&atmos_model_nml
blocksize = _blocksize_
chksum_debug = .false.
dycore_only = .false.
fdiag = 3
avg_max_length = 3600.
fhmax = _fhmax_
fhout = 3
fhmaxhf = 0
fhouthf = 3
ccpp_suite = '_ccpp_suite_'
merge_import = _merge_import_
/

&diag_manager_nml
Expand Down Expand Up @@ -164,7 +149,6 @@
fhcyc = 0.
use_ufo = .true.
pre_rad = .false.
ncld = 5
imp_physics = 15 ! F-A MP scheme
RHGRD = 1.0 ! F-A
spec_adv = .true. ! F-A
Expand Down Expand Up @@ -228,6 +212,7 @@
cplice = .false.
cplwav = .false.
cplwav2atm = .false.
cpl_imp_mrg = _merge_import_
psautco = 0.0008, 0.0005
prautco = 0.00015, 0.00015
iau_delthrs = 6
Expand Down
13 changes: 1 addition & 12 deletions parm/forecast/regional_hwrf/model_configure.tmp
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
print_esmf: .false.
total_member: 1
PE_MEMBER01: NTASKS
start_year: YR
start_month: MN
start_day: DY
start_hour: H_R
start_minute: 0
start_second: 0
nhours_fcst: NHRS
RUN_CONTINUE: .false.
ENS_SPS: .false.
dt_atmos: _dt_atmos_
cpl: _cpl_
calendar: 'julian'
memuse_verbose: .false.
atmos_nthreads: NTHRD
use_hyper_thread: .false.
ncores_per_node: NCNODE
debug_affinity: .true.
restart_interval: _restart_interval_
output_1st_tstep_rst: .false.

Expand All @@ -36,8 +26,6 @@ jchunk3d: -1
kchunk3d: -1
ideflate: 1
nbits: 0
write_nemsioflip: .false.
write_fsyncflag: .false.

app_domain: '_app_domain_'
output_grid: '_OUTPUT_GRID_'
Expand All @@ -54,3 +42,4 @@ nfhout: 3
nfhmax_hf: -1
nfhout_hf: 3
nsout: -1
output_fh: -1
6 changes: 3 additions & 3 deletions parm/hafs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ lnsigcutoff=1.3 ;; length for vertical localization

[forecast]
# ccpp suites
ccpp_suite_regional=HAFS_v0_gfdlmp_tedmf
ccpp_suite_glob=HAFS_v0_gfdlmp_tedmf
ccpp_suite_nest=HAFS_v0_gfdlmp_tedmf
ccpp_suite_regional=FV3_HAFS_v0_gfdlmp_tedmf
ccpp_suite_glob=FV3_HAFS_v0_gfdlmp_tedmf
ccpp_suite_nest=FV3_HAFS_v0_gfdlmp_tedmf

#radiation scheme calling time steps
fhswr=1800.
Expand Down
Loading

0 comments on commit 79f611d

Please sign in to comment.