bcgov / castor

Castor - decision support model for forest and land management
Apache License 2.0
18 stars 14 forks source link

denom functionality in forestryCastor needs checking #425

Open TylerMuhly opened 1 year ago

TylerMuhly commented 1 year ago

Describe the bug When using the 'denom' functionality in forestryCastor to modify the area of the zone, it trates the area as a 'no harvest' zone.

To Reproduce For a given forestryCastor scenario with a zone constraint, set the 'denom' criteria (e.g., ' treed = 1' for define as forested area). Or for example, use "scenarios\comparison_stsm\base_oldfirst_annual_constraint_partial_20230511.Rmd". Run the scenario and check the zonemanagement output table and harvest blocks output raster. they will show no harvest in the zone.

Expected behavior It should allow harvest in the zone when the target surpasses the prescribed percentage.