Skip to content

Commit b54091d

Browse files
authored
Merge pull request #428 from rgknox/pft-arrays
removing large 3D radiation arrays from restarts
2 parents 49535a8 + 1f0db48 commit b54091d

File tree

5 files changed

+1120
-920
lines changed

5 files changed

+1120
-920
lines changed

biogeochem/EDPatchDynamicsMod.F90

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,8 @@ subroutine create_patch(currentSite, new_patch, age, areap,cwd_ag_local,cwd_bg_l
13161316
new_patch%frac_burnt = 0._r8
13171317
new_patch%total_tree_area = 0.0_r8
13181318
new_patch%NCL_p = 1
1319+
1320+
13191321

13201322
end subroutine create_patch
13211323

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

1445+
currentPatch%solar_zenith_flag = .false.
1446+
currentPatch%solar_zenith_angle = nan
1447+
1448+
currentPatch%gnd_alb_dir(:) = nan
1449+
currentPatch%gnd_alb_dif(:) = nan
1450+
14431451
end subroutine zero_patch
14441452

14451453
! ============================================================================

0 commit comments

Comments
 (0)