weac.utils.snow_types module

Snow grain types and hand hardness values.

These values are used in Pydantic models for validation and correspond to the parameterizations available in geldsetzer.py.

class weac.utils.snow_types.GrainType(*values)[source]

Bases: str, Enum

SnowPilot grain type codes (see geldsetzer.GRAIN_TYPE).

DF = 'DF'
DFbk = 'DFbk'
DFdc = 'DFdc'
DH = 'DH'
DHch = 'DHch'
DHcp = 'DHcp'
DHla = 'DHla'
DHpr = 'DHpr'
DHxr = 'DHxr'
FC = 'FC'
FCsf = 'FCsf'
FCso = 'FCso'
FCxr = 'FCxr'
IF = 'IF'
IFbi = 'IFbi'
IFic = 'IFic'
IFil = 'IFil'
IFrc = 'IFrc'
IFsc = 'IFsc'
MF = 'MF'
MFcl = 'MFcl'
MFcr = 'MFcr'
MFpc = 'MFpc'
MFsl = 'MFsl'
PP = 'PP'
PPco = 'PPco'
PPgp = 'PPgp'
PPhl = 'PPhl'
PPip = 'PPip'
PPir = 'PPir'
PPnd = 'PPnd'
PPpl = 'PPpl'
PPrm = 'PPrm'
PPsd = 'PPsd'
RG = 'RG'
RGlr = 'RGlr'
RGsr = 'RGsr'
RGwp = 'RGwp'
RGxf = 'RGxf'
SH = 'SH'
SHcv = 'SHcv'
SHsu = 'SHsu'
SHxr = 'SHxr'
class weac.utils.snow_types.HandHardness(*values)[source]

Bases: str, Enum

Field hand hardness codes (see geldsetzer.HAND_HARDNESS).

Enum member names avoid starting with digits and special characters.

Fm = 'F-'
F = 'F'
Fp = 'F+'
Pm = 'P-'
P = 'P'
Pp = 'P+'
Km = 'K-'
K = 'K'
Kp = 'K+'
Im = 'I-'
I = 'I'
Ip = 'I+'