Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API should return public Alerts Issued by TMA #9

Open
Mloweedgar opened this issue Oct 6, 2018 · 8 comments
Open

API should return public Alerts Issued by TMA #9

Mloweedgar opened this issue Oct 6, 2018 · 8 comments
Assignees
Labels
doing enhancement New feature or request

Comments

@Mloweedgar
Copy link
Member

Thank you @lykmapipo for making a great alert API which works fine so far!, Can you enhance it to return real public Alerts Issued by TMA

@Mloweedgar Mloweedgar added the enhancement New feature or request label Oct 6, 2018
@Mloweedgar
Copy link
Member Author

@lykmapipo can we have real public Alerts issued by TMA by the end of today.

@lykmapipo
Copy link
Member

@Mloweedgar You can use emis-web-alert to create TMA based Alerts...

@lykmapipo
Copy link
Member

@Mloweedgar Current motivation of API will be acting as General CAP Consumer...Its a work on progress

@Mloweedgar
Copy link
Member Author

@lykmapipo got you. Last time you promised to return public Alerts issued by TMA, this was just a reminder.

@Mloweedgar
Copy link
Member Author

@lykmapipo I will create the Alerts, If possible can you clear the Fake alerts that the API returns. so as I can add those new Alerts From TMA

@lykmapipo
Copy link
Member

lykmapipo commented Oct 8, 2018

@Mloweedgar On every changes the test server reset the data. Please share those few TMA alerts in JSON format that API support and I will always force to use them for fake data

@Mloweedgar
Copy link
Member Author

Great @lykmapipo !. I will work on that Tomorrow. Today I have to finish my Milestone. For now just do me a favor make the polygons returned by the API much more smaller, so as the fake Alerts may look more realistic

@Mloweedgar
Copy link
Member Author

@lykmapipo below is the JSON with Alerts issued by TMA

