Skip to content

Commit

Permalink
Merge pull request #428 from rgknox/pft-arrays
Browse files Browse the repository at this point in the history
removing large 3D radiation arrays from restarts
  • Loading branch information
rgknox authored Nov 6, 2018
2 parents 49535a8 + 1f0db48 commit b54091d
Show file tree
Hide file tree
Showing 5 changed files with 1,120 additions and 920 deletions.
8 changes: 8 additions & 0 deletions biogeochem/EDPatchDynamicsMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,8 @@ subroutine create_patch(currentSite, new_patch, age, areap,cwd_ag_local,cwd_bg_l
new_patch%frac_burnt = 0._r8
new_patch%total_tree_area = 0.0_r8
new_patch%NCL_p = 1



end subroutine create_patch

Expand Down Expand Up @@ -1440,6 +1442,12 @@ subroutine zero_patch(cp_p)
currentPatch%c_stomata = 0.0_r8 ! This is calculated immediately before use
currentPatch%c_lblayer = 0.0_r8

currentPatch%solar_zenith_flag = .false.
currentPatch%solar_zenith_angle = nan

currentPatch%gnd_alb_dir(:) = nan
currentPatch%gnd_alb_dif(:) = nan

end subroutine zero_patch

! ============================================================================
Expand Down
Loading

0 comments on commit b54091d

Please sign in to comment.