Skip to content

Commit

Permalink
fix mutable vars columns
Browse files Browse the repository at this point in the history
  • Loading branch information
erexer committed Oct 18, 2023
1 parent 5defa2e commit 3b944e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions naturf/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1494,6 +1494,9 @@ def raupach_roughness_length(
Settings.raupach_roughness_length_west,
]

cols_fai = frontal_area_index.columns
cols_rdh = raupach_displacement_height.columns

von_karman_constant = Settings.VONKARMANCONSTANT
drag_coefficient_03 = Settings.DRAGCOEFFICIENT_03
drag_coefficient_0003 = Settings.DRAGCOEFFICIENT_0003
Expand All @@ -1512,6 +1515,9 @@ def raupach_roughness_length(
building_height, axis=0
)

frontal_area_index.columns = cols_fai
raupach_displacement_height.columns = cols_rdh

return raupach_roughness_length


Expand Down

0 comments on commit 3b944e5

Please sign in to comment.