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

Passing additional surface variables into the atmospheric model #5

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions atmos_model.F90
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ module atmos_model_mod
real, dimension(:,:), pointer :: q_star =>NULL() ! moisture scale
real, dimension(:,:), pointer :: shflx =>null() ! sensible heat flux
real, dimension(:,:), pointer :: lhflx =>null() ! latent heat flux
real, dimension(:,:), pointer :: wind =>null() ! surface wind
real, dimension(:,:), pointer :: thv_atm =>null() ! surface air theta_v
real, dimension(:,:), pointer :: thv_surf =>null() ! surface theta_v
real, dimension(:,:), pointer :: rough_mom =>NULL() ! surface roughness (used for momentum)
real, dimension(:,:,:), pointer :: data =>NULL() !collective field for "named" fields above
real, dimension(:,:), pointer :: frac_open_sea =>null() ! non-seaice fraction (%)
Expand Down Expand Up @@ -737,6 +740,13 @@ subroutine lnd_ice_atm_bnd_type_chksum(id, timestep, bnd_type)
write(outunit,100) 'lnd_ice_atm_bnd_type%u_star ',mpp_chksum(bnd_type%u_star )
write(outunit,100) 'lnd_ice_atm_bnd_type%b_star ',mpp_chksum(bnd_type%b_star )
write(outunit,100) 'lnd_ice_atm_bnd_type%q_star ',mpp_chksum(bnd_type%q_star )
#ifndef use_AM3_physics
write(outunit,100) 'lnd_ice_atm_bnd_type%shflx ',mpp_chksum(bnd_type%shflx )!miz
write(outunit,100) 'lnd_ice_atm_bnd_type%lhflx ',mpp_chksum(bnd_type%lhflx )!miz
rem1776 marked this conversation as resolved.
Show resolved Hide resolved
#endif
write(outunit,100) 'lnd_ice_atm_bnd_type%wind ',mpp_chksum(bnd_type%wind )
write(outunit,100) 'lnd_ice_atm_bnd_type%thv_atm ',mpp_chksum(bnd_type%thv_atm )
write(outunit,100) 'lnd_ice_atm_bnd_type%thv_surf ',mpp_chksum(bnd_type%thv_surf )
write(outunit,100) 'lnd_ice_atm_bnd_type%rough_mom ',mpp_chksum(bnd_type%rough_mom )
! write(outunit,100) 'lnd_ice_atm_bnd_type%data ',mpp_chksum(bnd_type%data )

Expand Down