![]() |
![]() |
||
![]() |
| Site Map | News | Organization |
To demonstrate the impact of order of operations using add, delete and/or move functions, we compared the difference of correction factors using different orders of operations to get the same locations of break points. Let us assume there are 4 break points (x1,x2,x3,x4) and the corresponding correction factors are f1,f2,f3,f4 and f5 respectively. The plot starts out as follows:
We wish to end up with a plot that looks as follows:
There are 3 ways we could achieve this, 1) by moving break point x2, 2) by adding a break point at the new position and then deleting break point x2, and 3) by deleting break point x2 and adding a new break point at the new position. These 3 options could result in different correction factors for the segments as can be seen as follows:
Option 1: Moving the break point
Before moving break point x2
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x2 | f2 |
| 3 | x2 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
After moving break point x2
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | new x2 | f2 |
| 3 | new x2 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
Option 2: Adding the break point x5 and deleting the break point x2
Before doing any operations
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x2 | f2 |
| 3 | x2 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
After adding break point x5
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x2 | f2 |
| 3 | x2 | x5 | f3 |
| 6 | x5 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
After deleting break point x2
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x5 | f2 |
| 6 | x5 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
Option 3: Deleting the break point x2 and adding the break point x5
Before doing any operations
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x2 | f2 |
| 3 | x2 | x3 | f3 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
After deleting break point x2
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x3 | f2 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
After adding break point x5
| Segment Id | Starting Point | Ending Point | Correction Factor |
|---|---|---|---|
| 1 | 0 | x1 | f1 |
| 2 | x1 | x5 | f2 |
| 6 | x5 | x3 | f2 |
| 4 | x3 | x4 | f4 |
| 5 | x4 | end | f5 |
|
US Department of Commerce National Oceanic and Atmospheric Administration National Weather Service Office of Hydrologic Development 1325 East West Highway Silver Spring, MD 20910 Page Author: OHD webmaster Page last modified: August 24, 2006 |
Disclaimer Credits Glossary |
Privacy Policy About Us Career Opportunities |