{
    "data": [
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.8.14.13.4.45"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-08-14T13:04:45-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "references":  "[email protected],urn:oid:2.49.0.0.834.0.2018.7.7.14.41.41,2018-07-07T14:41:41-00:00"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and Large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-08-14T18:00:00+03:00"
                ,
                "expires":  "2018-08-18T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Strong winds and Large waves along the coast of Indian Ocean"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas. \nLikelihood of occurrence is MODERATE and expected Impacts are HIGH.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO TAKE ACTIONS\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.9,38.9 -7.4,39 -7.9,38.9 -8.4,39 -8.9,39 -9.3,39.2 -9.7,39.4 -10.2,39.7 -10.8,40.2 -10.6,40.5 -10.1,40.6 -9.3,40.4 -8.8,40 -8.2,40 -7.5,40.3 -6.7,40.3 -6.1,40.2 -5.7,40.3 -5.2,40.3 -4.8,40.1 -4.6,39.9 -4.5,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.8.12.16.56.37"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-08-12T16:56:37-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and large waves"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-08-12T17:00:00+03:00"
                ,
                "expires":  "2018-08-13T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Strong winds and large waves along the Lake Victoria and Tanganyika"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas of Lake Victoria and Tanganyika. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of lake activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Lake users and Residents of high risk areas are advised TO BE AWARE AND STAY ALERT\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Kagera, Geita, Mwanza, Mara, Kigoma, Katavi and Rukwa."
                    ,
                    "polygon":  "-1,30.5 -2.5,31 -3.6,30.6 -4.2,29.8 -4.6,29.2 -5.9,29.4 -6.8,29.8 -7.8,30.3 -8.8,30.9 -8.6,31.4 -7.7,31.3 -6.4,30.7 -5.4,30.5 -4.4,31 -3.5,32.1 -3,33.5 -2.2,34.3 -1.3,34.3 -1,33.5 -1,32.4 -1,31.4 -1,30.5"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.8.12.16.42.18"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-08-12T16:42:18-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "references":  "[email protected],urn:oid:2.49.0.0.834.0.2018.7.7.14.41.41,2018-07-07T14:41:41-00:00"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and Large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-08-12T18:00:00+03:00"
                ,
                "expires":  "2018-08-16T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Strong winds and Large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas. \nLikelihood of occurrence is MEDIUM and expected Impacts are HIGH.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO TAKE ACTIONS\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.9,38.9 -7.4,39 -7.9,38.9 -8.4,39 -8.9,39 -9.3,39.2 -9.7,39.4 -10.2,39.7 -10.8,40.2 -10.6,40.5 -10.1,40.6 -9.3,40.4 -8.8,40 -8.2,40 -7.5,40.3 -6.7,40.3 -6.1,40.2 -5.7,40.3 -5.2,40.3 -4.8,40.1 -4.6,39.9 -4.5,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.19.13.9.39"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-19T13:09:39-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and large waves along the coast of Lake Tanganyika"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-19T17:00:00+03:00"
                ,
                "expires":  "2018-07-19T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Strong winds and large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas of Lake Tanganyika. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Lake users and Residents of high risk areas are advised TO BE AWARE AND STAY ALERT\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Kigoma, Katavi and Rukwa."
                    ,
                    "polygon":  "-3.1,29 -4.2,29 -5.4,29 -6.6,29.3 -7.2,29.8 -8,30.3 -8.6,30.7 -8.9,31 -8.8,31.2 -8.2,31.3 -7.8,30.9 -6.9,30.6 -6.4,30.3 -6.2,30 -5.5,29.9 -4.8,29.8 -4.1,29.6 -3.5,29.5 -3,29.2 -3.1,29"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.19.13.0.3"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-19T13:00:03-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and large waves along the coast of Indian Ocean"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-19T17:00:00+03:00"
                ,
                "expires":  "2018-07-21T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Strong winds and large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas of Indian Ocean. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO BE AWARE AND STAY ALERT\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.8,38.3 -7.6,38.3 -8.7,38.7 -9.7,39.2 -10.1,39.5 -10.6,40.2 -10.1,40.4 -9.3,40.4 -8.3,40.4 -7.5,40.4 -6.7,40.3 -6.1,40.2 -5.2,40 -4.6,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.9.15.3.56"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-09T15:03:56-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Update"
            ,
            "scope":  "Public"
            ,
            "references":  "[email protected],urn:oid:2.49.0.0.834.0.2018.7.7.14.41.41,2018-07-07T14:41:41-00:00"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and Large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-09T18:00:00+03:00"
                ,
                "expires":  "2018-07-11T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Strong winds and Large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO BE AWARE AND STAY ALERT\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.8,38.3 -7.6,38.3 -8.7,38.7 -9.7,39.2 -10.1,39.5 -10.6,40.2 -10.1,40.4 -9.3,40.4 -8.3,40.4 -7.5,40.4 -6.7,40.3 -6.1,40.2 -5.2,40 -4.6,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.18.12.20.4"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-18T12:20:04-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "references":  "[email protected],urn:oid:2.49.0.0.834.0.2018.7.7.14.41.41,2018-07-07T14:41:41-00:00"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and Large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-18T18:00:00+03:00"
                ,
                "expires":  "2018-07-21T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Strong winds and Large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas. \nLikelihood of occurrence is HIGH and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO TAKE ACTIONS\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.9,38.9 -7.4,39 -7.9,38.9 -8.4,39 -8.9,39 -9.3,39.2 -9.7,39.4 -10.2,39.7 -10.8,40.2 -10.6,40.5 -10.1,40.6 -9.3,40.4 -8.8,40 -8.2,40 -7.5,40.3 -6.7,40.3 -6.1,40.2 -5.7,40.3 -5.2,40.3 -4.8,40.1 -4.6,39.9 -4.5,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.7.14.41.41"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-07T14:41:41-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Large waves"
                ,
                "responseType":  "Prepare"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-07T18:00:00+03:00"
                ,
                "expires":  "2018-07-11T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Large waves"
                ,
                "description":  "Large waves are expected over the coast of Indian Ocean. \nLikelihood of occurrence is HIGH and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are challenge to some of sea activities like sea navigation, fishery, recreational and associated impacts."
                ,
                "instruction":  "Sea users are advised TO TAKE ACTION.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Tanga, Pwani, Dar es salaam, Lindi, Mtwara regions together with Unguja and Pemba isles."
                    ,
                    "polygon":  "-4.6,39.2 -5.5,39 -6.1,38.8 -6.5,39 -6.9,39.5 -7.3,39.5 -8,39.4 -8.7,39.4 -9.4,39.7 -10,39.9 -10.5,40.5 -10.1,40.7 -9.2,40.7 -8.3,40.5 -7.2,40.4 -6.7,40.5 -6.1,40.2 -5.7,39.9 -5,40 -4.6,39.2"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.7.14.30.22"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-07T14:30:22-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Large waves"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-07T18:00:00+03:00"
                ,
                "expires":  "2018-07-09T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Large waves"
                ,
                "description":  "Large waves are expected over Lake Tanganyika. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are challenge to some of lake activities like lake navigation, fishery, recreational and associated impacts."
                ,
                "instruction":  "Lake users are advised TO BE AWARE AND STAY ALERT.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Katavi, Kigoma and Rukwa regions"
                    ,
                    "polygon":  "-4.4,29.3 -4.6,29.2 -5,29.3 -5.6,29.5 -6.2,29.5 -6.7,29.8 -7.5,30.3 -8.1,30.6 -8.6,30.9 -8.6,31.3 -8.4,31.1 -7.7,30.8 -6.8,30.4 -6.3,30.1 -5.7,29.9 -5.2,29.8 -4.5,29.7 -4.4,29.3"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.7.13.17.2"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-07T13:17:02-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong Winds"
                ,
                "responseType":  "Prepare"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-07T00:00:00-03:00"
                ,
                "expires":  "2018-07-10T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Strong Winds"
                ,
                "description":  "Strong winds are expected over several parts of the country. \nLikelihood of occurrence is HIGH and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches and associated impacts."
                ,
                "instruction":  "Residents of high risk areas are advised TO TAKE ACTION.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Regions of Mara, Kagera, Geita, Shinyanga, Mwanza, Kigoma, Tabora,Katavi,Rukwa,Mbeya,Songwe, Njombe, Mahenge, Ruvuma, Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4,38 -6,38 -7,38 -9,39 -9,37 -8,36 -9,35 -9,34 -8,33 -7,32 -5,30 -4,31 -3,32 -3,32 -3,34 -2,34 -1,34 -1,33 -1,32 -1,31 -2,31 -2,31 -3,31 -4,30 -5,29 -6,30 -7,30 -7,30 -9,31 -9,32 -9,33 -10,34 -11,35 -12,35 -12,36 -12,36 -12,38 -11,39 -11,40 -9,40 -8,40 -7,40 -5,40 -4,40 -4,38"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.4.15.4.45"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-04T15:04:45-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Large waves along the Indian Ocean coast of Tanzania"
                ,
                "responseType":  "Prepare"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Extreme"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-05T00:00:00-03:00"
                ,
                "expires":  "2018-07-08T00:00:00-03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "RED WARNING. Large waves along the Indian Ocean coast of Tanzania"
                ,
                "description":  "large waves are expected along the Indian Ocean coastal areas. \nLikelihood of occurrence is HIGH and expected Impacts are HIGH.\nThe expected impacts of this phenomenon are challenge to some of marine activities like marine navigation, fishery, recreational and associated impacts."
                ,
                "instruction":  "Sea users are advised TO TAKE AN IMMEDIATE ACTION.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.6,39.4 -5,39.1 -5.6,39 -6.2,39 -6.7,39.1 -7,39.6 -7.3,39.5 -7.9,39.4 -8.7,39.4 -9.4,39.7 -10.1,40.1 -10.4,40.5 -7.5,40.7 -4.6,39.4"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.6.21.8.45.3"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-06-21T08:45:03-00:00"
            ,
            "status":  "Test"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Minor"
                ,
                "certainty":  "Likely"
                ,
                "onset":  "2018-06-21T18:00:00-00:00"
                ,
                "expires":  "2018-06-23T18:00:00-00:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "Strong winds Exceeding 40km/hr and large waves exceeding 2.0m expected"
                ,
                "description":  "Strong winds Exceeding 40km/hr and large waves exceeding 2.0m are expected along the coastal areas. Level of Confidence HIGH (80%). This is due to intensification of a high pressure system along the Tanzania coastline resulting into tight pressure gradient and hence strong southerly flow associated with large waves.\n\nNOTE: \nThis is a test message. It should not taken serious."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised to take necessary precautions\n\nTMA will continue to monitor the situation and issue updates when necessary.\n\nNOTE: \nThis is a test message. It should not taken serious."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara,Lindi, Pwani,Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.8,38.3 -7.6,38.3 -8.7,38.7 -9.7,39.2 -10.1,39.5 -10.6,40.2 -10.1,40.4 -9.3,40.4 -8.3,40.4 -7.5,40.4 -6.7,40.3 -6.1,40.2 -5.2,40 -4.6,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.7.14.15.53"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-07T14:15:53-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Large waves"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-07T18:00:00+03:00"
                ,
                "expires":  "2018-07-09T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Large waves"
                ,
                "description":  "Large waves are expected over the Lake Victoria. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are challenge to some of lake activities like lake navigation, fishery, recreational and associated impacts."
                ,
                "instruction":  "Sea users are advised TO BE AWARE AND STAY ALERT.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mwanza, Geita and Kagera regions"
                    ,
                    "polygon":  "-0.9,31.7 -1.3,31.7 -1.8,31.7 -2.3,31.5 -2.7,31.8 -2.4,32.2 -2.6,32.7 -2.7,33.4 -2.4,33.8 -2,33.9 -2,33.4 -1.5,33.9 -1.1,34.2 -1,33.9 -1,33.1 -1,32.5 -0.9,31.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.4.16.56.14"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-04T16:56:14-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds"
                ,
                "responseType":  "Prepare"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Severe"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-04T21:00:00+03:00"
                ,
                "expires":  "2018-07-07T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "ORANGE WARNING. Strong Winds"
                ,
                "description":  "Strong winds are expected over some parts of the country. \nLikelihood of occurrence is HIGH and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches and associated impacts."
                ,
                "instruction":  "Residents of high risk areas are advised TO TAKE ACTION.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Regions of Mara, Kagera, Simiyu, Shinyanga, Mwanza, Kigoma, Tabora,Katavi,Rukwa,Mbeya, Njombe, Mahenge, Ruvuma, Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-5,39 -5,39 -6,39 -7,39 -9,39 -10,39 -11,37 -11,36 -11,35 -9,34 -9,32 -7,31 -6,30 -5,30 -3,31 -3,31 -3,33 -2,34 -1,34 -1,33 -1,31 -2,30 -3,30 -4,30 -5,29 -7,30 -8,30 -9,31 -9,32 -10,33 -10,34 -11,34 -12,35 -12,37 -11,39 -11,40 -10,40 -8,40 -7,40 -6,40 -5,39"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.6.29.6.13.47"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-06-29T06:13:47-00:00"
            ,
            "status":  "Actual"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Strong winds and large waves along the coast"
                ,
                "responseType":  "Monitor"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Moderate"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-06-29T10:00:00+03:00"
                ,
                "expires":  "2018-06-30T00:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "YELLOW ADVISORY. Strong winds and large waves"
                ,
                "description":  "Strong winds and large waves are expected along the coastal areas. \nLikelihood of occurrence is MODERATE and expected Impacts are MODERATE.\nThe expected impacts of this phenomenon are widespread of rubbish, falling of leaves and small tree branches, challenge to some of marine activities, scarcity of fish and associated impacts."
                ,
                "instruction":  "Sea users and Residents of high risk areas are advised TO BE AWARE AND STAY ALERT\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mtwara, Lindi, Pwani, Dar es salaam, Tanga,  Unguja and Pemba islands"
                    ,
                    "polygon":  "-4.4,38.7 -5.6,38.4 -6.8,38.3 -7.6,38.3 -8.7,38.7 -9.7,39.2 -10.1,39.5 -10.6,40.2 -10.1,40.4 -9.3,40.4 -8.3,40.4 -7.5,40.4 -6.7,40.3 -6.1,40.2 -5.2,40 -4.6,39.5 -4.4,38.7"
                    
                    
                }
                
            }
            
        },
        {
            "identifier":  "urn:oid:2.49.0.0.834.0.2018.7.4.15.33.5"
            ,
            "sender":  "[email protected]"
            ,
            "sent":  "2018-07-04T15:33:05-00:00"
            ,
            "status":  "Test"
            ,
            "msgType":  "Alert"
            ,
            "scope":  "Public"
            ,
            "info": {
                "language":  "en"
                ,
                "category":  "Met"
                ,
                "event":  "Large waves over the Lake Victoria"
                ,
                "responseType":  "Prepare"
                ,
                "urgency":  "Expected"
                ,
                "severity":  "Extreme"
                ,
                "certainty":  "Possible"
                ,
                "onset":  "2018-07-04T21:00:00+03:00"
                ,
                "expires":  "2018-07-07T21:00:00+03:00"
                ,
                "senderName":  "Tanzania Meteorological Agency"
                ,
                "headline":  "RED WARNING. Large waves over the Lake Victoria"
                ,
                "description":  "Large waves are expected over the Lake Victoria Regions. \nLikelihood of occurrence is HIGH and expected Impacts are HIGH.\nThe expected impacts of this phenomenon are challenge to some of lake activities like lake navigation, fishery, recreational and associated impacts."
                ,
                "instruction":  "Sea users are advised TO TAKE AN IMMEDIATE ACTION.\n\nTMA will continue to monitor the situation and issue updates when necessary."
                ,
                "web":  "http://www.meteo.go.tz"
                ,
                "contact":  "[email protected]"
                ,
                "area": {
                    "areaDesc":  "Coasts of Mwanza, Geita and Kagera regions"
                    ,
                    "polygon":  "-1,31.7 -1.3,31.8 -1.6,31.7 -1.8,31.7 -2.1,31.6 -2.3,31.7 -2.6,31.8 -2.7,31.9 -2.5,32.1 -2.3,32.2 -2.3,32.4 -2.5,32.5 -2.5,32.7 -2.6,32.9 -2.5,33.1 -2.5,33.5 -2.4,33.7 -2.1,33.9 -1.9,33.6 -1.7,33.6 -1.5,33.7 -1.2,34 -1,34.1 -1,31.7"
                    
                    
                }
                
            }
            
        }
    ]
}

@lykmapipo lykmapipo added the doing label Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doing enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants