Skip to content

Commit

Permalink
Merge pull request #7 from tanyasmirnova/move_sfc_emis_alb_calculatio…
Browse files Browse the repository at this point in the history
…n_to_its_own_scheme_and_z0_composite_consistent_tanya_21apr21

Albedo and emissivity variables used with RUC LSM are added to restart.
  • Loading branch information
climbfuji authored Apr 22, 2021
2 parents cae59fa + a30d046 commit a3fade7
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions io/FV3GFS_io.F90
Original file line number Diff line number Diff line change
Expand Up @@ -825,8 +825,18 @@ subroutine sfc_prop_restart_read (Sfcprop, Atm_block, Model, fv_domain, warm_sta
sfc_name2(nvar_s2m+26) = 'snowfall_acc_land'
sfc_name2(nvar_s2m+27) = 'snowfall_acc_ice'
sfc_name2(nvar_s2m+28) = 'sncovr_ice'
sfc_name2(nvar_s2m+29) = 'albdvis_lnd'
sfc_name2(nvar_s2m+30) = 'albdnir_lnd'
sfc_name2(nvar_s2m+31) = 'albivis_lnd'
sfc_name2(nvar_s2m+32) = 'albinir_lnd'
sfc_name2(nvar_s2m+33) = 'emis_lnd'
sfc_name2(nvar_s2m+34) = 'albdvis_ice'
sfc_name2(nvar_s2m+35) = 'albdnir_ice'
sfc_name2(nvar_s2m+36) = 'albivis_ice'
sfc_name2(nvar_s2m+37) = 'albinir_ice'
sfc_name2(nvar_s2m+38) = 'emis_ice'
if (Model%rdlai) then
sfc_name2(nvar_s2m+29) = 'lai'
sfc_name2(nvar_s2m+39) = 'lai'
endif
else if (Model%lsm == Model%lsm_ruc .and. Model%rdlai) then
sfc_name2(nvar_s2m+19) = 'lai'
Expand Down Expand Up @@ -1094,8 +1104,18 @@ subroutine sfc_prop_restart_read (Sfcprop, Atm_block, Model, fv_domain, warm_sta
Sfcprop(nb)%snowfallac_land(ix) = sfc_var2(i,j,nvar_s2m+26)
Sfcprop(nb)%snowfallac_ice(ix) = sfc_var2(i,j,nvar_s2m+27)
Sfcprop(nb)%sncovr_ice(ix) = sfc_var2(i,j,nvar_s2m+28)
Sfcprop(nb)%albdvis_lnd(ix) = sfc_var2(i,j,nvar_s2m+29)
Sfcprop(nb)%albdnir_lnd(ix) = sfc_var2(i,j,nvar_s2m+30)
Sfcprop(nb)%albivis_lnd(ix) = sfc_var2(i,j,nvar_s2m+31)
Sfcprop(nb)%albinir_lnd(ix) = sfc_var2(i,j,nvar_s2m+32)
Sfcprop(nb)%emis_lnd(ix) = sfc_var2(i,j,nvar_s2m+33)
Sfcprop(nb)%albdvis_ice(ix) = sfc_var2(i,j,nvar_s2m+34)
Sfcprop(nb)%albdnir_ice(ix) = sfc_var2(i,j,nvar_s2m+35)
Sfcprop(nb)%albivis_ice(ix) = sfc_var2(i,j,nvar_s2m+36)
Sfcprop(nb)%albinir_ice(ix) = sfc_var2(i,j,nvar_s2m+37)
Sfcprop(nb)%emis_ice(ix) = sfc_var2(i,j,nvar_s2m+38)
if (Model%rdlai) then
Sfcprop(nb)%xlaixy(ix) = sfc_var2(i,j,nvar_s2m+29)
Sfcprop(nb)%xlaixy(ix) = sfc_var2(i,j,nvar_s2m+39)
endif
else if (Model%lsm == Model%lsm_ruc) then
! Initialize RUC snow cover on ice from snow cover
Expand Down

0 comments on commit a3fade7

Please sign in to comment.