stefanfluck / palmpy

Package supporting the generation of static driver files for simulations with the PALM model system. Check out the Wiki and engage in the Discussions!
GNU General Public License v3.0
18 stars 4 forks source link

make vegetation to be input as raster (from Digital surface models directly) #51

Closed stefanfluck closed 2 years ago

stefanfluck commented 2 years ago

vegetation should be able to be imported from a raster. city of zurich defines lower height of tree crowns to be 3m (Fachplanung Stadtbäume), implement like that. for LAI... have general value for now, find something for the future.

stefanfluck commented 2 years ago

feature-id: fid001

stefanfluck commented 2 years ago

to get IDs from the raster, use scipy.ndimage.label to give IDs to adjacent features. https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.label.html