@@ -293,8 +293,6 @@ subroutine zero_bcs(fates,s)
293
293
fates% bc_in(s)% watsat_sl(:) = 0.0_r8
294
294
fates% bc_in(s)% tempk_sl(:) = 0.0_r8
295
295
fates% bc_in(s)% h2o_liqvol_sl(:) = 0.0_r8
296
- fates% bc_in(s)% filter_vegzen_pa(:) = .false.
297
- fates% bc_in(s)% coszen_pa(:) = 0.0_r8
298
296
fates% bc_in(s)% fcansno_pa(:) = 0.0_r8
299
297
fates% bc_in(s)% albgr_dir_rb(:) = 0.0_r8
300
298
fates% bc_in(s)% albgr_dif_rb(:) = 0.0_r8
@@ -375,13 +373,13 @@ subroutine zero_bcs(fates,s)
375
373
fates% bc_out(s)% rssun_pa(:) = 0.0_r8
376
374
fates% bc_out(s)% rssha_pa(:) = 0.0_r8
377
375
378
- fates% bc_out(s)% albd_parb(:,:) = 0.0_r8
379
- fates% bc_out(s)% albi_parb(:,:) = 0.0_r8
380
- fates% bc_out(s)% fabd_parb(:,:) = 0.0_r8
381
- fates% bc_out(s)% fabi_parb(:,:) = 0.0_r8
382
- fates% bc_out(s)% ftdd_parb(:,:) = 0 .0_r8
383
- fates% bc_out(s)% ftid_parb(:,:) = 0 .0_r8
384
- fates% bc_out(s)% ftii_parb(:,:) = 0 .0_r8
376
+ fates% bc_out(s)% albd_parb(:,:) = 0.0_r8 ! zero albedo, soil absorbs all rad
377
+ fates% bc_out(s)% albi_parb(:,:) = 0.0_r8 ! zero albedo, soil absorbs all rad
378
+ fates% bc_out(s)% fabd_parb(:,:) = 0.0_r8 ! no rad absorbed by veg
379
+ fates% bc_out(s)% fabi_parb(:,:) = 0.0_r8 ! no rad absorbed by veg
380
+ fates% bc_out(s)% ftdd_parb(:,:) = 1 .0_r8 ! rad flux to soil at bottom of veg is 100%
381
+ fates% bc_out(s)% ftid_parb(:,:) = 1 .0_r8 ! rad flux to soil at bottom of veg is 100%
382
+ fates% bc_out(s)% ftii_parb(:,:) = 1 .0_r8 ! rad flux to soil at bottom of veg is 100%
385
383
386
384
fates% bc_out(s)% elai_pa(:) = 0.0_r8
387
385
fates% bc_out(s)% esai_pa(:) = 0.0_r8
@@ -533,8 +531,7 @@ subroutine allocate_bcin(bc_in, nlevsoil_in, nlevdecomp_in, num_lu_harvest_cats,
533
531
allocate (bc_in% t_soisno_sl(nlevsoil_in))
534
532
535
533
! Canopy Radiation
536
- allocate (bc_in% filter_vegzen_pa(maxpatch_total))
537
- allocate (bc_in% coszen_pa(maxpatch_total))
534
+ bc_in% coszen = nan
538
535
allocate (bc_in% fcansno_pa(maxpatch_total))
539
536
allocate (bc_in% albgr_dir_rb(num_swb))
540
537
allocate (bc_in% albgr_dif_rb(num_swb))
@@ -621,13 +618,15 @@ subroutine allocate_bcout(bc_out, nlevsoil_in, nlevdecomp_in)
621
618
allocate (bc_out% rssha_pa(maxpatch_total))
622
619
623
620
! Canopy Radiation
624
- allocate (bc_out% albd_parb(fates_maxPatchesPerSite,num_swb))
625
- allocate (bc_out% albi_parb(fates_maxPatchesPerSite,num_swb))
626
- allocate (bc_out% fabd_parb(fates_maxPatchesPerSite,num_swb))
627
- allocate (bc_out% fabi_parb(fates_maxPatchesPerSite,num_swb))
628
- allocate (bc_out% ftdd_parb(fates_maxPatchesPerSite,num_swb))
629
- allocate (bc_out% ftid_parb(fates_maxPatchesPerSite,num_swb))
630
- allocate (bc_out% ftii_parb(fates_maxPatchesPerSite,num_swb))
621
+
622
+
623
+ allocate (bc_out% albd_parb(maxpatch_total,num_swb))
624
+ allocate (bc_out% albi_parb(maxpatch_total,num_swb))
625
+ allocate (bc_out% fabd_parb(maxpatch_total,num_swb))
626
+ allocate (bc_out% fabi_parb(maxpatch_total,num_swb))
627
+ allocate (bc_out% ftdd_parb(maxpatch_total,num_swb))
628
+ allocate (bc_out% ftid_parb(maxpatch_total,num_swb))
629
+ allocate (bc_out% ftii_parb(maxpatch_total,num_swb))
631
630
632
631
! We allocate the boundary conditions to the BGC
633
632
! model, regardless of what scheme we use. The BGC
0 commit comments