sondera.clients package

Subpackages

Submodules

sondera.clients.parameters module

Parameters and related for the various APIs

class sondera.clients.parameters.ParametersGWLevels(value)[source]

Bases: Enum

An enumeration.

LevelAboveSeaLevel = 'grundvattenniva_m_o.h.'
LevelBelowGroundSurface = 'grundvattenniva_m_under_markyta'
LevelBelowWellTop = 'grundvattenniva_cm_u._roroverkant'
class sondera.clients.parameters.ParametersHydroObs(value)[source]

Bases: Enum

Integer values of enum match API integer parameter ids

Discharge = 1
class sondera.clients.parameters.ParametersMetObs(value)[source]

Bases: Enum

Integer values of enum match API integer parameter ids For values that are coded: https://opendata.smhi.se/apidocs/metobs/codes.html

CloudBaseLayer1 = 28
CloudBaseLayer2 = 30
CloudBaseLayer3 = 32
CloudBaseLayer4 = 34
CloudBaseLayerLowest = 36
CloudBaseLayerLowestMin = 37
Cloudiness = 16
CloudinessLayer1 = 29
CloudinessLayer2 = 31
CloudinessLayer3 = 33
CloudinessLayer4 = 35
CurrentWeather = 13
GroundConditions = 40
Precipitation15min = 14
PrecipitationDayAt06 = 5
PrecipitationHour = 7
PrecipitationIntensityMax15min = 15
PrecipitationIntensityMaxMean15min = 38
PrecipitationMonth = 23
PrecipitationTypeAt06And18 = 17
PrecipitationTypeDayAt06 = 18
PressureAir = 9
RadiationGlobal = 11
RadiationLongwave = 24
RelativeHumidity = 6
SnowDepth = 8
SunshineDuration = 10
TemperatureAirDay = 2
TemperatureAirHour = 1
TemperatureAirMax = 20
TemperatureAirMaxAt06At18 = 27
TemperatureAirMeanMonth = 22
TemperatureAirMin = 19
TemperatureAirMinAt06At18 = 26
TemperatureDewPoint = 39
Visibility = 12
WindDirection = 3
WindSpeed = 4
WindSpeedGust = 21
WindSpeedMax = 25
class sondera.clients.parameters.ParametersStrang(value)[source]

Bases: Enum

Parameter Meaning Availability 116 CIE UV irradiance [mW/m²] 1999-01-01 - present 117 Global irradiance [W/m²] 1999-01-01 - present 118 Direct normal irradiance [W/m²] 1999-01-01 - present 120 PAR [W/m²] 1999-01-01 - present 121 Direct horizontal irradiance [W/m²] 2017-04-18 - present 122 Diffuse irradiance [W/m²] 2017-04-18 - present

CIEUVIrradiance = 116
DiffuseIrradiance = 122
DirectHorizontalIrradiance = 121
DirectNormalIrradiance = 118
GlobalIrradiance = 117
PAR = 120
class sondera.clients.parameters.SGULanCodes(value)[source]

Bases: Enum

An enumeration.

Blekinge = '10'
Dalarna = '20'
Gavleborg = '21'
Gotland = '09'
Halland = '13'
Jamtland = '23'
Jonkoping = '06'
Kalmar = '08'
Kronoberg = '07'
Norrbotten = '25'
Orebro = '18'
Ostergotland = '05'
Skane = '12'
Sodermanland = '04'
Stockholm = '01'
Uppsala = '03'
Varmland = '17'
Vasterbotten = '24'
Vasternorrland = '22'
Vastmanland = '19'
VastraGotaland = '14'

Module contents