pywasp.lincom.create_lut
- pywasp.lincom.create_lut(nsec, wind_speeds, out_ds, oro_grid, rgh_rast)[source]
Run LINCOM to create lookup table for extreme wind estimation
- Parameters:
nsec (
int
) – Number of sectors to include in lookup tablewind_speeds (
list
ornumpy.ndarray
) – List of wind speeds to include in lookup tableout_ds (
xarray.Dataset
) – Dataset containing the spatial structure to calculateoro_grid (
xarray.DataArray
) – Raster of orographic heights as a DataArrayrgh_rast (
RasterMap
) – Raster of roughness lengths as a RasterMap
- Returns:
out (
xarray.Dataset
) – Extreme wind lookup table
Notes
This routine is setup to run LINCOM for creating lookup tables. It will run for the provided wind speeds and sectors. Outputing only the downscaled wind speed and direction.