@speleotica/frcsdata 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/FrcsPlotFile.js +5 -1
  2. package/FrcsPlotShot.js +5 -1
  3. package/FrcsShot.js +4 -5
  4. package/FrcsSurveyFile.js +5 -1
  5. package/FrcsTrip.js +5 -1
  6. package/FrcsTripSummary.js +5 -1
  7. package/FrcsTripSummaryFile.js +5 -1
  8. package/es/FrcsPlotFile.js +5 -1
  9. package/es/FrcsPlotShot.js +5 -1
  10. package/es/FrcsShot.js +5 -6
  11. package/es/FrcsSurveyFile.js +5 -1
  12. package/es/FrcsTrip.js +5 -1
  13. package/es/FrcsTripSummary.js +5 -1
  14. package/es/FrcsTripSummaryFile.js +5 -1
  15. package/es/formatFrcsShot.js +5 -19
  16. package/es/formatFrcsShot.spec.js +8 -17
  17. package/es/index.js +21 -33
  18. package/es/node/index.js +2 -10
  19. package/es/node/parseFrcsPlotFile.spec.js +1 -5
  20. package/es/node/parseFrcsSurveyFile.spec.js +2 -6
  21. package/es/node/parseFrcsTripSummaryFile.spec.js +1 -5
  22. package/es/parseFrcsPlotFile.js +1 -26
  23. package/es/parseFrcsSurveyFile.js +73 -96
  24. package/es/parseFrcsTripSummaryFile.js +1 -12
  25. package/es/string/index.js +2 -9
  26. package/es/string/parseFrcsPlotFile.spec.js +1 -5
  27. package/es/string/parseFrcsSurveyFile.spec.js +18 -16
  28. package/formatFrcsShot.js +5 -19
  29. package/formatFrcsShot.spec.js +4 -15
  30. package/index.js +20 -32
  31. package/node/index.js +1 -9
  32. package/node/parseFrcsPlotFile.spec.js +165 -180
  33. package/node/parseFrcsSurveyFile.spec.js +306 -321
  34. package/node/parseFrcsTripSummaryFile.spec.js +83 -106
  35. package/package.json +15 -15
  36. package/parseFrcsPlotFile.js +224 -318
  37. package/parseFrcsSurveyFile.js +437 -452
  38. package/parseFrcsTripSummaryFile.js +102 -142
  39. package/string/index.js +10 -27
  40. package/string/parseFrcsPlotFile.spec.js +165 -180
  41. package/string/parseFrcsSurveyFile.spec.js +604 -689
  42. package/yarn.lock +1285 -702
@@ -1,342 +1,327 @@
1
1
  "use strict";
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
4
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
6
-
7
5
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
8
-
9
6
  var _mocha = require("mocha");
10
-
11
7
  var _index = require("./index");
12
-
13
8
  var _unitized = require("@speleotica/unitized");
14
-
15
9
  var _chai = require("chai");
16
-
17
10
  var _FrcsShot = require("../FrcsShot");
18
-
19
11
  /* eslint-env node */
