Skip to content

Commit

Permalink
Switch to correct tape for tphysac/tphysbc snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Haipeng Lin <[email protected]>
  • Loading branch information
jimmielin authored and nusbaume committed Jan 29, 2025
1 parent bc4d5e7 commit a0e078c
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/physics/cam/cam_snapshot.F90
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,53 @@ subroutine cam_snapshot_all_outfld_tphysbc(file_num, state, tend, cam_in, cam_ou

lchnk = state%lchnk

call cam_history_snapshot_activate('tphysbc_flx_heat', file_num)
call outfld('tphysbc_flx_heat', flx_heat, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_flx_heat')

call cam_history_snapshot_activate('tphysbc_cmfmc', file_num)
call outfld('tphysbc_cmfmc', cmfmc, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_cmfmc')

call cam_history_snapshot_activate('tphysbc_cmfcme', file_num)
call outfld('tphysbc_cmfcme', cmfcme, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_cmfcme')

call cam_history_snapshot_activate('tphysbc_zdu', file_num)
call outfld('tphysbc_zdu', zdu, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_zdu')

call cam_history_snapshot_activate('tphysbc_rliq', file_num)
call outfld('tphysbc_rliq', rliq, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_rliq')

call cam_history_snapshot_activate('tphysbc_rice', file_num)
call outfld('tphysbc_rice', rice, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_rice')

call cam_history_snapshot_activate('tphysbc_dlf', file_num)
call outfld('tphysbc_dlf', dlf, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_dlf')

call cam_history_snapshot_activate('tphysbc_dlf2', file_num)
call outfld('tphysbc_dlf2', dlf2, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_dlf2')

call cam_history_snapshot_activate('tphysbc_rliq2', file_num)
call outfld('tphysbc_rliq2', rliq2, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_rliq2')

call cam_history_snapshot_activate('tphysbc_det_s', file_num)
call outfld('tphysbc_det_s', det_s, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_det_s')

call cam_history_snapshot_activate('tphysbc_det_ice', file_num)
call outfld('tphysbc_det_ice', det_ice, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_det_ice')

call cam_history_snapshot_activate('tphysbc_net_flx', file_num)
call outfld('tphysbc_net_flx', net_flx, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysbc_net_flx')

call cam_snapshot_all_outfld(file_num, state, tend, cam_in, cam_out, pbuf)

Expand Down Expand Up @@ -163,10 +198,22 @@ subroutine cam_snapshot_all_outfld_tphysac(file_num, state, tend, cam_in, cam_ou

lchnk = state%lchnk

call cam_history_snapshot_activate('tphysac_fh2o', file_num)
call outfld('tphysac_fh2o', fh2o, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysac_fh2o')

call cam_history_snapshot_activate('tphysac_surfric', file_num)
call outfld('tphysac_surfric', surfric, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysac_surfric')

call cam_history_snapshot_activate('tphysac_obklen', file_num)
call outfld('tphysac_obklen', obklen, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysac_obklen')

call cam_history_snapshot_activate('tphysac_flx_heat', file_num)
call outfld('tphysac_flx_heat', flx_heat, pcols, lchnk)
call cam_history_snapshot_deactivate('tphysac_flx_heat')


call cam_snapshot_all_outfld(file_num, state, tend, cam_in, cam_out, pbuf)

Expand Down

0 comments on commit a0e078c

Please sign in to comment.