sup3r.preprocessing.derivers.utilities

sup3r.preprocessing.derivers.utilities#

Miscellaneous utilities shared across the derivers module

Functions

invert_uv(u, v, lat_lon)

Transform u and v back to windspeed and winddirection

parse_feature(feature)

Parse feature name to get the "basename" (i.e. U for u_100m), the height (100 for u_100m), and pressure if available (1000 for u_1000pa).

transform_rotate_wind(ws, wd, lat_lon)

Transform windspeed/direction to u and v and align u and v with grid

windspeed_log_law(z, a, b, c)

Windspeed log profile.

Classes

SolarZenith()

Class to compute solar zenith angle.