Changes between Version 20 and Version 21 of UserGuidelines/SAMBRO/Implement


Ignore:
Timestamp:
08/27/15 13:32:45 (8 years ago)
Author:
Biplov Bhandari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/SAMBRO/Implement

    v20 v21  
    7070===== Priority =====
    7171
    72 In the modules/templates/SAMBRO/Demo, there is cap_warning_priority.csv file. This file contains different columns for different data.[[BR]]
    73 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]]
    74 The 'Event Code' is the code(key) for the particular event.[[BR]]
     72Warning Priority can be created and updated only by '''Admin''' . Some basic understanding of terms is required for Warning Priority as:[[BR]][[BR]]
     73'Priority Rank' : It 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]]
     74'Event Code' : This is the code(key) for the particular event.[[BR]]
    7575The '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]]
    76 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]]
     76The 'Event Type' is the name of the standard Eden Event Type . These are available at /eden/event/event_type (The 'Event Type' should be exactly same as in /eden/event/event_type - case sensitive). For those events which are not in /eden/event/event_type but having the warning priority, you can create the event type using /eden/event/event_type/create. For those events that does not have warning priority, you can use Event Type as 'others' and this will use the default options for priority (Urgent, High and Low) - value for '''Urgency''', '''Severity''' and '''Certainty''' can be viewed at /eden/cap/warning_priority. You can change them.[[BR]][[BR]]
    7777The 'Urgency' value can be one of:[[BR]]
    7878- "Immediate" - (meaning) Responsive action SHOULD be taken immediately
     
    9494- "Unknown" - (meaning) Certainty unknown
    9595The 'Color Code' is the color for the priority, for eg. for priority 1, the color code could be 'red'.[[BR]]
    96 'Name' along with 'Urgency', 'Severity' and 'Certainty' are compulsory field.
     96'Name' along with 'Urgency', 'Severity' and 'Certainty' are compulsory field.[[BR]][[BR]]
    9797
    98 '''You can always go to eden/cap/warning_priority and began to fill in the details. You can only access this via Admin Role'''
     98There are two ways to create the '''Warning Priority''' for a particular '''Event Type'''[[BR]][[BR]]
    9999
     100a) The first way is through CSV file. In the browser address bar, go to /eden/cap/warning_priority/import (or /sambro/cap/warning_priority/import [a/c to the app name]). There you can see '''''Download Template''''' link. Click on that, and it will be downloaded. If you open up that csv, you will see different columns. The meaning is explained above. Now fill in the csv file. Click '''''Choose File''''. Go to the csv file that you filled and click '''''Submit''''.[[BR]][[BR]]
     101
     102[[Image(http://i.imgur.com/Rq5hxJS.png)]][[BR]][[BR]]
     103
     104If everything, goes right you will see something like image below (i.e. without any warning/ error in the error column). Click on '''''Import''''' and its done.[[BR]][[BR]]
     105
     106[[Image(http://i.imgur.com/op29vNc.png)]][[BR]][[BR]]
     107
     108If the value does not match the referred value above on any column or the type does not match or any other mistake can cause some error in the data import (may look as image below). You may want to go to csv file to check or just click '''''Import''''', that will import the records without error and ignore those records with error. [[BR]][[BR]]
     109
     110[[Image(http://i.imgur.com/7NX84Eq.png)]][[BR]][[BR]]
     111
     112b) The next way to create '''Warning Priority''' is to go to /eden/cap/warning_priority/create. Fill the information as explained above and click '''''Save''''' button at the end.[[BR]][[BR]]
     113
     114[[Image(http://i.imgur.com/EAvvh8T.png)]][[BR]][[BR]]
    100115===== Onset =====
    101116