Skip to content

Update column weighting upon disturbance #4

@glemieux

Description

@glemieux

The column weight for the various upstream types will need to the have the weights updated when a given soil column is disturbed.

See compute_higher_order_weights for reference:

do l = bounds%begl, bounds%endl
t = lun_pp%topounit(l)
lun_pp%wtgcell(l) = lun_pp%wttopounit(l) * top_pp%wtgcell(t)
end do
do c = bounds%begc, bounds%endc
l = col_pp%landunit(c)
col_pp%wttopounit(c) = col_pp%wtlunit(c) * lun_pp%wttopounit(l)
col_pp%wtgcell(c) = col_pp%wtlunit(c) * lun_pp%wtgcell(l)
end do
do p = bounds%begp, bounds%endp
c = veg_pp%column(p)
veg_pp%wtlunit(p) = veg_pp%wtcol(p) * col_pp%wtlunit(c)
veg_pp%wttopounit(p) = veg_pp%wtcol(p) * col_pp%wttopounit(c)
veg_pp%wtgcell(p) = veg_pp%wtcol(p) * col_pp%wtgcell(c)
end do
end subroutine compute_higher_order_weights

Note: lun_pp type is landunit_physical_properties

### Tasks
- [ ] topounit weight (`col_pp%wttopounit`)
- [ ] vegetated landunit weight (`col_pp%wtlunit`)
- [ ] gridcell weight (`col_pp%wtgcell`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions