pywasp.wasp.set_z0s

pywasp.wasp.set_z0s(z0meso_from, z0meso_to=None, n=5)[source]

Set generalized lib roughness lengths automatically

Parameters:
  • z0meso_from (numpy) – 1D array of mesoscale roughness length for each sector of source site in meter

  • z0meso_to (numpy, optional) – 1D array of mesoscale roughness length for each sector of target site in meter, by default None

Returns:

z0st (numpy) – 1D array of standard heights used for roughness length

Notes

The generalized standard roughnesses are set log spaced up to the maximum roughness length in the mesoscale roughness rose