sup3r.preprocessing.derivers.methods.UWindPowerLaw#
- class UWindPowerLaw[source]#
Bases:
DerivedFeature
U wind component feature class with needed inputs method and compute method. Uses power law extrapolation to get values above surface
https://csl.noaa.gov/projects/lamar/windshearformula.html https://www.tandfonline.com/doi/epdf/10.1080/00022470.1977.10470503
Methods
compute
(data, height)Method to compute U wind component from data
Attributes
ALPHA
NEAR_SFC_HEIGHT
inputs
- classmethod compute(data, height)[source]#
Method to compute U wind component from data
- Parameters:
data (Union[Sup3rX, Sup3rDataset]) – Initialized and standardized through a
Loader
with a specific spatiotemporal extent rasterized for the features contained using aRasterizer
.height (str | int) – Height at which to compute the derived feature
- Returns:
ndarray – Derived feature array