1 | | = Configure SAMBRO = |
2 | | [[TOC]] |
3 | | |
4 | | == Purpose == |
5 | | A configuration is specific to an implementation. It could be a country context or an organization context implementation. This document walks you through the necessary parameters that must be defined for the specific CAP messaging procedures and workflows |
6 | | |
7 | | == List of elements to configure == |
8 | | |
9 | | === Identifier === |
10 | | |
11 | | |
12 | | In your eden directory, go to models/ and open 000_config.py with notepad or any other text editing software. If you scroll down, there's a line called CAP Settings. You can directly search (using CTRL + F). [[BR]] |
13 | | There are options for configuring prefix, OID and suffix. By default, it looks like this: |
14 | | |
15 | | settings.cap.identifier_prefix = "PAGASA-DOST" [[BR]] |
16 | | settings.cap.identifier_oid = "2.49.0.0.608.0" [[BR]] |
17 | | settings.cap.identifier_suffix = "alert" [[BR]] |
18 | | |
19 | | You can configure the prefix, oid and suffix according to your organisation. |
20 | | |
21 | | For national authority, see http://alerting.worldweather.org/ |
22 | | === Priority === |
23 | | In the modules/templates/SAMBRO/Demo, there is cap_warning_priority.csv file. This file contains different columns for different data.[[BR]] |
24 | | The 'Priority Rank' is used to enumerate the priority for the event, for example (1, Signal 1), (2, Signal 2)..., (5, Signal 5) to enumerate the priority for cyclone.[[BR]] |
25 | | The 'Event Code' is the code(key) for the particular event.[[BR]] |
26 | | The 'Name' here refers to the name of the priority. for example, Typhoons in Philippines have five priority name (PSWS# 1, PSWS# 2, PSWS# 3, PSWS# 4 and PSWS# 5) [[BR]][[BR]] |
27 | | The 'Event Type' is the name of the standard Eden Event type (also the name of the event from prepopulated CAP data). This is available at modules/templates/default/event_type.csv (The 'Event Type' should be exactly same as in event_type.csv - case sensitive). For those events which are not in this csv file, can use as 'others' and for different priority can assign different value of urgency, severity, and certainty (as in the default) [[BR]][[BR]] |
28 | | The 'Urgency' value can be one of:[[BR]] |
29 | | - "Immediate" - (meaning) Responsive action SHOULD be taken immediately |
30 | | - "Expected" - (meaning) Responsive action SHOULD be taken soon (within next hour) |
31 | | - "Future" - (meaning) Responsive action SHOULD be taken in the near future |
32 | | - "Past" - (meaning) Responsive action is no longer required |
33 | | - "Unknown" - (meaning) Urgency not known |
34 | | The 'Severity' value can be one of: [[BR]] |
35 | | - "Extreme" - (meaning) Extraordinary threat to life or property |
36 | | - "Severe" - (meaning) Significant threat to life or property |
37 | | - "Moderate" - (meaning) Possible threat to life or property |
38 | | - "Minor" – (meaning) Minimal to no known threat to life or property |
39 | | - "Unknown" - (meaning) Severity unknown |
40 | | The 'Certainty' value can be one of: [[BR]] |
41 | | - "Observed" – (meaning) Determined to have occurred or to be ongoing |
42 | | - "Likely" - (meaning) Likely (p > ~50%) |
43 | | - "Possible" - (meaning) Possible but not likely (p <= ~50%) |
44 | | - "Unlikely" - (meaning) Not expected to occur (p ~ 0) |
45 | | - "Unknown" - (meaning) Certainty unknown |
46 | | The 'Color Code' is the color for the priority, for eg. for priority 1, the color code could be 'red'.[[BR]] |
47 | | 'Name' along with 'Urgency', 'Severity' and 'Certainty' are compulsory field. |
48 | | |
49 | | '''You can always go to eden/cap/warning_priority and began to fill in the details. You can only access this via Admin Role''' |
50 | | === Onset === |
51 | | |
52 | | In your eden directory, go to models/ and open 000_config.py. Scroll down and you will see [[BR]] |
53 | | |
54 | | settings.cap.expire_offset = 2 |
55 | | |
56 | | This parameter is maintained to assign the default period to offset the expire date; i.e. effective + expire_offset. The default is 2 days. You can change the number of the period. With the offset, we trying to help speed up the data entry. |
| 1 | '''THIS PAGE has been moved to''' - [wiki:UserGuidelines/SAMBRO/Implement#Configure SAMBRO/Implement] |