Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

part of cam6_4_058: Switch to correct tape for tphysac/tphysbc snapshot #1242

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading