pywasp.wasp.TopographyMap

class pywasp.wasp.TopographyMap(elev_map, rou_map, lctable=None)[source]

Class for topography maps

This is a helper class that allows the calculation of roughness and elevation roses or site effects at specific points.

Parameters:
  • elev_map (gpd.GeoDataFrame or xarray.DataArray) – Elevation map

  • rou_map (gpd.GeoDataFrame) – Roughness map

Notes

Multi-part gpd.GeoDataFrame are always converted to single-part GeoDataFrames.

Methods

__init__(elev_map, rou_map[, lctable])

get_elev_rose(output_locs[, nsecs, conf])

Create elevation rose for a set of output locations from a given map

get_rou_rose(output_locs[, nsecs, conf, ...])

Create a roughness rose xarray object for all points

get_site_effects(output_locs[, conf, nsecs])

Calculate speedups at all points provided

get_site_effects_rose(elev_rose, rou_rose, hgts)

Calculate speed ups, and reweight the significant land fraction

load(filename)

Load a TopographyMap from a zip file.

save(filename)

Save a TopographyMap to a zip file.