12
+
20
13
  (0, _mocha.describe)('parseFrcsSurveyFile', function () {
21
- (0, _mocha.it)('basic test',
22
- /*#__PURE__*/
23
- (0, _asyncToGenerator2["default"])(
24
- /*#__PURE__*/
25
- _regenerator["default"].mark(function _callee() {
14
+ (0, _mocha.it)('basic test', /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
26
15
  var parsed;
27
16
  return _regenerator["default"].wrap(function _callee$(_context) {
28
- while (1) {
29
- switch (_context.prev = _context.next) {
30
- case 0:
31
- _context.next = 2;
32
- return (0, _index.parseFrcsSurveyFile)(require.resolve('./cdata.fr'));
33
-
34
- case 2:
35
- parsed = _context.sent;
36
- (0, _chai.expect)(parsed).to.deep.equal({
37
- cave: 'Fisher Ridge Cave System',
38
- errors: [],
39
- location: 'Hart Co., KY',
40
- trips: [{
41
- header: {
42
- name: 'ENTRANCE DROPS, JOE\'S "I LOVE MY WIFE TRAVERSE", TRICKY TRAVERSE',
43
- comment: 'This File has Crumps test connected. 11/20/12',
44
- section: undefined,
45
- date: undefined,
46
- team: undefined,
47
- distanceUnit: _unitized.Length.feet,
48
- azimuthUnit: _unitized.Angle.degrees,
49
- inclinationUnit: _unitized.Angle.degrees,
50
- backsightAzimuthCorrected: true,
51
- backsightInclinationCorrected: false,
52
- hasBacksightAzimuth: true,
53
- hasBacksightInclination: false
54
- },
55
- shots: [{
56
- backsightAzimuth: null,
57
- backsightInclination: null,
58
- comment: null,
59
- distance: _unitized.Unitize.feet(0),
60
- excludeDistance: true,
61
- from: 'AE20',
62
- frontsightAzimuth: null,
63
- frontsightInclination: null,
64
- kind: _FrcsShot.FrcsShotKind.Normal,
65
- to: null,
66
- fromLruds: {
67
- left: _unitized.Unitize.feet(1),
68
- right: _unitized.Unitize.feet(3),
69
- up: _unitized.Unitize.feet(0),
70
- down: _unitized.Unitize.feet(2)
71
- }
72
- }, {
73
- from: 'AE20',
74
- to: 'AE19',
75
- kind: _FrcsShot.FrcsShotKind.Normal,
76
- distance: _unitized.Unitize.feet(9.3),
77
- frontsightAzimuth: _unitized.Unitize.degrees(60),
78
- backsightAzimuth: _unitized.Unitize.degrees(60),
79
- frontsightInclination: _unitized.Unitize.degrees(-36),
80
- backsightInclination: null,
81
- excludeDistance: false,
82
- comment: "AE20 0 0 0 Bug-can't put before so put after-so can't make 2 fixed 10/28/12",
83
- toLruds: {
84
- left: _unitized.Unitize.feet(2),
85
- right: _unitized.Unitize.feet(12),
86
- up: _unitized.Unitize.feet(0),
87
- down: _unitized.Unitize.feet(20)
88
- }
89
- }, {
90
- from: 'AE19',
91
- to: 'AE18',
92
- kind: _FrcsShot.FrcsShotKind.Normal,
93
- distance: _unitized.Unitize.feet(24.5),
94
- frontsightAzimuth: _unitized.Unitize.degrees(0),
95
- backsightAzimuth: _unitized.Unitize.degrees(0),
96
- frontsightInclination: _unitized.Unitize.degrees(-90),
97
- backsightInclination: null,
98
- excludeDistance: false,
99
- comment: null,
100
- toLruds: {
101
- left: _unitized.Unitize.feet(6),
102
- right: _unitized.Unitize.feet(10),
103
- up: _unitized.Unitize.feet(25),
104
- down: _unitized.Unitize.feet(0)
105
- }
106
- }, {
107
- from: 'AE18',
108
- to: 'AE17',
109
- kind: _FrcsShot.FrcsShotKind.Normal,
110
- distance: _unitized.Unitize.feet(8),
111
- frontsightAzimuth: _unitized.Unitize.degrees(350.5),
112
- backsightAzimuth: _unitized.Unitize.degrees(350.5),
113
- frontsightInclination: _unitized.Unitize.degrees(17),
114
- backsightInclination: null,
115
- excludeDistance: false,
116
- comment: null,
117
- toLruds: {
118
- left: _unitized.Unitize.feet(3),
119
- right: _unitized.Unitize.feet(5),
120
- up: _unitized.Unitize.feet(0),
121
- down: _unitized.Unitize.feet(0)
122
- }
123
- }, {
124
- from: 'AE17',
125
- to: 'AE16',
126
- kind: _FrcsShot.FrcsShotKind.Normal,
127
- distance: _unitized.Unitize.feet(6.7),
128
- frontsightAzimuth: _unitized.Unitize.degrees(0),
129
- backsightAzimuth: _unitized.Unitize.degrees(0),
130
- frontsightInclination: _unitized.Unitize.degrees(-90),
131
- backsightInclination: null,
132
- excludeDistance: false,
133
- comment: null,
134
- toLruds: {
135
- left: _unitized.Unitize.feet(3),
136
- right: _unitized.Unitize.feet(5),
137
- up: _unitized.Unitize.feet(6),
138
- down: _unitized.Unitize.feet(1)
139
- }
140
- }, {
141
- from: 'AE16',
142
- to: 'AE15',
143
- kind: _FrcsShot.FrcsShotKind.Normal,
144
- distance: _unitized.Unitize.feet(12.6),
145
- frontsightAzimuth: _unitized.Unitize.degrees(70.5),
146
- backsightAzimuth: _unitized.Unitize.degrees(71),
147
- frontsightInclination: _unitized.Unitize.degrees(-18),
148
- backsightInclination: null,
149
- excludeDistance: false,
150
- comment: null,
151
- toLruds: {
152
- left: _unitized.Unitize.feet(4),
153
- right: _unitized.Unitize.feet(0),
154
- up: _unitized.Unitize.feet(2),
155
- down: _unitized.Unitize.feet(1)
156
- }
157
- }, {
158
- from: 'AE15',
159
- to: 'AE14',
160
- kind: _FrcsShot.FrcsShotKind.Normal,
161
- distance: _unitized.Unitize.feet(10),
162
- frontsightAzimuth: _unitized.Unitize.degrees(21.5),
163
- backsightAzimuth: _unitized.Unitize.degrees(20),
164
- frontsightInclination: _unitized.Unitize.degrees(6),
165
- backsightInclination: null,
166
- excludeDistance: false,
167
- comment: null,
168
- toLruds: {
169
- left: _unitized.Unitize.feet(5),
170
- right: _unitized.Unitize.feet(5),
171
- up: _unitized.Unitize.feet(0),
172
- down: _unitized.Unitize.feet(3)
173
- }
174
- }, {
175
- from: 'AE14',
176
- to: 'AE13',
177
- kind: _FrcsShot.FrcsShotKind.Normal,
178
- distance: _unitized.Unitize.feet(26.8),
179
- frontsightAzimuth: _unitized.Unitize.degrees(288),
180
- backsightAzimuth: _unitized.Unitize.degrees(286),
181
- frontsightInclination: _unitized.Unitize.degrees(-50),
182
- backsightInclination: null,
183
- excludeDistance: false,
184
- comment: null,
185
- toLruds: {
186
- left: _unitized.Unitize.feet(0),
187
- right: _unitized.Unitize.feet(7),
188
- up: _unitized.Unitize.feet(20),
189
- down: _unitized.Unitize.feet(5)
190
- }
191
- }, {
192
- from: 'AE13',
193
- to: 'AE12',
194
- kind: _FrcsShot.FrcsShotKind.Normal,
195
- distance: _unitized.Unitize.feet(20.7),
196
- frontsightAzimuth: _unitized.Unitize.degrees(236),
197
- backsightAzimuth: _unitized.Unitize.degrees(236),
198
- frontsightInclination: _unitized.Unitize.degrees(34),
199
- backsightInclination: null,
200
- excludeDistance: false,
201
- comment: 'SHORT CANYON AT THE BASE OF THE SECOND DROP',
202
- toLruds: {
203
- left: _unitized.Unitize.feet(3),
204
- right: _unitized.Unitize.feet(5),
205
- up: _unitized.Unitize.feet(4),
206
- down: _unitized.Unitize.feet(4)
207
- }
208
- }]
17
+ while (1) switch (_context.prev = _context.next) {
18
+ case 0:
19
+ _context.next = 2;
20
+ return (0, _index.parseFrcsSurveyFile)(require.resolve('./cdata.fr'));
21
+ case 2:
22
+ parsed = _context.sent;
23
+ (0, _chai.expect)(parsed).to.deep.equal({
24
+ cave: 'Fisher Ridge Cave System',
25
+ errors: [],
26
+ location: 'Hart Co., KY',
27
+ trips: [{
28
+ header: {
29
+ name: 'ENTRANCE DROPS, JOE\'S "I LOVE MY WIFE TRAVERSE", TRICKY TRAVERSE',
30
+ comment: 'This File has Crumps test connected. 11/20/12',
31
+ section: undefined,
32
+ date: undefined,
33
+ team: undefined,
34
+ distanceUnit: _unitized.Length.feet,
35
+ azimuthUnit: _unitized.Angle.degrees,
36
+ inclinationUnit: _unitized.Angle.degrees,
37
+ backsightAzimuthCorrected: true,
38
+ backsightInclinationCorrected: false,
39
+ hasBacksightAzimuth: true,
40
+ hasBacksightInclination: false
41
+ },
42
+ shots: [{
43
+ backsightAzimuth: null,
44
+ backsightInclination: null,
45
+ comment: null,
46
+ distance: _unitized.Unitize.feet(0),
47
+ excludeDistance: true,
48
+ from: 'AE20',
49
+ frontsightAzimuth: null,
50
+ frontsightInclination: null,
51
+ kind: _FrcsShot.FrcsShotKind.Normal,
52
+ to: null,
53
+ fromLruds: {
54
+ left: _unitized.Unitize.feet(1),
55
+ right: _unitized.Unitize.feet(3),
56
+ up: _unitized.Unitize.feet(0),
57
+ down: _unitized.Unitize.feet(2)
58
+ }
209
59
  }, {
210
- header: {
211
- name: 'TRICKY TRAVERSE AND THEN FIRST SURVEY IN UPPER CROWLWAY',
212
- comment: null,
213
- section: undefined,
214
- date: undefined,
215
- team: undefined,
216
- distanceUnit: _unitized.Length.inches,
217
- azimuthUnit: _unitized.Angle.degrees,
218
- inclinationUnit: _unitized.Angle.degrees,
219
- backsightAzimuthCorrected: false,
220
- backsightInclinationCorrected: false,
221
- hasBacksightAzimuth: true,
222
- hasBacksightInclination: false
223
- },
224
- shots: [{
225
- from: 'A1',
226
- to: 'A2',
227
- kind: _FrcsShot.FrcsShotKind.Normal,
228
- distance: _unitized.Unitize.inches(48 * 12 + 10),
229
- frontsightAzimuth: _unitized.Unitize.degrees(292),
230
- backsightAzimuth: _unitized.Unitize.degrees(110),
231
- frontsightInclination: _unitized.Unitize.degrees(-42),
232
- backsightInclination: null,
233
- excludeDistance: false,
234
- comment: null,
235
- fromLruds: {
236
- left: _unitized.Unitize.feet(2),
237
- right: _unitized.Unitize.feet(7),
238
- up: _unitized.Unitize.feet(3),
239
- down: _unitized.Unitize.feet(4.5)
240
- },
241
- toLruds: {
242
- left: _unitized.Unitize.feet(5),
243
- right: _unitized.Unitize.feet(10),
244
- up: _unitized.Unitize.feet(35),
245
- down: _unitized.Unitize.feet(5)
246
- }
247
- }, {
248
- from: 'A2',
249
- to: 'A3',
250
- kind: _FrcsShot.FrcsShotKind.Normal,
251
- distance: _unitized.Unitize.inches(12 * 12 + 5),
252
- frontsightAzimuth: _unitized.Unitize.degrees(333.5),
253
- backsightAzimuth: _unitized.Unitize.degrees(153.5),
254
- frontsightInclination: _unitized.Unitize.degrees(35),
255
- backsightInclination: null,
256
- excludeDistance: false,
257
- comment: null,
258
- toLruds: {
259
- left: _unitized.Unitize.feet(3),
260
- right: _unitized.Unitize.feet(1),
261
- up: _unitized.Unitize.feet(15),
262
- down: _unitized.Unitize.feet(5)
263
- }
264
- }, {
265
- from: 'A3',
266
- to: 'A4',
267
- kind: _FrcsShot.FrcsShotKind.Normal,
268
- distance: _unitized.Unitize.inches(4 * 12 + 2),
269
- frontsightAzimuth: _unitized.Unitize.degrees(0),
270
- backsightAzimuth: _unitized.Unitize.degrees(0),
271
- frontsightInclination: _unitized.Unitize.degrees(90),
272
- backsightInclination: null,
273
- excludeDistance: false,
274
- comment: null,
275
- toLruds: {
276
- left: _unitized.Unitize.feet(3),
277
- right: _unitized.Unitize.feet(1),
278
- up: _unitized.Unitize.feet(10),
279
- down: _unitized.Unitize.feet(10)
280
- }
281
- }]
60
+ from: 'AE20',
61
+ to: 'AE19',
62
+ kind: _FrcsShot.FrcsShotKind.Normal,
63
+ distance: _unitized.Unitize.feet(9.3),
64
+ frontsightAzimuth: _unitized.Unitize.degrees(60),
65
+ backsightAzimuth: _unitized.Unitize.degrees(60),
66
+ frontsightInclination: _unitized.Unitize.degrees(-36),
67
+ backsightInclination: null,
68
+ excludeDistance: false,
69
+ comment: "AE20 0 0 0 Bug-can't put before so put after-so can't make 2 fixed 10/28/12",
70
+ toLruds: {
71
+ left: _unitized.Unitize.feet(2),
72
+ right: _unitized.Unitize.feet(12),
73
+ up: _unitized.Unitize.feet(0),
74
+ down: _unitized.Unitize.feet(20)
75
+ }
282
76
  }, {
283
- header: {
284
- azimuthUnit: _unitized.Angle.degrees,
285
- backsightAzimuthCorrected: true,
286
- backsightInclinationCorrected: false,
287
- comment: null,
288
- date: undefined,
289
- distanceUnit: _unitized.Length.feet,
290
- hasBacksightAzimuth: true,
291
- hasBacksightInclination: false,
292
- inclinationUnit: _unitized.Angle.degrees,
293
- name: "DOUG'S DEMISE (50 FT DROP), CHRIS CROSS, CRAWL ABOVE DROP",
294
- section: undefined,
295
- team: undefined
77
+ from: 'AE19',
78
+ to: 'AE18',
79
+ kind: _FrcsShot.FrcsShotKind.Normal,
80
+ distance: _unitized.Unitize.feet(24.5),
81
+ frontsightAzimuth: _unitized.Unitize.degrees(0),
82
+ backsightAzimuth: _unitized.Unitize.degrees(0),
83
+ frontsightInclination: _unitized.Unitize.degrees(-90),
84
+ backsightInclination: null,
85
+ excludeDistance: false,
86
+ comment: null,
87
+ toLruds: {
88
+ left: _unitized.Unitize.feet(6),
89
+ right: _unitized.Unitize.feet(10),
90
+ up: _unitized.Unitize.feet(25),
91
+ down: _unitized.Unitize.feet(0)
92
+ }
93
+ }, {
94
+ from: 'AE18',
95
+ to: 'AE17',
96
+ kind: _FrcsShot.FrcsShotKind.Normal,
97
+ distance: _unitized.Unitize.feet(8),
98
+ frontsightAzimuth: _unitized.Unitize.degrees(350.5),
99
+ backsightAzimuth: _unitized.Unitize.degrees(350.5),
100
+ frontsightInclination: _unitized.Unitize.degrees(17),
101
+ backsightInclination: null,
102
+ excludeDistance: false,
103
+ comment: null,
104
+ toLruds: {
105
+ left: _unitized.Unitize.feet(3),
106
+ right: _unitized.Unitize.feet(5),
107
+ up: _unitized.Unitize.feet(0),
108
+ down: _unitized.Unitize.feet(0)
109
+ }
110
+ }, {
111
+ from: 'AE17',
112
+ to: 'AE16',
113
+ kind: _FrcsShot.FrcsShotKind.Normal,
114
+ distance: _unitized.Unitize.feet(6.7),
115
+ frontsightAzimuth: _unitized.Unitize.degrees(0),
116
+ backsightAzimuth: _unitized.Unitize.degrees(0),
117
+ frontsightInclination: _unitized.Unitize.degrees(-90),
118
+ backsightInclination: null,
119
+ excludeDistance: false,
120
+ comment: null,
121
+ toLruds: {
122
+ left: _unitized.Unitize.feet(3),
123
+ right: _unitized.Unitize.feet(5),
124
+ up: _unitized.Unitize.feet(6),
125
+ down: _unitized.Unitize.feet(1)
126
+ }
127
+ }, {
128
+ from: 'AE16',
129
+ to: 'AE15',
130
+ kind: _FrcsShot.FrcsShotKind.Normal,
131
+ distance: _unitized.Unitize.feet(12.6),
132
+ frontsightAzimuth: _unitized.Unitize.degrees(70.5),
133
+ backsightAzimuth: _unitized.Unitize.degrees(71),
134
+ frontsightInclination: _unitized.Unitize.degrees(-18),
135
+ backsightInclination: null,
136
+ excludeDistance: false,
137
+ comment: null,
138
+ toLruds: {
139
+ left: _unitized.Unitize.feet(4),
140
+ right: _unitized.Unitize.feet(0),
141
+ up: _unitized.Unitize.feet(2),
142
+ down: _unitized.Unitize.feet(1)
143
+ }
144
+ }, {
145
+ from: 'AE15',
146
+ to: 'AE14',
147
+ kind: _FrcsShot.FrcsShotKind.Normal,
148
+ distance: _unitized.Unitize.feet(10),
149
+ frontsightAzimuth: _unitized.Unitize.degrees(21.5),
150
+ backsightAzimuth: _unitized.Unitize.degrees(20),
151
+ frontsightInclination: _unitized.Unitize.degrees(6),
152
+ backsightInclination: null,
153
+ excludeDistance: false,
154
+ comment: null,
155
+ toLruds: {
156
+ left: _unitized.Unitize.feet(5),
157
+ right: _unitized.Unitize.feet(5),
158
+ up: _unitized.Unitize.feet(0),
159
+ down: _unitized.Unitize.feet(3)
160
+ }
161
+ }, {
162
+ from: 'AE14',
163
+ to: 'AE13',
164
+ kind: _FrcsShot.FrcsShotKind.Normal,
165
+ distance: _unitized.Unitize.feet(26.8),
166
+ frontsightAzimuth: _unitized.Unitize.degrees(288),
167
+ backsightAzimuth: _unitized.Unitize.degrees(286),
168
+ frontsightInclination: _unitized.Unitize.degrees(-50),
169
+ backsightInclination: null,
170
+ excludeDistance: false,
171
+ comment: null,
172
+ toLruds: {
173
+ left: _unitized.Unitize.feet(0),
174
+ right: _unitized.Unitize.feet(7),
175
+ up: _unitized.Unitize.feet(20),
176
+ down: _unitized.Unitize.feet(5)
177
+ }
178
+ }, {
179
+ from: 'AE13',
180
+ to: 'AE12',
181
+ kind: _FrcsShot.FrcsShotKind.Normal,
182
+ distance: _unitized.Unitize.feet(20.7),
183
+ frontsightAzimuth: _unitized.Unitize.degrees(236),
184
+ backsightAzimuth: _unitized.Unitize.degrees(236),
185
+ frontsightInclination: _unitized.Unitize.degrees(34),
186
+ backsightInclination: null,
187
+ excludeDistance: false,
188
+ comment: 'SHORT CANYON AT THE BASE OF THE SECOND DROP',
189
+ toLruds: {
190
+ left: _unitized.Unitize.feet(3),
191
+ right: _unitized.Unitize.feet(5),
192
+ up: _unitized.Unitize.feet(4),
193
+ down: _unitized.Unitize.feet(4)
194
+ }
195
+ }]
196
+ }, {
197
+ header: {
198
+ name: 'TRICKY TRAVERSE AND THEN FIRST SURVEY IN UPPER CROWLWAY',
199
+ comment: null,
200
+ section: undefined,
201
+ date: undefined,
202
+ team: undefined,
203
+ distanceUnit: _unitized.Length.inches,
204
+ azimuthUnit: _unitized.Angle.degrees,
205
+ inclinationUnit: _unitized.Angle.degrees,
206
+ backsightAzimuthCorrected: false,
207
+ backsightInclinationCorrected: false,
208
+ hasBacksightAzimuth: true,
209
+ hasBacksightInclination: false
210
+ },
211
+ shots: [{
212
+ from: 'A1',
213
+ to: 'A2',
214
+ kind: _FrcsShot.FrcsShotKind.Normal,
215
+ distance: _unitized.Unitize.inches(48 * 12 + 10),
216
+ frontsightAzimuth: _unitized.Unitize.degrees(292),
217
+ backsightAzimuth: _unitized.Unitize.degrees(110),
218
+ frontsightInclination: _unitized.Unitize.degrees(-42),
219
+ backsightInclination: null,
220
+ excludeDistance: false,
221
+ comment: null,
222
+ fromLruds: {
223
+ left: _unitized.Unitize.feet(2),
224
+ right: _unitized.Unitize.feet(7),
225
+ up: _unitized.Unitize.feet(3),
226
+ down: _unitized.Unitize.feet(4.5)
296
227
  },
297
- shots: [{
298
- backsightAzimuth: _unitized.Unitize.degrees(0),
299
- backsightInclination: null,
300
- comment: null,
301
- distance: _unitized.Unitize.feet(13.7),
302
- excludeDistance: false,
303
- from: 'B30',
304
- frontsightAzimuth: _unitized.Unitize.degrees(0),
305
- frontsightInclination: _unitized.Unitize.degrees(40),
306
- kind: ' ',
307
- to: 'B31',
308
- toLruds: {
309
- left: _unitized.Unitize.feet(2),
310
- right: _unitized.Unitize.feet(4),
311
- up: _unitized.Unitize.feet(6),
312
- down: null
313
- }
314
- }, {
315
- backsightAzimuth: _unitized.Unitize.degrees(0),
316
- backsightInclination: null,
317
- comment: null,
318
- distance: _unitized.Unitize.feet(13.7),
319
- excludeDistance: true,
320
- isSplay: true,
321
- from: 'B30',
322
- frontsightAzimuth: _unitized.Unitize.degrees(0),
323
- frontsightInclination: _unitized.Unitize.degrees(40),
324
- kind: ' ',
325
- to: 'B30sp',
326
- toLruds: {
327
- left: _unitized.Unitize.feet(2),
328
- right: _unitized.Unitize.feet(4),
329
- up: _unitized.Unitize.feet(6),
330
- down: null
331
- }
332
- }]
228
+ toLruds: {
229
+ left: _unitized.Unitize.feet(5),
230
+ right: _unitized.Unitize.feet(10),
231
+ up: _unitized.Unitize.feet(35),
232
+ down: _unitized.Unitize.feet(5)
233
+ }
234
+ }, {
235
+ from: 'A2',
236
+ to: 'A3',
237
+ kind: _FrcsShot.FrcsShotKind.Normal,
238
+ distance: _unitized.Unitize.inches(12 * 12 + 5),
239
+ frontsightAzimuth: _unitized.Unitize.degrees(333.5),
240
+ backsightAzimuth: _unitized.Unitize.degrees(153.5),
241
+ frontsightInclination: _unitized.Unitize.degrees(35),
242
+ backsightInclination: null,
243
+ excludeDistance: false,
244
+ comment: null,
245
+ toLruds: {
246
+ left: _unitized.Unitize.feet(3),
247
+ right: _unitized.Unitize.feet(1),
248
+ up: _unitized.Unitize.feet(15),
249
+ down: _unitized.Unitize.feet(5)
250
+ }
251
+ }, {
252
+ from: 'A3',
253
+ to: 'A4',
254
+ kind: _FrcsShot.FrcsShotKind.Normal,
255
+ distance: _unitized.Unitize.inches(4 * 12 + 2),
256
+ frontsightAzimuth: _unitized.Unitize.degrees(0),
257
+ backsightAzimuth: _unitized.Unitize.degrees(0),
258
+ frontsightInclination: _unitized.Unitize.degrees(90),
259
+ backsightInclination: null,
260
+ excludeDistance: false,
261
+ comment: null,
262
+ toLruds: {
263
+ left: _unitized.Unitize.feet(3),
264
+ right: _unitized.Unitize.feet(1),
265
+ up: _unitized.Unitize.feet(10),
266
+ down: _unitized.Unitize.feet(10)
267
+ }
333
268
  }]
334
- });
335
-
336
- case 4:
337
- case "end":
338
- return _context.stop();
339
- }
269
+ }, {
270
+ header: {
271
+ azimuthUnit: _unitized.Angle.degrees,
272
+ backsightAzimuthCorrected: true,
273
+ backsightInclinationCorrected: false,
274
+ comment: null,
275
+ date: undefined,
276
+ distanceUnit: _unitized.Length.feet,
277
+ hasBacksightAzimuth: true,
278
+ hasBacksightInclination: false,
279
+ inclinationUnit: _unitized.Angle.degrees,
280
+ name: "DOUG'S DEMISE (50 FT DROP), CHRIS CROSS, CRAWL ABOVE DROP",
281
+ section: undefined,
282
+ team: undefined
283
+ },
284
+ shots: [{
285
+ backsightAzimuth: _unitized.Unitize.degrees(0),
286
+ backsightInclination: null,
287
+ comment: null,
288
+ distance: _unitized.Unitize.feet(13.7),
289
+ excludeDistance: false,
290
+ from: 'B30',
291
+ frontsightAzimuth: _unitized.Unitize.degrees(0),
292
+ frontsightInclination: _unitized.Unitize.degrees(40),
293
+ kind: ' ',
294
+ to: 'B31',
295
+ toLruds: {
296
+ left: _unitized.Unitize.feet(2),
297
+ right: _unitized.Unitize.feet(4),
298
+ up: _unitized.Unitize.feet(6),
299
+ down: null
300
+ }
301
+ }, {
302
+ backsightAzimuth: _unitized.Unitize.degrees(0),
303
+ backsightInclination: null,
304
+ comment: null,
305
+ distance: _unitized.Unitize.feet(13.7),
306
+ excludeDistance: true,
307
+ isSplay: true,
308
+ from: 'B30',
309
+ frontsightAzimuth: _unitized.Unitize.degrees(0),
310
+ frontsightInclination: _unitized.Unitize.degrees(40),
311
+ kind: ' ',
312
+ to: 'B30sp',
313
+ toLruds: {
314
+ left: _unitized.Unitize.feet(2),
315
+ right: _unitized.Unitize.feet(4),
316
+ up: _unitized.Unitize.feet(6),
317
+ down: null
318
+ }
319
+ }]
320
+ }]
321
+ });
322
+ case 4:
323
+ case "end":
324
+ return _context.stop();
340
325
  }
341
326
  }, _callee);
342
327
  })));