Skip to content

Commit

Permalink
Update tree column names
Browse files Browse the repository at this point in the history
  • Loading branch information
reyery committed May 13, 2024
1 parent 0707ca4 commit e0c9e83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cea/resources/radiation/geometry_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def tree_geometry_generator(tree_df, terrain_raster):
surfaces = [
fetch.faces_frm_solid(result) for result in pool.starmap(
process_geometries, (
(geom, elevation_map, (0, 1), z) for geom, z in zip(tree_df['geometry'], tree_df['Z'])
(geom, elevation_map, (0, 1), z) for geom, z in zip(tree_df['geometry'], tree_df['height_tc'])
)
)
]
Expand Down
2 changes: 1 addition & 1 deletion cea/resources/radiation/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def main(config):
trees_df = gpd.GeoDataFrame.from_file(trees_path)
tree_surfaces = geometry_generator.tree_geometry_generator(trees_df, terrain_raster)
print("Creating radiance shading file")
tree_lad = trees_df["density"]
tree_lad = trees_df["density_la"]
cea_daysim.create_radiance_shading(tree_surfaces, tree_lad)

print("Converting files for DAYSIM")
Expand Down

0 comments on commit e0c9e83

Please sign in to comment.