easysnowdata.catalog.Variable#
- class easysnowdata.catalog.Variable(name: str, units: str | None = None, dtype: str | None = None, nodata: float | int | None = None, long_name: str = '', flag_values: tuple[int, ...] = (), flag_meanings: tuple[str, ...] = (), flag_colors: tuple[str, ...] = ())[source]#
Bases:
objectOne data variable of a product.
Categorical variables carry CF-style
flag_values/flag_meaningsplusflag_colors(hex strings);cf_attrs()renders them as the plain-string/number attrs the design contract requires (§2.5).