-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
02 Parse Daily DOF.yxmd
231 lines (231 loc) · 13.2 KB
/
02 Parse Daily DOF.yxmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<?xml version="1.0"?>
<AlteryxDocument yxmdVer="2021.3">
<Nodes>
<Node ToolID="1">
<GuiSettings Plugin="AlteryxBasePluginsGui.DbFileInput.DbFileInput">
<Position x="102" y="150" />
</GuiSettings>
<Properties>
<Configuration>
<Passwords />
<File RecordLimit="" SearchSubDirs="False" FileFormat="0" OutputFileName="">%User.Source%\DOF.csv</File>
<FormatSpecificOptions>
<HeaderRow>True</HeaderRow>
<IgnoreErrors>False</IgnoreErrors>
<AllowShareWrite>False</AllowShareWrite>
<ImportLine>1</ImportLine>
<FieldLen>254</FieldLen>
<SingleThreadRead>False</SingleThreadRead>
<IgnoreQuotes>DoubleQuotes</IgnoreQuotes>
<Delimeter>,</Delimeter>
<QuoteRecordBreak>False</QuoteRecordBreak>
<CodePage>28591</CodePage>
</FormatSpecificOptions>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText>DOF.csv</DefaultAnnotationText>
<Left value="False" />
</Annotation>
<Dependencies>
<Implicit />
</Dependencies>
<MetaInfo connection="Output">
<RecordInfo>
<Field name="OAS" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="VERIFIED STATUS" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="COUNTRY" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="STATE" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="CITY" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="LATDEC" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="LONDEC" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="DMSLAT" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="DMSLON" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="TYPE" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="QUANTITY" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="AGL" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="AMSL" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="LIGHTING" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="ACCURACY" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="MARKING" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="FAA STUDY" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="ACTION" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
<Field name="JDATE" size="254" source="File: F:\repositories\us_airspace_data\DAILY_DOF_CSV\DOF.csv" type="V_String" />
</RecordInfo>
</MetaInfo>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileInput" />
</Node>
<Node ToolID="2">
<GuiSettings Plugin="AlteryxBasePluginsGui.DbFileOutput.DbFileOutput">
<Position x="390" y="150" />
</GuiSettings>
<Properties>
<Configuration>
<File FileFormat="19" MaxRecords="">%User.SaveTo%\DOF.yxdb</File>
<Passwords />
<FormatSpecificOptions>
<NoSpatialIndex>False</NoSpatialIndex>
<SaveSource>True</SaveSource>
<WriteCompatibleVersion>False</WriteCompatibleVersion>
</FormatSpecificOptions>
<MultiFile value="False" />
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText>DOF.yxdb</DefaultAnnotationText>
<Left value="False" />
</Annotation>
<Dependencies>
<Implicit />
</Dependencies>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxDbFileOutput" />
</Node>
<Node ToolID="3">
<GuiSettings Plugin="AlteryxBasePluginsGui.AlteryxSelect.AlteryxSelect">
<Position x="294" y="150" />
</GuiSettings>
<Properties>
<Configuration>
<OrderChanged value="True" />
<CommaDecimal value="False" />
<SelectFields>
<SelectField field="OAS" selected="True" rename="Obstacle Number" size="9" />
<SelectField field="VERIFIED STATUS" selected="True" rename="Verification Status" type="String" size="1" />
<SelectField field="Verification Status Name" selected="True" />
<SelectField field="COUNTRY" selected="True" rename="Country" type="String" size="2" />
<SelectField field="STATE" selected="True" rename="State" type="String" size="2" />
<SelectField field="CITY" selected="True" rename="City" size="40" />
<SelectField field="LATDEC" selected="True" rename="Latitude" type="FixedDecimal" size="12.7" />
<SelectField field="LONDEC" selected="True" rename="Longitude" type="FixedDecimal" size="12.7" />
<SelectField field="DMSLAT" selected="False" />
<SelectField field="DMSLON" selected="False" />
<SelectField field="TYPE" selected="True" rename="Obstacle Type" size="20" />
<SelectField field="QUANTITY" selected="True" rename="Quantity" type="Int64" size="8" />
<SelectField field="AGL" selected="True" rename="Height AGL" type="Int64" size="8" />
<SelectField field="AMSL" selected="True" rename="Height MSL" type="Int64" size="8" />
<SelectField field="LIGHTING" selected="True" rename="Type of Lighting" type="String" size="1" />
<SelectField field="Type of Lighting Description" selected="True" />
<SelectField field="ACCURACY" selected="True" rename="Accuracy Code" type="String" size="2" />
<SelectField field="Horizontal Accuracy" selected="True" />
<SelectField field="Vertical Accuracy" selected="True" />
<SelectField field="MARKING" selected="True" rename="Mark Indicator" type="String" size="1" />
<SelectField field="Marker Indicator Description" selected="True" />
<SelectField field="FAA STUDY" selected="True" rename="FAA Study Number" size="14" />
<SelectField field="ACTION" selected="True" rename="Action" type="String" size="1" />
<SelectField field="Action Description" selected="True" />
<SelectField field="JDATE" selected="False" rename="Date of Action" />
<SelectField field="Date of Action" selected="True" />
<SelectField field="*Unknown" selected="True" />
</SelectFields>
</Configuration>
<Annotation DisplayMode="0">
<Name />
<DefaultAnnotationText />
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxSelect" />
</Node>
<Node ToolID="4">
<GuiSettings Plugin="AlteryxBasePluginsGui.Formula.Formula">
<Position x="198" y="150" />
</GuiSettings>
<Properties>
<Configuration>
<FormulaFields>
<FormulaField expression="Switch(
 [VERIFIED STATUS], "Unknown",
 "", "",
 "O", "Verified",
 "U", "Unverified"
)" field="Verification Status Name" size="20" type="V_String" />
<FormulaField expression="Switch(
 [LIGHTING], "Unknown",
 "", "",
 "R", "Red",
 "D", "Medium intensity white strobe and red",
 "H", "High intensity white strobe and red",
 "M", "Medium intensity white strobe",
 "S", "High intensity white strobe",
 "F", "Flood",
 "C", "Dual medium catenary",
 "W", "Synchronized red lighting",
 "L", "Lighted (type unknown)",
 "N", "None",
 "U", "Unknown"
)" field="Type of Lighting Description" size="50" type="V_String" />
<FormulaField expression="Switch(
 [MARKING], "Unknown",
 "", "",
 "P", "Orange or orange and white paint",
 "W", "White paint only",
 "M", "Marked",
 "F", "Flag marker",
 "S", "Spherical marker",
 "N", "None",
 "U", "Unknown"
)" field="Marker Indicator Description" size="50" type="V_String" />
<FormulaField expression="Switch(
 [ACTION], "Unknown",
 "", "",
 "A", "Added",
 "C", "Changed"
)" field="Action Description" size="20" type="V_String" />
<FormulaField expression="DateTimeParse([JDATE],"%Y%j")" field="Date of Action" size="10" type="Date" />
<FormulaField expression="Switch(
 Left([ACCURACY],1), NULL(),
 '1', 20,
 '2', 50,
 '3', 100,
 '4', 250,
 '5', 500,
 '6', 1000,
 '7', 3038,
 '8', 6076,
 '9', NULL()
)" field="Horizontal Accuracy" size="8" type="Int64" />
<FormulaField expression="Switch(
 Right([ACCURACY],1), NULL(),
 'A', 3,
 'B', 10,
 'C', 20,
 'D', 50,
 'E', 125,
 'F', 250,
 'G', 500,
 'H', 1000,
 'I', NULL()
)" field="Vertical Accuracy" size="8" type="Int64" />
</FormulaFields>
</Configuration>
<Annotation DisplayMode="2">
<Name />
<DefaultAnnotationText>Verification Status Name = Switch(
[VERIFIED STATUS], "Unknown",
"", "",
"...</DefaultAnnotationText>
<Left value="False" />
</Annotation>
</Properties>
<EngineSettings EngineDll="AlteryxBasePluginsEngine.dll" EngineDllEntryPoint="AlteryxFormula" />
</Node>
</Nodes>
<Connections>
<Connection>
<Origin ToolID="1" Connection="Output" />
<Destination ToolID="4" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="3" Connection="Output" />
<Destination ToolID="2" Connection="Input" />
</Connection>
<Connection>
<Origin ToolID="4" Connection="Output" />
<Destination ToolID="3" Connection="Input" />
</Connection>
</Connections>
<Properties>
<Memory default="True" />
<GlobalRecordLimit value="0" />
<TempFiles default="True" />
<Annotation on="True" includeToolName="False" />
<ConvErrorLimit value="10" />
<ConvErrorLimit_Stop value="False" />
<CancelOnError value="False" />
<DisableBrowse value="False" />
<EnablePerformanceProfiling value="False" />
<PredictiveToolsCodePage value="1252" />
<DisableAllOutput value="False" />
<ShowAllMacroMessages value="False" />
<ShowConnectionStatusIsOn value="True" />
<ShowConnectionStatusOnlyWhenRunning value="True" />
<ZoomLevel value="0" />
<LayoutType>Horizontal</LayoutType>
<Constants>
<Constant>
<Namespace>User</Namespace>
<Name>Source</Name>
<Value>F:\repositories\us_airspace_data\DAILY_DOF_CSV</Value>
<IsNumeric value="False" />
</Constant>
<Constant>
<Namespace>User</Namespace>
<Name>SaveTo</Name>
<Value>F:\repositories\us_airspace_data\parsed_data</Value>
<IsNumeric value="False" />
</Constant>
</Constants>
<MetaInfo>
<NameIsFileName value="True" />
<Name>Parse Daily DOF</Name>
<Description />
<RootToolName />
<ToolVersion />
<ToolInDb value="False" />
<CategoryName />
<SearchTags />
<Author />
<Company />
<Copyright />
<DescriptionLink actual="" displayed="" />
<Example>
<Description />
<File />
</Example>
<WorkflowId value="f5229c86-61cb-42a0-a6ab-574ab9847cb1" />
<Telemetry>
<PreviousWorkflowId value="" />
<OriginWorkflowId value="f5229c86-61cb-42a0-a6ab-574ab9847cb1" />
</Telemetry>
</MetaInfo>
<Events>
<Enabled value="True" />
</Events>
</Properties>
</AlteryxDocument>