Types: Radar#

class yr_weather.types.radar.AreaStatus(*args, **kwargs)#

Bases: dict

Area: str#
DueDate: str | None#
FaultCode: Literal['PS', 'VP', 'CO', 'TE'] | None#
Last: str#
Products: List[Literal['central_norway', 'eastern_norway', 'finnmark', 'nordic', 'nordland', 'northern_nordland', 'northwestern_norway', 'norway', 'southeastern_norway', 'southern_nordland', 'southern_norway', 'southwestern_norway', 'troms', 'western_norway', 'xband']]#
Sitename: str#
Stability: str#
class yr_weather.types.radar.AvailableAreas(*args, **kwargs)#

Bases: dict

area: List[Literal['central_norway', 'eastern_norway', 'finnmark', 'nordic', 'nordland', 'northern_nordland', 'northwestern_norway', 'norway', 'southeastern_norway', 'southern_nordland', 'southern_norway', 'southwestern_norway', 'troms', 'western_norway', 'xband']]#
content: Literal['image', 'animation']#
class yr_weather.types.radar.RadarOptions(*args, **kwargs)#

Bases: dict

5level_reflectivity: AvailableAreas#
accumulated_01h: AvailableAreas#
accumulated_02h: AvailableAreas#
accumulated_03h: AvailableAreas#
accumulated_04h: AvailableAreas#
accumulated_05h: AvailableAreas#
accumulated_06h: AvailableAreas#
accumulated_07h: AvailableAreas#
accumulated_08h: AvailableAreas#
accumulated_09h: AvailableAreas#
accumulated_10h: AvailableAreas#
accumulated_11h: AvailableAreas#
accumulated_12h: AvailableAreas#
accumulated_13h: AvailableAreas#
accumulated_14h: AvailableAreas#
accumulated_15h: AvailableAreas#
accumulated_16h: AvailableAreas#
accumulated_17h: AvailableAreas#
accumulated_18h: AvailableAreas#
accumulated_19h: AvailableAreas#
accumulated_20h: AvailableAreas#
accumulated_21h: AvailableAreas#
accumulated_22h: AvailableAreas#
accumulated_23h: AvailableAreas#
accumulated_24h: AvailableAreas#
fir_preciptype: AvailableAreas#
lx_reflectivity: AvailableAreas#
preciptype: AvailableAreas#
reflectivity: AvailableAreas#
class yr_weather.types.radar.RadarStatus(*args, **kwargs)#

Bases: dict

Last_update: str#
Radars: List[AreaStatus]#

Type aliases#

To learn more about the impact of these options, see the MET.no documentation.

yr_weather.types.radar.RadarArea#

Represents a valid radar area.

Literal[
   "central_norway",
   "eastern_norway",
   "finnmark",
   "nordic",
   "nordland",
   "northern_nordland",
   "northwestern_norway",
   "norway",
   "southeastern_norway",
   "southern_nordland",
   "southern_norway",
   "southwestern_norway",
   "troms",
   "western_norway",
   "xband"
]
yr_weather.types.radar.RadarContentType#

Represents a valid radar content type.

Literal["image", "animation"]
yr_weather.types.radar.RadarType#

Represents a valid radar type. This will decide what will be shown on the radar image/animation.

Literal[
   "5level_reflectivity",
   "accumulated_01h",
   "accumulated_02h",
   "accumulated_03h",
   "accumulated_04h",
   "accumulated_05h",
   "accumulated_06h",
   "accumulated_07h",
   "accumulated_08h",
   "accumulated_09h",
   "accumulated_10h",
   "accumulated_11h",
   "accumulated_12h",
   "accumulated_13h",
   "accumulated_14h",
   "accumulated_15h",
   "accumulated_16h",
   "accumulated_17h",
   "accumulated_18h",
   "accumulated_19h",
   "accumulated_20h",
   "accumulated_21h",
   "accumulated_22h",
   "accumulated_23h",
   "accumulated_24h",
   "fir_preciptype",
   "lx_reflectivity",
   "preciptype",
   "reflectivity"
]