def get_unit(self): l10n = get_l10n() unit = l10n.unit_distance if l10n else self._default_unit return unit
def get_unit(self): l10n = get_l10n() unit = l10n.unit_precipitation if l10n else self._default_unit return unit
def get_unit(self): l10n = get_l10n() unit = l10n.unit_temp if l10n else self._default_unit return unit
def get_unit(self): l10n = get_l10n() unit = l10n.unit_windspeed if l10n else self._default_unit return unit
def get_unit(self): l10n = get_l10n() unit = l10n.unit_velocity if l10n else self._default_unit return unit