File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -595,12 +595,12 @@ void Simple_Canopy::init(mesh& domain)
595
595
d.LAI = face->veg_attribute (" LAI" );
596
596
597
597
// this parameterization just doesn't work well for LAI below 1.5, especially with tall trees
598
- if (d.CanopyHeight > 0 && d.LAI < 1.5 )
598
+ if (d.CanopyHeight > 0 && d.LAI < 1 )
599
599
{
600
- SPDLOG_ERROR (" CanopyHeight was defined for triangle global_id={} but LAI < 1.5 ; Setting CanopyHeight to zero " , face->cell_global_id );
600
+ SPDLOG_ERROR (" CanopyHeight was defined for triangle global_id={} but LAI < 1; Setting CanopyHeight to 0.25 (grass) " , face->cell_global_id );
601
601
602
- d.CanopyHeight = 0 ;
603
- // CHM_THROW_EXCEPTION(missing_value_error, "CanopyHeight was defined but LAI is zero.");
602
+ d.CanopyHeight = 0.25 ;
603
+ //
604
604
}
605
605
606
606
// Get Canopy type (CRHM canop classifcation: Canopy, Clearing, or Gap)
You can’t perform that action at this time.
0 commit comments