TEB-model/teb

Review use of rounding the number floors to nearest integer value

dmey opened this issue · 1 comments

dmey commented

In bem_morpho.F90 the number of floors is calculated correctly but then rounded to the closest integer before being converted again to real -- see code below:

B%XN_FLOOR(:) = FLOAT(NINT(PBLD_HEIGHT(:) / B%XFLOOR_HEIGHT(:) ))

@VakankGrang @ValeryMasson is there any reason for doing this instead of keeping at as real? This is useful when average building values are used.

dmey commented

Closing as moved to email discussion for now.