Severe weather events - IBM/intelligence-suite-supply-chain-solutions GitHub Wiki
As a supply chain risk manager, I want to explore current and future severe weather events to evaluate whether my supply chain operation locations may be at risk of business continuty.
Supply chain risk may come in many forms - severe weather, geo-political disruptions, port or road congestion, public service disruptions, pandemic illnesses, etc. In Supply Chain Intelligence Suite, these risks are typically represented using the ExternalEvent
business object. Using our flexible cloud object import, risk data can be curated and ingested from any source.
SCIS offers severe weather data as a pre-built optional suite connector which is powered by the Environmental Intelligence Suite alerts headlines service. This data source provides severe weather from around the world such as fire, flooding, winter storms, high wind 24 hours per day, 7 days per week. See Severe Weather data integration for more information about how to enable severe weather in your instances. All screenshots in this tutorial represent data from the Severe Weather suite connector.
If you are interested in ingesting other risk data sources see the tutorial External risk event source integration. This tutorial shows how you can build a simple python adapter to connect to any risk event data source to ingest risk event data into SCIS.
Once ingested, risk events can be correlated to operational locations, suppliers, customers, shipments, or inventory at risk in a supply chain by performing correlation queries and/or derived data rules. See Inventory at risk due to fire and flood for an example how how correlated risk can be applied to supply chain data.
This tutorial presents a "Severe weather" dashboard for browsing, filtering, and viewing of the active and future events that have been loaded into the system. The tutorial includes a dashboard tab for browsing a list of active severe weather events, interacting with a live map of these active events, browsing future or upcoming severe weather events, and drilling into a detail page about a specific event to see more information and a local map of the event. This dashboard will likely be useful and an initial implementation of any risk based correlation use case for general browsing of these events prior to viewing the impacted supply chain entities in a subsequent tab.
This use case assumes you are familiar with implementing solutions in SCIS. You can find relevant tutorials for all of the instructions here in the User interface, Data platform, and Data import-export wikis.
As discussed above, data needs to be enabled via the the Severe Weather Events suite connector, or other external event data sources.
Note - these tutorials are provided as-is for educational purposes only. We do our best to make them fully useable, however there will be gaps as published. If you have suggestions for improvements please submit an issue.
The severe weather dashboard uses standard existing SCIS widget types for list views, geospatial map, detail tables, and configurable filters. All queries are based on the ExternalEvent
business object which is documented in GraphiQL schema introspection and in the IBM Supply Chain Intelligence Suite documentation.
Severe weather dashboard
-
Active severe weather warnings list - events where the
forecastedEnd
is in the future, and thestart
date has passed (or does not exist) - Active severe weather warnings map - visual representation of each of these weather warnings as a point
-
Future severe weather warnings list - events where the
start
date is in the future - Filters - filters have been provided for the country, state-province, and subject of the external events
Severe weather detail page
- Details - grid details widget showing all attributes about the event
- Detail map - visual map representation about the current selected weather event
Please note - you will need to change the tenantId in all json files to your tenant ID
- Create dashboard widgets
- Create dashboard
- Create detail page widgets
- Create detail pages
- Test on https://www.supply-chain.ibm.com/
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe
- Active severe weather warnings list - widget-active-severe-weather-list-v2.json
- Active severe weather warnings map - widget-active-severe-weather-map-v5.json
- Future severe weather warnings list - widget-future-severe-weather-list-v2.json
- Dashboard filters - widget-severe-weather-filters.json
- Active filters - widget-severe-weather-active-filters.json
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/layout_templates
then POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe
Subscription body should be of the form:
{
"id": "SEVERE_WEATHER_LAYOUT_TEMPLATE_subscription",
"offeringId": "SCO",
"state": "ACTIVE",
"subscriptionConfig": [],
"tenantId": "<tenant_id>",
"templateId": "SEVERE_WEATHER_LAYOUT_TEMPLATE"
}
Severe weather tab - dashboard-severe-weather-v3.json
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe
- Details - widget-detail-severe-weather-details.json
- Details map - widget-detail-severe-weather-map-v2.json
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/layout_templates
Severe weather detail page - page-detail-severe-weather.json