walib.istsos.services.status package

Submodules

walib.istsos.services.status.status module

class walib.istsos.services.status.status.waStatus(waEnviron)

Bases: walib.resource.waResourceService

executeGet()
Request:
(...)/istsos/wa/istsos/<service name>/status/?type=delay

The response is: >>> [

{

“name”: “air-rainfall”, “children”: [

{

“name”: “ok”, “children”: [

{}

]

}, {

“name”: “pending”, “children”: [

{

“delay”: 35243.204681, “lastObservation”: “2014-05-12T07:00:00+0200”, “code”: [

2

], “name”: “LOCARNO”, “oum”: “mm”, “exceptions”: [

{
“status”: “pending”, “process”: “acquisition”, “datetime”: “2014-05-12 09:00:00+02:00”, “details”: null, “message”: “TypeError”, “element”: “LOCARNO”, “id”: 2

}

], “lastMeasure”: “2.000000”, “cycle”: 4.894889539027778

}, {

“delay”: 540143.269259, “lastObservation”: “2014-05-06T10:45:00+0200”, “code”: [

1, 2, 3

], “name”: “P_LUGANO”, “oum”: “mm”, “exceptions”: [

{
“details”: “No exception found”

}

], “lastMeasure”: “32.000000”, “cycle”: 75.01989850819444

}

]

}, {

“name”: “verified”, “children”: [

{

“delay”: 49163.155455, “lastObservation”: “2014-05-12T03:08:00+0200”, “code”: [

1, 2, 3

], “name”: “BELLINZONA”, “oum”: “mm”, “exceptions”: [

{
“status”: “verified”, “process”: “acquisition”, “datetime”: “2014-05-12 05:00:00+02:00”, “details”: null, “message”: “TypeError”, “element”: “BELLINZONA”, “id”: 1

}

], “lastMeasure”: “1.000000”, “type”: “verified”, “cycle”: 13.656432070833333

}

]

}

]

}, {

“name”: “air-temperature”, “children”:[...]

}

]

Module contents