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

removing large 3D radiation arrays from restarts #428

Merged
merged 7 commits into from
Nov 6, 2018
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 = -1
currentPatch%solar_zenith_angle = nan

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

end subroutine zero_patch

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