pywasp.wasp.set_z0s
- pywasp.wasp.set_z0s(z0meso_from=None, 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 meterz0meso_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 values are set by selecting the percentiles corresponding to the number of intervals n. So for n=5, elements at 0, 0.2, … 1.0 etc are chosen.