windkit.create_vector_map
- windkit.create_vector_map(bbox, map_type='elevation', elevation=0.0, roughness_change=(0.0, 0.0))[source]
Create a square elevation or roughness map within the specified bounding box.
- Parameters:
bbox (wk.spatial.BBox) – Bounding box to use for setting the boundary.
map_type (str) – One of “elevation” or “roughness” to specify the type of map to create. Defaults to “elevation”.
elevation (float) – Elevation to set the line to if it is an elevation map. Defaults to 0.0.
roughness_change (tuple of 2 floats) – Roughness values for the line describing what is inside (first element) and outside the line (second element). Defaults to (0.0,0.0).
- Returns:
vector_map – Flat vector_map
- Return type: