sup3r.preprocessing.feature_handling.Shear

class Shear[source]

Bases: DerivedFeature

Wind shear at a given height

Methods

compute(data, height)

Compute REWS

inputs(feature)

Required inputs for computing Veer

classmethod inputs(feature)[source]

Required inputs for computing Veer

Parameters:

feature (str) – raw feature name. e.g. BVF_MO_100m

Returns:

list – List of required features for computing Veer

classmethod compute(data, height)[source]

Compute REWS

Parameters:
  • data (dict) – Dictionary of raw feature arrays to use for derivation

  • height (str | int) – Height at which to compute the derived feature

Returns:

ndarray – Derived feature array