Skip to content

Commit

Permalink
Merge pull request #61 from climbfuji/merge_hwrf_updates_into_release…
Browse files Browse the repository at this point in the history
…_public_v2

ufs-release/public-v2: merge HWRF updates, remove duplicate import of read_data from fms_mod
  • Loading branch information
bensonr authored Nov 17, 2020
2 parents 27cc6ab + c3ab9a9 commit 35079f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions model/fv_dynamics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -774,12 +774,12 @@ subroutine fv_dynamics(npx, npy, npz, nq_tot, ng, bdt, consv_te, fill,
if ( flagstruct%fv_debug ) then
if (is_master()) write(*,'(A, I3, A1, I3)') 'finished k_split ', n_map, '/', k_split
call prt_mxm('T_dyn_a3', pt, is, ie, js, je, ng, npz, 1., gridstruct%area_64, domain)
call prt_mxm('SPHUM_dyn', q(isd,jsd,1,sphum ), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
call prt_mxm('liq_wat_dyn', q(isd,jsd,1,liq_wat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
call prt_mxm('rainwat_dyn', q(isd,jsd,1,rainwat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
call prt_mxm('ice_wat_dyn', q(isd,jsd,1,ice_wat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
call prt_mxm('snowwat_dyn', q(isd,jsd,1,snowwat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
call prt_mxm('graupel_dyn', q(isd,jsd,1,graupel), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (sphum > 0) call prt_mxm('SPHUM_dyn', q(isd,jsd,1,sphum ), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (liq_wat > 0) call prt_mxm('liq_wat_dyn', q(isd,jsd,1,liq_wat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (rainwat > 0) call prt_mxm('rainwat_dyn', q(isd,jsd,1,rainwat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (ice_wat > 0) call prt_mxm('ice_wat_dyn', q(isd,jsd,1,ice_wat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (snowwat > 0) call prt_mxm('snowwat_dyn', q(isd,jsd,1,snowwat), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
if (graupel > 0) call prt_mxm('graupel_dyn', q(isd,jsd,1,graupel), is, ie, js, je, ng, npz, 1.,gridstruct%area_64, domain)
endif
#ifdef AVEC_TIMERS
call avec_timer_stop(6)
Expand Down
8 changes: 5 additions & 3 deletions tools/external_ic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module external_ic_mod
use external_sst_mod, only: i_sst, j_sst, sst_ncep
use fms_mod, only: file_exist, read_data, field_exist, write_version_number
use fms_mod, only: open_namelist_file, check_nml_error, close_file
use fms_mod, only: get_mosaic_tile_file, read_data, error_mesg
use fms_mod, only: get_mosaic_tile_file, error_mesg
use fms_io_mod, only: get_tile_string, field_size, free_restart_type
use fms_io_mod, only: restart_file_type, register_restart_field
use fms_io_mod, only: save_restart, restore_state, set_filename_appendix, get_global_att_value
Expand Down Expand Up @@ -570,8 +570,10 @@ subroutine get_nggps_ic (Atm, fv_domain, dt_atmos )

!--- read in the number of tracers in the NCEP NGGPS ICs
call read_data ('INPUT/'//trim(fn_gfs_ctl), 'ntrac', ntrac, no_domain=.TRUE.)
if (ntrac > ntracers) call mpp_error(FATAL,'==> External_ic::get_nggps_ic: more NGGPS tracers &
&than defined in field_table '//trim(fn_gfs_ctl)//' for NGGPS IC')
! DH* 20200922 - this breaks Ferrier-Aligo MP runs
!if (ntrac > ntracers) call mpp_error(FATAL,'==> External_ic::get_nggps_ic: more NGGPS tracers &
! &than defined in field_table '//trim(fn_gfs_ctl)//' for NGGPS IC')
! *DH 20200922

!
call get_data_source(source,Atm%flagstruct%regional)
Expand Down

0 comments on commit 35079f0

Please sign in to comment.