PR

.igc形式のフライトログをCSVデータに変換するPythonプログラム

グライダーなどのフライトログに使われる.igc形式のフライトログをCSVデータに変換するPythonプログラムについて説明する

スポンサーリンク

はじめに

最終的にはこんな感じのものを作成する

↓変換元の.igcファイル

AXNA9AD179D6D6F04DDD95474658245E6D4F
HFDTEDATE:180223,01
HFPLTPILOTINCHARGE:mtkbirdman
HFCM2CREW2:NIL
HFGTYGLIDERTYPE:G103a Twin Astir II
HFGIDGLIDERID:JA9999
HFDTMGPSDATUM:WGS84
HFRFWFIRMWAREVERSION:2.8.1+1647
HFRHWHARDWAREVERSION:Apple iPhone,Ios 16.2
HFFTYFRTYPE:Naviter,SeeYou Navigator
HFGPSRECEIVER:Unknown,Internal,0,0
HFPRSPRESSALTSENSOR:Unknown,Internal,0
HFALGALTGPS:ELL
HFALPALTPRESSURE:ISA
HFCIDCOMPETITIONID:NKN
HFCCLCOMPETITIONCLASS:NKN
HFTZNTIMEZONE:9.0
J020810WDI1113WSP
LXNA::VEHICLE:0
LXNA::LOGSTART,GSP,VARIO
LXNA::PHASE:onGround
E013830ATS102415
B0138300000000N00000000EV-004400000
B0138320000000N00000000EV-004400000
B0138340000000N00000000EV-004400000
B0138360000000N00000000EV-004400000
B0138370000000N00000000EV-004400000
B0138390000000N00000000EV-004400000
B0138410000000N00000000EV-004400000
B0138430000000N00000000EV-004400000
B0138450000000N00000000EV-004400000
B0138470000000N00000000EV-004400000
B0138490000000N00000000EV-004400000
B0138510000000N00000000EV-004400000
B0138520000000N00000000EV-004400000
B0138540000000N00000000EV-004400000
B0138560000000N00000000EV-004400000
B0138580000000N00000000EV-004400000
B0139000000000N00000000EV-004400000
B0139020000000N00000000EV-004400000
B0139040000000N00000000EV-004400000
B0139060000000N00000000EV-004400000
B0139080000000N00000000EV-004400000
B0139090000000N00000000EV-004400000
B0139110000000N00000000EV-004400000
B0139130000000N00000000EV-004400000
B0139150000000N00000000EV-004400000
B0139170000000N00000000EV-004500000
B0139190000000N00000000EV-004500000
B0139210000000N00000000EV-004500000
B0139230000000N00000000EV-004500000
B0139240000000N00000000EV-004500000
B0139260000000N00000000EV-004400000
B0139280000000N00000000EV-004400000
B0139300000000N00000000EV-004400000
B0139320000000N00000000EV-004400000
B0139340000000N00000000EV-004400000
B0139360000000N00000000EV-004400000
B0139380000000N00000000EV-004400000
B0139400000000N00000000EV-004400000
B0139410000000N00000000EV-004400000
B0139430000000N00000000EV-004400000
B0139450000000N00000000EV-004400000
B0139470000000N00000000EV-004400000
B0139490000000N00000000EV-004400000
B0139510000000N00000000EV-004400000
B0139530000000N00000000EV-004400000
B0139554901391N00233687EA0011900119
B0139564901391N00233686EA0011900119
B0139574901391N00233684EA0011900119
LXNA::PHASE:takingOff
B0139584901391N00233676EA0011900119
B0139594901392N00233665EA0011900119
B0140004901393N00233653EA0011900119
B0140014901394N00233636EA0012000119
B0140024901393N00233618EA0012000120
B0140034901393N00233600EA0012200121
B0140044901393N00233584EA0012600123
B0140054901393N00233567EA0013100126
B0140064901393N00233551EA0013900129
B0140074901392N00233540EA0014900132
LXNA::PHASE:onTow
B0140084901393N00233528EA0016000136
B0140094901392N00233518EA0017400140
B0140104901391N00233506EA0019000146
B0140114901390N00233495EA0020700151
B0140124901390N00233484EA0022400159
B0140134901385N00233469EA0024200168
B0140144901381N00233458EA0025900180
B0140154901380N00233441EA0027600196
B0140164901380N00233378EA0030900150
B0140174901379N00233361EA0032400166
B0140184901379N00233343EA0033900181
B0140194901383N00233325EA0035300223
B0140204901358N00233292EA0036700133
B0140214901360N00233273EA0038000133
B0140224901363N00233255EA0039200136
B0140234901368N00233236EA0040300141
B0140244901373N00233216EA0041500145
B0140254901385N00233199EA0042600192
B0140264901395N00233182EA0043600236
B0140274901365N00233191EA0044700131
B0140284901369N00233170EA0045700131
B0140294901391N00233143EA0046700229
B0140304901410N00233119EA0047600304
B0140314901377N00233111EA0048400137
B0140324901378N00233095EA0049100130
B0140334901405N00233074EA0050200234
B0140344901436N00233075EA0050500372
B0140354901440N00233057EA0050700374
B0140364901444N00233039EA0050800378
B0140374901449N00233021EA0050800382
B0140384901453N00233004EA0050700385
B0140394901458N00232988EA0050700386
B0140404901462N00232972EA0050600389
B0140414901466N00232956EA0050600391
B0140424901471N00232939EA0050500394
B0140434901511N00232912EA0050500265
B0140444901515N00232898EA0050400310
B0140454901454N00232844EA0050400141
B0140464901467N00232833EA0050300132
B0140474901486N00232826EA0050200231
B0140484901498N00232816EA0050100304
LXNA::PHASE:soaring
B0140494901488N00232799EA0050000152
B0140504901492N00232782EA0049900135
B0140514901504N00232770EA0049600227
B0140524901514N00232754EA0049500293
B0140534901511N00232732EA0049400285
B0140544901515N00232715EA0049200285
B0140554901499N00232683EA0049100126
B0140564901504N00232666EA0049100126
B0140574901526N00232660EA0049000221
B0140584901540N00232650EA0048900291
B0140594901535N00232643EA0048800150
B0141004901540N00232620EA0048800161
B0141014901554N00232614EA0048700298
B0141024901539N00232564EA0048700120
B0141034901561N00232552EA0048600120
B0141044901580N00232545EA0048500166
B0141054901593N00232535EA0048500206
B0141064901602N00232521EA0048400204
B0141074901616N00232512EA0048200239
B0141084901630N00232507EA0048100268
B0141094901643N00232498EA0047800267
B0141104901658N00232492EA0047700266
B0141114901673N00232491EA0047600265
B0141124901688N00232492EA0047600264
B0141134901704N00232495EA0047500263
B0141144901718N00232504EA0047400262
B0141154901768N00232410EA0047400118
B0141164901774N00232428EA0047300116
B0141174901780N00232442EA0047200116
B0141184901786N00232457EA0047200115
B0141194901789N00232476EA0047100116
B0141204901794N00232493EA0047100115
B0141214901799N00232509EA0047100115
B0141224901804N00232526EA0047100115
B0141234901808N00232543EA0047100115
K014123054846
B0141244901812N00232556EA0047100115
B0141254901815N00232572EA0047100115
B0141264901819N00232587EA0047100115
B0141274901821N00232601EA0047000115
B0141284901816N00232636EA0047000139
B0141294901812N00232659EA0047000136
B0141304901824N00232683EA0047000133
B0141314901826N00232707EA0046900131
B0141324901829N00232732EA0046900130
B0141334901831N00232754EA0046800128
B0141344901833N00232777EA0046700126
B0141354901835N00232797EA0046700125
B0141364901830N00232742EA0046600112
B0141374901831N00232758EA0046500111
B0141384901832N00232772EA0046500111
B0141394901832N00232788EA0046400111
B0141404901833N00232803EA0046400111
B0141414901835N00232817EA0046300112
B0141424901836N00232833EA0046300112
B0141434901837N00232847EA0046300112
B0141444901838N00232860EA0046200113
B0141454901839N00232877EA0046200112
B0141464901838N00232892EA0046200112
B0141474901839N00232906EA0046100112
B0141484901831N00232922EA0046100111
B0141494901832N00232938EA0046000110
B0141504901833N00232952EA0045900110
B0141514901834N00232967EA0045800109
B0141524901835N00232984EA0045700110
B0141534901836N00232999EA0045600110
B0141544901837N00233013EA0045600110
B0141554901838N00233028EA0045500110
B0141564901864N00233039EA0045400110
B0141574901865N00233054EA0045400112
B0141584901866N00233067EA0045300113
B0141594901867N00233083EA0045300114
B0142004901869N00233096EA0045200115
B0142014901870N00233110EA0045200115
B0142024901849N00233128EA0045200115
B0142034901849N00233142EA0045100115
B0142044901850N00233156EA0045000115
B0142054901851N00233172EA0044900114
B0142064901851N00233187EA0044800114
B0142074901853N00233200EA0044700114
B0142084901854N00233216EA0044700114
B0142094901855N00233229EA0044600115
B0142104901856N00233244EA0044500116
B0142114901856N00233259EA0044500117
B0142124901857N00233272EA0044500117
B0142134901858N00233288EA0044400117
B0142144901858N00233301EA0044400117
B0142154901859N00233316EA0044400116
B0142164901861N00233330EA0044400116
B0142174901866N00233343EA0044300116
B0142184901871N00233357EA0044200115
B0142194901878N00233369EA0044000115
B0142204901886N00233379EA0043900115
B0142214901895N00233389EA0043800116
B0142224901905N00233398EA0043500117
B0142234901914N00233406EA0043400117
B0142244901924N00233413EA0043400117
B0142254901935N00233415EA0043300118
B0142264901946N00233418EA0043300118
B0142274901958N00233421EA0043200119
B0142284901970N00233421EA0043200119
B0142294901982N00233418EA0043100119
B0142304901994N00233416EA0043100119
B0142314902005N00233412EA0043000119
B0142324902016N00233405EA0043000119
B0142334902027N00233397EA0042900119
B0142344902037N00233390EA0042900119
B0142354902047N00233381EA0042800119
B0142364902057N00233371EA0042700120
B0142374902066N00233361EA0042600118
B0142384902074N00233348EA0042600118
B0142394902081N00233334EA0042500118
B0142404902088N00233317EA0042400117
B0142414902092N00233301EA0042300116
B0142424902095N00233284EA0042200115
B0142434902098N00233269EA0042100115
B0142444902099N00233252EA0042000114
B0142454902099N00233235EA0041900115
B0142464902099N00233217EA0041800115
B0142474902099N00233199EA0041700115
B0142484902098N00233182EA0041700115
B0142494902096N00233164EA0041600115
B0142504902095N00233146EA0041600114
B0142514902093N00233129EA0041500114
B0142524902083N00233112EA0041400114
B0142534902083N00233096EA0041400115
B0142544902082N00233078EA0041300115
B0142554902082N00233062EA0041300115
B0142564902081N00233045EA0041200115
B0142574902082N00233028EA0041200115
B0142584902083N00233011EA0041200115
B0142594902083N00232991EA0041100114
B0143004902083N00232973EA0041000113
B0143014902083N00232956EA0041000112
B0143024902084N00232938EA0040900112
B0143034902084N00232920EA0040800111
B0143044902083N00232903EA0040700110
B0143054902083N00232886EA0040600110
B0143064902082N00232869EA0040500110
B0143074902082N00232852EA0040400110
B0143084902083N00232835EA0040300110
B0143094902083N00232820EA0040200110
B0143104902084N00232803EA0040100110
B0143114902085N00232787EA0040000110
B0143124902085N00232771EA0040000111
B0143134902085N00232757EA0039900110
B0143144902085N00232743EA0039900111
B0143154902084N00232728EA0039800111
B0143164902083N00232715EA0039800111
B0143174902082N00232700EA0039700111
B0143184902080N00232684EA0039700110
B0143194902079N00232669EA0039600109
B0143204902078N00232653EA0039500109
B0143214902077N00232636EA0039400109
B0143224902079N00232621EA0039300110
B0143234902054N00232611EA0039200110
B0143244902043N00232598EA0039100110
B0143254902033N00232587EA0039100110
B0143264902018N00232579EA0039000110
B0143274902003N00232566EA0039000111
B0143284901988N00232565EA0038900111
B0143294901975N00232567EA0038900111
B0143304901966N00232548EA0038800111
B0143314901955N00232540EA0038800111
B0143324901945N00232535EA0038800110
B0143334901934N00232528EA0038700109
B0143344901924N00232525EA0038700108
B0143354901890N00232582EA0038600107
B0143364901880N00232591EA0038500106
B0143374901870N00232600EA0038400105
B0143384901862N00232616EA0038100105
B0143394901853N00232630EA0038000105
B0143404901846N00232645EA0037900105
B0143414901843N00232666EA0037800106
B0143424901835N00232681EA0037700106
B0143434901849N00232695EA0037700107
B0143444901851N00232709EA0037600107
B0143454901841N00232727EA0037600109
B0143464901841N00232745EA0037600109
B0143474901842N00232760EA0037500110
B0143484901843N00232772EA0037500110
B0143494901844N00232787EA0037400110
B0143504901846N00232800EA0037400110
B0143514901847N00232815EA0037300111
B0143524901848N00232829EA0037300111
B0143534901849N00232842EA0037300111
B0143544901850N00232857EA0037200110
B0143554901851N00232869EA0037200110
B0143564901835N00232886EA0037200111
B0143574901835N00232899EA0037000111
B0143584901836N00232913EA0037000112
B0143594901837N00232928EA0036900112
B0144004901837N00232941EA0036800112
B0144014901833N00232956EA0036800111
B0144024901834N00232969EA0036700112
B0144034901835N00232984EA0036600112
B0144044901836N00232997EA0036500112
B0144054901838N00233012EA0036400112
B0144064901838N00233026EA0036300112
B0144074901864N00233038EA0036200113
B0144084901865N00233051EA0036100113
B0144094901866N00233065EA0036000113
B0144104901867N00233081EA0036000112
B0144114901867N00233094EA0035900111
B0144124901865N00233110EA0035800109
B0144134901864N00233125EA0035600107
B0144144901821N00233144EA0035500106
B0144154901815N00233158EA0035300105
B0144164901807N00233172EA0035100105
B0144174901798N00233183EA0034600106
B0144184901787N00233193EA0034400106
B0144194901774N00233200EA0034300107
B0144204901762N00233205EA0034200107
B0144214901748N00233206EA0034200107
B0144224901735N00233202EA0034200108
B0144234901721N00233200EA0034100107
B0144244901708N00233192EA0034100107
K014424054846
B0144254901696N00233183EA0034000107
B0144264901684N00233174EA0034000107
B0144274901676N00233160EA0033900107
B0144284901669N00233146EA0033800107
B0144294901665N00233129EA0033700107
B0144304901663N00233116EA0033600107
B0144314901664N00233101EA0033500108
B0144324901668N00233089EA0033500108
B0144334901673N00233078EA0033500108
B0144344901680N00233067EA0033400107
B0144354901687N00233059EA0033400109
B0144364901696N00233053EA0033200110
B0144374901706N00233047EA0033100110
B0144384901718N00233045EA0033000111
B0144394901728N00233044EA0032900111
B0144404901740N00233046EA0032800112
B0144414901752N00233049EA0032700112
B0144424901762N00233056EA0032700112
B0144434901772N00233062EA0032600112
B0144444901781N00233071EA0032500112
B0144454901789N00233078EA0032500113
B0144464901795N00233089EA0032400112
B0144474901800N00233101EA0032300112
B0144484901804N00233113EA0032200111
B0144494901807N00233128EA0032100111
B0144504901810N00233143EA0032000111
B0144514901811N00233156EA0031900110
B0144524901812N00233171EA0031700110
B0144534901813N00233184EA0031600111
B0144544901813N00233200EA0031500111
K014454017794
B0144554901814N00233215EA0031300111
B0144564901814N00233228EA0031200112
B0144574901814N00233244EA0031100113
B0144584901815N00233257EA0031100114
B0144594901817N00233271EA0031100114
B0145004901819N00233287EA0031100113
B0145014901822N00233301EA0031100113
B0145024901827N00233315EA0031100112
B0145034901833N00233326EA0031000112
B0145044901842N00233337EA0030900113
B0145054901851N00233346EA0030700114
B0145064901861N00233354EA0030600114
B0145074901872N00233360EA0030500115
B0145084901884N00233362EA0030500116
B0145094901896N00233362EA0030400118
B0145104901908N00233359EA0030400119
B0145114901920N00233352EA0030400119
B0145124901930N00233344EA0030400119
B0145134901940N00233334EA0030400119
B0145144901948N00233319EA0030400118
B0145154901954N00233306EA0030400118
B0145164901958N00233290EA0030300118
B0145174901961N00233273EA0030200117
B0145184901961N00233257EA0030100116
B0145194901960N00233239EA0030000114
B0145204901956N00233224EA0029900114
K014520010880
B0145214901951N00233208EA0029700114
B0145224901944N00233191EA0029600113
B0145234901936N00233179EA0029400113
B0145244901927N00233167EA0029300113
B0145254901916N00233157EA0029200114
B0145264901905N00233149EA0029200115
B0145274901892N00233144EA0029100115
B0145284901880N00233138EA0029100115
B0145294901867N00233135EA0029100116
B0145304901854N00233134EA0029000116
B0145314901841N00233133EA0029000116
B0145324901827N00233135EA0029000114
B0145334901813N00233139EA0029000112
B0145344901800N00233146EA0029000110
B0145354901788N00233155EA0028900110
B0145364901777N00233167EA0028700110
B0145374901769N00233181EA0028500111
B0145384901761N00233197EA0028100110
B0145394901756N00233212EA0028000110
B0145404901752N00233229EA0027900109
B0145414901751N00233246EA0027800109
B0145424901750N00233263EA0027800109
B0145434901749N00233281EA0027600110
B0145444901750N00233298EA0027500111
B0145454901751N00233315EA0027400112
B0145464901752N00233330EA0027400113
K014546353345
B0145474901753N00233346EA0027300114
B0145484901754N00233362EA0027300116
B0145494901755N00233378EA0027300117
B0145504901756N00233394EA0027400119
B0145514901757N00233408EA0027500118
B0145524901759N00233424EA0027500117
B0145534901760N00233440EA0027500115
B0145544901762N00233454EA0027500115
B0145554901764N00233469EA0027500114
B0145564901766N00233486EA0027400113
B0145574901767N00233501EA0027300114
B0145584901769N00233515EA0027000114
B0145594901770N00233531EA0026900114
B0146004901770N00233548EA0026800113
B0146014901770N00233564EA0026700113
B0146024901771N00233581EA0026600112
B0146034901772N00233596EA0026500110
B0146044901773N00233613EA0026400109
B0146054901774N00233630EA0026300107
B0146064901773N00233649EA0026100105
B0146074901776N00233666EA0025900103
B0146084901781N00233683EA0025700101
B0146094901787N00233701EA0025500100
B0146104901792N00233719EA0025300099
B0146114901797N00233736EA0025000098
B0146124901802N00233753EA0024800099
B0146134901805N00233772EA0024600099
B0146144901807N00233791EA0024500102
B0146154901809N00233809EA0024500106
B0146164901788N00233835EA0024400110
B0146174901792N00233852EA0024400112
B0146184901800N00233869EA0024400114
B0146194901803N00233886EA0024600116
B0146204901807N00233898EA0024600116
B0146214901786N00233925EA0024700115
B0146224901787N00233942EA0024700115
B0146234901789N00233958EA0024700114
B0146244901791N00233973EA0024600113
B0146254901792N00233990EA0024500113
B0146264901792N00234008EA0024400113
B0146274901792N00234025EA0024200112
B0146284901792N00234043EA0024100112
B0146294901793N00234061EA0023900112
B0146304901793N00234078EA0023700112
B0146314901793N00234095EA0023600113
B0146324901792N00234113EA0023400114
B0146334901792N00234129EA0023300116
B0146344901791N00234146EA0023300117
B0146354901776N00234156EA0023200118
B0146364901773N00234172EA0023200117
B0146374901772N00234195EA0023200115
B0146384901773N00234212EA0023200113
B0146394901773N00234229EA0023200111
B0146404901772N00234251EA0022900109
B0146414901774N00234267EA0022700108
B0146424901775N00234282EA0022500107
B0146434901775N00234298EA0022400107
B0146444901773N00234312EA0022200108
B0146454901774N00234327EA0022100108
B0146464901763N00234338EA0022000109
B0146474901748N00234349EA0022000110
B0146484901734N00234357EA0022000112
B0146494901720N00234364EA0022000114
B0146504901705N00234370EA0022000114
B0146514901690N00234374EA0022000115
B0146524901676N00234380EA0021900116
B0146534901661N00234384EA0021900117
B0146544901646N00234388EA0021800118
B0146554901631N00234391EA0021700119
B0146564901617N00234396EA0021600120
B0146574901602N00234399EA0021600119
B0146584901587N00234402EA0021600120
B0146594901572N00234407EA0021600120
B0147004901557N00234410EA0021500121
B0147014901542N00234412EA0021400120
B0147024901527N00234412EA0021300119
B0147034901513N00234410EA0021200119
B0147044901499N00234408EA0021100119
B0147054901485N00234401EA0021000119
B0147064901473N00234393EA0020800119
B0147074901462N00234383EA0020800119
B0147084901453N00234372EA0020700120
B0147094901445N00234358EA0020700121
B0147104901439N00234346EA0020700119
B0147114901437N00234330EA0020400115
B0147124901436N00234315EA0020100111
B0147134901435N00234299EA0019700109
B0147144901434N00234283EA0019200108
B0147154901432N00234267EA0018600107
B0147164901424N00234251EA0018300106
B0147174901423N00234236EA0017900104
B0147184901423N00234220EA0017600102
B0147194901423N00234203EA0017300101
B0147204901422N00234185EA0017000100
B0147214901421N00234169EA0016700100
B0147224901421N00234152EA0016300100
B0147234901420N00234137EA0015700102
B0147244901420N00234121EA0015400102
B0147254901420N00234104EA0015200102
B0147264901419N00234089EA0015000102
B0147274901418N00234074EA0014900100
B0147284901418N00234058EA0014700099
B0147294901417N00234041EA0014400098
B0147304901416N00234025EA0014200097
B0147314901415N00234009EA0013900096
B0147324901413N00233994EA0013600094
B0147334901412N00233978EA0013300093
B0147344901411N00233961EA0013000092
B0147354901410N00233945EA0012600093
B0147364901409N00233930EA0012300094
B0147374901408N00233915EA0012000096
B0147384901407N00233899EA0011700097
B0147394901406N00233886EA0011500099
B0147404901407N00233871EA0011400106
B0147414901407N00233859EA0011300109
B0147424901408N00233847EA0011300113
B0147434901408N00233835EA0011300115
B0147444901408N00233826EA0011300117
B0147454901407N00233816EA0011400118
B0147464901406N00233806EA0011400119
B0147474901405N00233798EA0011500120
B0147484901403N00233789EA0011500120
B0147494901403N00233781EA0011500121
B0147504901401N00233773EA0011500121
B0147514901400N00233766EA0011600121
B0147524901399N00233761EA0011600122
B0147534901398N00233755EA0011600122
B0147544901397N00233748EA0011600122
B0147554901397N00233743EA0011700122
B0147564901396N00233737EA0011700121
B0147574901396N00233733EA0011700121
B0147584901395N00233728EA0011700121
B0147594901394N00233724EA0011700121
B0148004901394N00233719EA0011700120
B0148014901393N00233715EA0011800120
B0148024901393N00233710EA0011800120
B0148034901392N00233708EA0011800120
B0148044901391N00233704EA0011800120
B0148054901391N00233701EA0011800120
B0148064901391N00233699EA0011800120
B0148074901391N00233697EA0011800119
B0148084901390N00233694EA0011800119
B0148094901390N00233693EA0011800119
B0148104901390N00233692EA0011800119
B0148114901390N00233691EA0011800119
B0148124901391N00233691EA0011800119
B0148134901391N00233690EA0011800119
B0148144901391N00233689EA0011800119
B0148154901391N00233689EA0011800119
B0148164901391N00233687EA0011800119
B0148174901391N00233687EA0011800119
B0148184901391N00233687EA0011800119
B0148194901390N00233687EA0011800118
B0148204901390N00233687EA0011800119
B0148214901390N00233687EA0011800119
LXNA::LOGSTOP
LXNA::PHASE:onGround
G0089F458A95684AE250AC7B8DA396BC8E433EE2D84F50902C8641C5BD35688A7952D56
G798F3A2F480A436464D87A7F556F35AAA7D09A5C7E742970CEF5D264A5A8
LXCM::TKOFFLAND:1,20230218014008,20230218014821
LXCM::TKOFFLANDALT:1,90,48
LXCM::SOARINGBEGIN:1,20230218014049,430
LXCM::OPT:1,3,6664,5,7348,5,7348
LXCM::TRIANGLE:1,FAI_NO,6632,-16384
LXCM::FLTSTAT1:1,14.91,-0.81,21.30,438,261,31.85
LXCM::FLTSTAT2:1,20230218014036,20230218014027
LXCM::FLTVARIO:1,20,18.44,20230218014013,-5.56,20230218014715
LXCM::ENDINFO

↓変換後のCSVファイル

igc_indexrecord_typeUTC_timelatitudeNSlongitudeEWfix_validitypress_altGNSS_alt
067B2023/2/22 1:3949.01391N2.33687EA119119
168B2023/2/22 1:3949.01391N2.33686EA119119
269B2023/2/22 1:3949.01391N2.33684EA119119
371B2023/2/22 1:3949.01391N2.33676EA119119
472B2023/2/22 1:3949.01392N2.33665EA119119
573B2023/2/22 1:4049.01393N2.33653EA119119
674B2023/2/22 1:4049.01394N2.33636EA120119
775B2023/2/22 1:4049.01393N2.33618EA120120
876B2023/2/22 1:4049.01393N2.336EA122121
977B2023/2/22 1:4049.01393N2.33584EA126123
1078B2023/2/22 1:4049.01393N2.33567EA131126
1179B2023/2/22 1:4049.01393N2.33551EA139129
1280B2023/2/22 1:4049.01392N2.3354EA149132
1382B2023/2/22 1:4049.01393N2.33528EA160136
1483B2023/2/22 1:4049.01392N2.33518EA174140
1584B2023/2/22 1:4049.01391N2.33506EA190146
1685B2023/2/22 1:4049.0139N2.33495EA207151
1786B2023/2/22 1:4049.0139N2.33484EA224159
1887B2023/2/22 1:4049.01385N2.33469EA242168
1988B2023/2/22 1:4049.01381N2.33458EA259180
2089B2023/2/22 1:4049.0138N2.33441EA276196
2190B2023/2/22 1:4049.0138N2.33378EA309150
2291B2023/2/22 1:4049.01379N2.33361EA324166
2392B2023/2/22 1:4049.01379N2.33343EA339181
2493B2023/2/22 1:4049.01383N2.33325EA353223
2594B2023/2/22 1:4049.01358N2.33292EA367133
2695B2023/2/22 1:4049.0136N2.33273EA380133
2796B2023/2/22 1:4049.01363N2.33255EA392136
2897B2023/2/22 1:4049.01368N2.33236EA403141
2998B2023/2/22 1:4049.01373N2.33216EA415145
3099B2023/2/22 1:4049.01385N2.33199EA426192
31100B2023/2/22 1:4049.01395N2.33182EA436236
32101B2023/2/22 1:4049.01365N2.33191EA447131
33102B2023/2/22 1:4049.01369N2.3317EA457131
34103B2023/2/22 1:4049.01391N2.33143EA467229
35104B2023/2/22 1:4049.0141N2.33119EA476304
36105B2023/2/22 1:4049.01377N2.33111EA484137
37106B2023/2/22 1:4049.01378N2.33095EA491130
38107B2023/2/22 1:4049.01405N2.33074EA502234
39108B2023/2/22 1:4049.01436N2.33075EA505372
40109B2023/2/22 1:4049.0144N2.33057EA507374
41110B2023/2/22 1:4049.01444N2.33039EA508378
42111B2023/2/22 1:4049.01449N2.33021EA508382
43112B2023/2/22 1:4049.01453N2.33004EA507385
44113B2023/2/22 1:4049.01458N2.32988EA507386
45114B2023/2/22 1:4049.01462N2.32972EA506389
46115B2023/2/22 1:4049.01466N2.32956EA506391
47116B2023/2/22 1:4049.01471N2.32939EA505394
48117B2023/2/22 1:4049.01511N2.32912EA505265
49118B2023/2/22 1:4049.01515N2.32898EA504310
50119B2023/2/22 1:4049.01454N2.32844EA504141
51120B2023/2/22 1:4049.01467N2.32833EA503132
52121B2023/2/22 1:4049.01486N2.32826EA502231
53122B2023/2/22 1:4049.01498N2.32816EA501304
54124B2023/2/22 1:4049.01488N2.32799EA500152
55125B2023/2/22 1:4049.01492N2.32782EA499135
56126B2023/2/22 1:4049.01504N2.3277EA496227
57127B2023/2/22 1:4049.01514N2.32754EA495293
58128B2023/2/22 1:4049.01511N2.32732EA494285
59129B2023/2/22 1:4049.01515N2.32715EA492285
60130B2023/2/22 1:4049.01499N2.32683EA491126
61131B2023/2/22 1:4049.01504N2.32666EA491126
62132B2023/2/22 1:4049.01526N2.3266EA490221
63133B2023/2/22 1:4049.0154N2.3265EA489291
64134B2023/2/22 1:4049.01535N2.32643EA488150
65135B2023/2/22 1:4149.0154N2.3262EA488161
66136B2023/2/22 1:4149.01554N2.32614EA487298
67137B2023/2/22 1:4149.01539N2.32564EA487120
68138B2023/2/22 1:4149.01561N2.32552EA486120
69139B2023/2/22 1:4149.0158N2.32545EA485166
70140B2023/2/22 1:4149.01593N2.32535EA485206
71141B2023/2/22 1:4149.01602N2.32521EA484204
72142B2023/2/22 1:4149.01616N2.32512EA482239
73143B2023/2/22 1:4149.0163N2.32507EA481268
74144B2023/2/22 1:4149.01643N2.32498EA478267
75145B2023/2/22 1:4149.01658N2.32492EA477266
76146B2023/2/22 1:4149.01673N2.32491EA476265
77147B2023/2/22 1:4149.01688N2.32492EA476264
78148B2023/2/22 1:4149.01704N2.32495EA475263
79149B2023/2/22 1:4149.01718N2.32504EA474262
80150B2023/2/22 1:4149.01768N2.3241EA474118
81151B2023/2/22 1:4149.01774N2.32428EA473116
82152B2023/2/22 1:4149.0178N2.32442EA472116
83153B2023/2/22 1:4149.01786N2.32457EA472115
84154B2023/2/22 1:4149.01789N2.32476EA471116
85155B2023/2/22 1:4149.01794N2.32493EA471115
86156B2023/2/22 1:4149.01799N2.32509EA471115
87157B2023/2/22 1:4149.01804N2.32526EA471115
88158B2023/2/22 1:4149.01808N2.32543EA471115
89160B2023/2/22 1:4149.01812N2.32556EA471115
90161B2023/2/22 1:4149.01815N2.32572EA471115
91162B2023/2/22 1:4149.01819N2.32587EA471115
92163B2023/2/22 1:4149.01821N2.32601EA470115
93164B2023/2/22 1:4149.01816N2.32636EA470139
94165B2023/2/22 1:4149.01812N2.32659EA470136
95166B2023/2/22 1:4149.01824N2.32683EA470133
96167B2023/2/22 1:4149.01826N2.32707EA469131
97168B2023/2/22 1:4149.01829N2.32732EA469130
98169B2023/2/22 1:4149.01831N2.32754EA468128
99170B2023/2/22 1:4149.01833N2.32777EA467126
100171B2023/2/22 1:4149.01835N2.32797EA467125
101172B2023/2/22 1:4149.0183N2.32742EA466112
102173B2023/2/22 1:4149.01831N2.32758EA465111
103174B2023/2/22 1:4149.01832N2.32772EA465111
104175B2023/2/22 1:4149.01832N2.32788EA464111
105176B2023/2/22 1:4149.01833N2.32803EA464111
106177B2023/2/22 1:4149.01835N2.32817EA463112
107178B2023/2/22 1:4149.01836N2.32833EA463112
108179B2023/2/22 1:4149.01837N2.32847EA463112
109180B2023/2/22 1:4149.01838N2.3286EA462113
110181B2023/2/22 1:4149.01839N2.32877EA462112
111182B2023/2/22 1:4149.01838N2.32892EA462112
112183B2023/2/22 1:4149.01839N2.32906EA461112
113184B2023/2/22 1:4149.01831N2.32922EA461111
114185B2023/2/22 1:4149.01832N2.32938EA460110
115186B2023/2/22 1:4149.01833N2.32952EA459110
116187B2023/2/22 1:4149.01834N2.32967EA458109
117188B2023/2/22 1:4149.01835N2.32984EA457110
118189B2023/2/22 1:4149.01836N2.32999EA456110
119190B2023/2/22 1:4149.01837N2.33013EA456110
120191B2023/2/22 1:4149.01838N2.33028EA455110
121192B2023/2/22 1:4149.01864N2.33039EA454110
122193B2023/2/22 1:4149.01865N2.33054EA454112
123194B2023/2/22 1:4149.01866N2.33067EA453113
124195B2023/2/22 1:4149.01867N2.33083EA453114
125196B2023/2/22 1:4249.01869N2.33096EA452115
126197B2023/2/22 1:4249.0187N2.3311EA452115
127198B2023/2/22 1:4249.01849N2.33128EA452115
128199B2023/2/22 1:4249.01849N2.33142EA451115
129200B2023/2/22 1:4249.0185N2.33156EA450115
130201B2023/2/22 1:4249.01851N2.33172EA449114
131202B2023/2/22 1:4249.01851N2.33187EA448114
132203B2023/2/22 1:4249.01853N2.332EA447114
133204B2023/2/22 1:4249.01854N2.33216EA447114
134205B2023/2/22 1:4249.01855N2.33229EA446115
135206B2023/2/22 1:4249.01856N2.33244EA445116
136207B2023/2/22 1:4249.01856N2.33259EA445117
137208B2023/2/22 1:4249.01857N2.33272EA445117
138209B2023/2/22 1:4249.01858N2.33288EA444117
139210B2023/2/22 1:4249.01858N2.33301EA444117
140211B2023/2/22 1:4249.01859N2.33316EA444116
141212B2023/2/22 1:4249.01861N2.3333EA444116
142213B2023/2/22 1:4249.01866N2.33343EA443116
143214B2023/2/22 1:4249.01871N2.33357EA442115
144215B2023/2/22 1:4249.01878N2.33369EA440115
145216B2023/2/22 1:4249.01886N2.33379EA439115
146217B2023/2/22 1:4249.01895N2.33389EA438116
147218B2023/2/22 1:4249.01905N2.33398EA435117
148219B2023/2/22 1:4249.01914N2.33406EA434117
149220B2023/2/22 1:4249.01924N2.33413EA434117
150221B2023/2/22 1:4249.01935N2.33415EA433118
151222B2023/2/22 1:4249.01946N2.33418EA433118
152223B2023/2/22 1:4249.01958N2.33421EA432119
153224B2023/2/22 1:4249.0197N2.33421EA432119
154225B2023/2/22 1:4249.01982N2.33418EA431119
155226B2023/2/22 1:4249.01994N2.33416EA431119
156227B2023/2/22 1:4249.02005N2.33412EA430119
157228B2023/2/22 1:4249.02016N2.33405EA430119
158229B2023/2/22 1:4249.02027N2.33397EA429119
159230B2023/2/22 1:4249.02037N2.3339EA429119
160231B2023/2/22 1:4249.02047N2.33381EA428119
161232B2023/2/22 1:4249.02057N2.33371EA427120
162233B2023/2/22 1:4249.02066N2.33361EA426118
163234B2023/2/22 1:4249.02074N2.33348EA426118
164235B2023/2/22 1:4249.02081N2.33334EA425118
165236B2023/2/22 1:4249.02088N2.33317EA424117
166237B2023/2/22 1:4249.02092N2.33301EA423116
167238B2023/2/22 1:4249.02095N2.33284EA422115
168239B2023/2/22 1:4249.02098N2.33269EA421115
169240B2023/2/22 1:4249.02099N2.33252EA420114
170241B2023/2/22 1:4249.02099N2.33235EA419115
171242B2023/2/22 1:4249.02099N2.33217EA418115
172243B2023/2/22 1:4249.02099N2.33199EA417115
173244B2023/2/22 1:4249.02098N2.33182EA417115
174245B2023/2/22 1:4249.02096N2.33164EA416115
175246B2023/2/22 1:4249.02095N2.33146EA416114
176247B2023/2/22 1:4249.02093N2.33129EA415114
177248B2023/2/22 1:4249.02083N2.33112EA414114
178249B2023/2/22 1:4249.02083N2.33096EA414115
179250B2023/2/22 1:4249.02082N2.33078EA413115
180251B2023/2/22 1:4249.02082N2.33062EA413115
181252B2023/2/22 1:4249.02081N2.33045EA412115
182253B2023/2/22 1:4249.02082N2.33028EA412115
183254B2023/2/22 1:4249.02083N2.33011EA412115
184255B2023/2/22 1:4249.02083N2.32991EA411114
185256B2023/2/22 1:4349.02083N2.32973EA410113
186257B2023/2/22 1:4349.02083N2.32956EA410112
187258B2023/2/22 1:4349.02084N2.32938EA409112
188259B2023/2/22 1:4349.02084N2.3292EA408111
189260B2023/2/22 1:4349.02083N2.32903EA407110
190261B2023/2/22 1:4349.02083N2.32886EA406110
191262B2023/2/22 1:4349.02082N2.32869EA405110
192263B2023/2/22 1:4349.02082N2.32852EA404110
193264B2023/2/22 1:4349.02083N2.32835EA403110
194265B2023/2/22 1:4349.02083N2.3282EA402110
195266B2023/2/22 1:4349.02084N2.32803EA401110
196267B2023/2/22 1:4349.02085N2.32787EA400110
197268B2023/2/22 1:4349.02085N2.32771EA400111
198269B2023/2/22 1:4349.02085N2.32757EA399110
199270B2023/2/22 1:4349.02085N2.32743EA399111
200271B2023/2/22 1:4349.02084N2.32728EA398111
201272B2023/2/22 1:4349.02083N2.32715EA398111
202273B2023/2/22 1:4349.02082N2.327EA397111
203274B2023/2/22 1:4349.0208N2.32684EA397110
204275B2023/2/22 1:4349.02079N2.32669EA396109
205276B2023/2/22 1:4349.02078N2.32653EA395109
206277B2023/2/22 1:4349.02077N2.32636EA394109
207278B2023/2/22 1:4349.02079N2.32621EA393110
208279B2023/2/22 1:4349.02054N2.32611EA392110
209280B2023/2/22 1:4349.02043N2.32598EA391110
210281B2023/2/22 1:4349.02033N2.32587EA391110
211282B2023/2/22 1:4349.02018N2.32579EA390110
212283B2023/2/22 1:4349.02003N2.32566EA390111
213284B2023/2/22 1:4349.01988N2.32565EA389111
214285B2023/2/22 1:4349.01975N2.32567EA389111
215286B2023/2/22 1:4349.01966N2.32548EA388111
216287B2023/2/22 1:4349.01955N2.3254EA388111
217288B2023/2/22 1:4349.01945N2.32535EA388110
218289B2023/2/22 1:4349.01934N2.32528EA387109
219290B2023/2/22 1:4349.01924N2.32525EA387108
220291B2023/2/22 1:4349.0189N2.32582EA386107
221292B2023/2/22 1:4349.0188N2.32591EA385106
222293B2023/2/22 1:4349.0187N2.326EA384105
223294B2023/2/22 1:4349.01862N2.32616EA381105
224295B2023/2/22 1:4349.01853N2.3263EA380105
225296B2023/2/22 1:4349.01846N2.32645EA379105
226297B2023/2/22 1:4349.01843N2.32666EA378106
227298B2023/2/22 1:4349.01835N2.32681EA377106
228299B2023/2/22 1:4349.01849N2.32695EA377107
229300B2023/2/22 1:4349.01851N2.32709EA376107
230301B2023/2/22 1:4349.01841N2.32727EA376109
231302B2023/2/22 1:4349.01841N2.32745EA376109
232303B2023/2/22 1:4349.01842N2.3276EA375110
233304B2023/2/22 1:4349.01843N2.32772EA375110
234305B2023/2/22 1:4349.01844N2.32787EA374110
235306B2023/2/22 1:4349.01846N2.328EA374110
236307B2023/2/22 1:4349.01847N2.32815EA373111
237308B2023/2/22 1:4349.01848N2.32829EA373111
238309B2023/2/22 1:4349.01849N2.32842EA373111
239310B2023/2/22 1:4349.0185N2.32857EA372110
240311B2023/2/22 1:4349.01851N2.32869EA372110
241312B2023/2/22 1:4349.01835N2.32886EA372111
242313B2023/2/22 1:4349.01835N2.32899EA370111
243314B2023/2/22 1:4349.01836N2.32913EA370112
244315B2023/2/22 1:4349.01837N2.32928EA369112
245316B2023/2/22 1:4449.01837N2.32941EA368112
246317B2023/2/22 1:4449.01833N2.32956EA368111
247318B2023/2/22 1:4449.01834N2.32969EA367112
248319B2023/2/22 1:4449.01835N2.32984EA366112
249320B2023/2/22 1:4449.01836N2.32997EA365112
250321B2023/2/22 1:4449.01838N2.33012EA364112
251322B2023/2/22 1:4449.01838N2.33026EA363112
252323B2023/2/22 1:4449.01864N2.33038EA362113
253324B2023/2/22 1:4449.01865N2.33051EA361113
254325B2023/2/22 1:4449.01866N2.33065EA360113
255326B2023/2/22 1:4449.01867N2.33081EA360112
256327B2023/2/22 1:4449.01867N2.33094EA359111
257328B2023/2/22 1:4449.01865N2.3311EA358109
258329B2023/2/22 1:4449.01864N2.33125EA356107
259330B2023/2/22 1:4449.01821N2.33144EA355106
260331B2023/2/22 1:4449.01815N2.33158EA353105
261332B2023/2/22 1:4449.01807N2.33172EA351105
262333B2023/2/22 1:4449.01798N2.33183EA346106
263334B2023/2/22 1:4449.01787N2.33193EA344106
264335B2023/2/22 1:4449.01774N2.332EA343107
265336B2023/2/22 1:4449.01762N2.33205EA342107
266337B2023/2/22 1:4449.01748N2.33206EA342107
267338B2023/2/22 1:4449.01735N2.33202EA342108
268339B2023/2/22 1:4449.01721N2.332EA341107
269340B2023/2/22 1:4449.01708N2.33192EA341107
270342B2023/2/22 1:4449.01696N2.33183EA340107
271343B2023/2/22 1:4449.01684N2.33174EA340107
272344B2023/2/22 1:4449.01676N2.3316EA339107
273345B2023/2/22 1:4449.01669N2.33146EA338107
274346B2023/2/22 1:4449.01665N2.33129EA337107
275347B2023/2/22 1:4449.01663N2.33116EA336107
276348B2023/2/22 1:4449.01664N2.33101EA335108
277349B2023/2/22 1:4449.01668N2.33089EA335108
278350B2023/2/22 1:4449.01673N2.33078EA335108
279351B2023/2/22 1:4449.0168N2.33067EA334107
280352B2023/2/22 1:4449.01687N2.33059EA334109
281353B2023/2/22 1:4449.01696N2.33053EA332110
282354B2023/2/22 1:4449.01706N2.33047EA331110
283355B2023/2/22 1:4449.01718N2.33045EA330111
284356B2023/2/22 1:4449.01728N2.33044EA329111
285357B2023/2/22 1:4449.0174N2.33046EA328112
286358B2023/2/22 1:4449.01752N2.33049EA327112
287359B2023/2/22 1:4449.01762N2.33056EA327112
288360B2023/2/22 1:4449.01772N2.33062EA326112
289361B2023/2/22 1:4449.01781N2.33071EA325112
290362B2023/2/22 1:4449.01789N2.33078EA325113
291363B2023/2/22 1:4449.01795N2.33089EA324112
292364B2023/2/22 1:4449.018N2.33101EA323112
293365B2023/2/22 1:4449.01804N2.33113EA322111
294366B2023/2/22 1:4449.01807N2.33128EA321111
295367B2023/2/22 1:4449.0181N2.33143EA320111
296368B2023/2/22 1:4449.01811N2.33156EA319110
297369B2023/2/22 1:4449.01812N2.33171EA317110
298370B2023/2/22 1:4449.01813N2.33184EA316111
299371B2023/2/22 1:4449.01813N2.332EA315111
300373B2023/2/22 1:4449.01814N2.33215EA313111
301374B2023/2/22 1:4449.01814N2.33228EA312112
302375B2023/2/22 1:4449.01814N2.33244EA311113
303376B2023/2/22 1:4449.01815N2.33257EA311114
304377B2023/2/22 1:4449.01817N2.33271EA311114
305378B2023/2/22 1:4549.01819N2.33287EA311113
306379B2023/2/22 1:4549.01822N2.33301EA311113
307380B2023/2/22 1:4549.01827N2.33315EA311112
308381B2023/2/22 1:4549.01833N2.33326EA310112
309382B2023/2/22 1:4549.01842N2.33337EA309113
310383B2023/2/22 1:4549.01851N2.33346EA307114
311384B2023/2/22 1:4549.01861N2.33354EA306114
312385B2023/2/22 1:4549.01872N2.3336EA305115
313386B2023/2/22 1:4549.01884N2.33362EA305116
314387B2023/2/22 1:4549.01896N2.33362EA304118
315388B2023/2/22 1:4549.01908N2.33359EA304119
316389B2023/2/22 1:4549.0192N2.33352EA304119
317390B2023/2/22 1:4549.0193N2.33344EA304119
318391B2023/2/22 1:4549.0194N2.33334EA304119
319392B2023/2/22 1:4549.01948N2.33319EA304118
320393B2023/2/22 1:4549.01954N2.33306EA304118
321394B2023/2/22 1:4549.01958N2.3329EA303118
322395B2023/2/22 1:4549.01961N2.33273EA302117
323396B2023/2/22 1:4549.01961N2.33257EA301116
324397B2023/2/22 1:4549.0196N2.33239EA300114
325398B2023/2/22 1:4549.01956N2.33224EA299114
326400B2023/2/22 1:4549.01951N2.33208EA297114
327401B2023/2/22 1:4549.01944N2.33191EA296113
328402B2023/2/22 1:4549.01936N2.33179EA294113
329403B2023/2/22 1:4549.01927N2.33167EA293113
330404B2023/2/22 1:4549.01916N2.33157EA292114
331405B2023/2/22 1:4549.01905N2.33149EA292115
332406B2023/2/22 1:4549.01892N2.33144EA291115
333407B2023/2/22 1:4549.0188N2.33138EA291115
334408B2023/2/22 1:4549.01867N2.33135EA291116
335409B2023/2/22 1:4549.01854N2.33134EA290116
336410B2023/2/22 1:4549.01841N2.33133EA290116
337411B2023/2/22 1:4549.01827N2.33135EA290114
338412B2023/2/22 1:4549.01813N2.33139EA290112
339413B2023/2/22 1:4549.018N2.33146EA290110
340414B2023/2/22 1:4549.01788N2.33155EA289110
341415B2023/2/22 1:4549.01777N2.33167EA287110
342416B2023/2/22 1:4549.01769N2.33181EA285111
343417B2023/2/22 1:4549.01761N2.33197EA281110
344418B2023/2/22 1:4549.01756N2.33212EA280110
345419B2023/2/22 1:4549.01752N2.33229EA279109
346420B2023/2/22 1:4549.01751N2.33246EA278109
347421B2023/2/22 1:4549.0175N2.33263EA278109
348422B2023/2/22 1:4549.01749N2.33281EA276110
349423B2023/2/22 1:4549.0175N2.33298EA275111
350424B2023/2/22 1:4549.01751N2.33315EA274112
351425B2023/2/22 1:4549.01752N2.3333EA274113
352427B2023/2/22 1:4549.01753N2.33346EA273114
353428B2023/2/22 1:4549.01754N2.33362EA273116
354429B2023/2/22 1:4549.01755N2.33378EA273117
355430B2023/2/22 1:4549.01756N2.33394EA274119
356431B2023/2/22 1:4549.01757N2.33408EA275118
357432B2023/2/22 1:4549.01759N2.33424EA275117
358433B2023/2/22 1:4549.0176N2.3344EA275115
359434B2023/2/22 1:4549.01762N2.33454EA275115
360435B2023/2/22 1:4549.01764N2.33469EA275114
361436B2023/2/22 1:4549.01766N2.33486EA274113
362437B2023/2/22 1:4549.01767N2.33501EA273114
363438B2023/2/22 1:4549.01769N2.33515EA270114
364439B2023/2/22 1:4549.0177N2.33531EA269114
365440B2023/2/22 1:4649.0177N2.33548EA268113
366441B2023/2/22 1:4649.0177N2.33564EA267113
367442B2023/2/22 1:4649.01771N2.33581EA266112
368443B2023/2/22 1:4649.01772N2.33596EA265110
369444B2023/2/22 1:4649.01773N2.33613EA264109
370445B2023/2/22 1:4649.01774N2.3363EA263107
371446B2023/2/22 1:4649.01773N2.33649EA261105
372447B2023/2/22 1:4649.01776N2.33666EA259103
373448B2023/2/22 1:4649.01781N2.33683EA257101
374449B2023/2/22 1:4649.01787N2.33701EA255100
375450B2023/2/22 1:4649.01792N2.33719EA25399
376451B2023/2/22 1:4649.01797N2.33736EA25098
377452B2023/2/22 1:4649.01802N2.33753EA24899
378453B2023/2/22 1:4649.01805N2.33772EA24699
379454B2023/2/22 1:4649.01807N2.33791EA245102
380455B2023/2/22 1:4649.01809N2.33809EA245106
381456B2023/2/22 1:4649.01788N2.33835EA244110
382457B2023/2/22 1:4649.01792N2.33852EA244112
383458B2023/2/22 1:4649.018N2.33869EA244114
384459B2023/2/22 1:4649.01803N2.33886EA246116
385460B2023/2/22 1:4649.01807N2.33898EA246116
386461B2023/2/22 1:4649.01786N2.33925EA247115
387462B2023/2/22 1:4649.01787N2.33942EA247115
388463B2023/2/22 1:4649.01789N2.33958EA247114
389464B2023/2/22 1:4649.01791N2.33973EA246113
390465B2023/2/22 1:4649.01792N2.3399EA245113
391466B2023/2/22 1:4649.01792N2.34008EA244113
392467B2023/2/22 1:4649.01792N2.34025EA242112
393468B2023/2/22 1:4649.01792N2.34043EA241112
394469B2023/2/22 1:4649.01793N2.34061EA239112
395470B2023/2/22 1:4649.01793N2.34078EA237112
396471B2023/2/22 1:4649.01793N2.34095EA236113
397472B2023/2/22 1:4649.01792N2.34113EA234114
398473B2023/2/22 1:4649.01792N2.34129EA233116
399474B2023/2/22 1:4649.01791N2.34146EA233117
400475B2023/2/22 1:4649.01776N2.34156EA232118
401476B2023/2/22 1:4649.01773N2.34172EA232117
402477B2023/2/22 1:4649.01772N2.34195EA232115
403478B2023/2/22 1:4649.01773N2.34212EA232113
404479B2023/2/22 1:4649.01773N2.34229EA232111
405480B2023/2/22 1:4649.01772N2.34251EA229109
406481B2023/2/22 1:4649.01774N2.34267EA227108
407482B2023/2/22 1:4649.01775N2.34282EA225107
408483B2023/2/22 1:4649.01775N2.34298EA224107
409484B2023/2/22 1:4649.01773N2.34312EA222108
410485B2023/2/22 1:4649.01774N2.34327EA221108
411486B2023/2/22 1:4649.01763N2.34338EA220109
412487B2023/2/22 1:4649.01748N2.34349EA220110
413488B2023/2/22 1:4649.01734N2.34357EA220112
414489B2023/2/22 1:4649.0172N2.34364EA220114
415490B2023/2/22 1:4649.01705N2.3437EA220114
416491B2023/2/22 1:4649.0169N2.34374EA220115
417492B2023/2/22 1:4649.01676N2.3438EA219116
418493B2023/2/22 1:4649.01661N2.34384EA219117
419494B2023/2/22 1:4649.01646N2.34388EA218118
420495B2023/2/22 1:4649.01631N2.34391EA217119
421496B2023/2/22 1:4649.01617N2.34396EA216120
422497B2023/2/22 1:4649.01602N2.34399EA216119
423498B2023/2/22 1:4649.01587N2.34402EA216120
424499B2023/2/22 1:4649.01572N2.34407EA216120
425500B2023/2/22 1:4749.01557N2.3441EA215121
426501B2023/2/22 1:4749.01542N2.34412EA214120
427502B2023/2/22 1:4749.01527N2.34412EA213119
428503B2023/2/22 1:4749.01513N2.3441EA212119
429504B2023/2/22 1:4749.01499N2.34408EA211119
430505B2023/2/22 1:4749.01485N2.34401EA210119
431506B2023/2/22 1:4749.01473N2.34393EA208119
432507B2023/2/22 1:4749.01462N2.34383EA208119
433508B2023/2/22 1:4749.01453N2.34372EA207120
434509B2023/2/22 1:4749.01445N2.34358EA207121
435510B2023/2/22 1:4749.01439N2.34346EA207119
436511B2023/2/22 1:4749.01437N2.3433EA204115
437512B2023/2/22 1:4749.01436N2.34315EA201111
438513B2023/2/22 1:4749.01435N2.34299EA197109
439514B2023/2/22 1:4749.01434N2.34283EA192108
440515B2023/2/22 1:4749.01432N2.34267EA186107
441516B2023/2/22 1:4749.01424N2.34251EA183106
442517B2023/2/22 1:4749.01423N2.34236EA179104
443518B2023/2/22 1:4749.01423N2.3422EA176102
444519B2023/2/22 1:4749.01423N2.34203EA173101
445520B2023/2/22 1:4749.01422N2.34185EA170100
446521B2023/2/22 1:4749.01421N2.34169EA167100
447522B2023/2/22 1:4749.01421N2.34152EA163100
448523B2023/2/22 1:4749.0142N2.34137EA157102
449524B2023/2/22 1:4749.0142N2.34121EA154102
450525B2023/2/22 1:4749.0142N2.34104EA152102
451526B2023/2/22 1:4749.01419N2.34089EA150102
452527B2023/2/22 1:4749.01418N2.34074EA149100
453528B2023/2/22 1:4749.01418N2.34058EA14799
454529B2023/2/22 1:4749.01417N2.34041EA14498
455530B2023/2/22 1:4749.01416N2.34025EA14297
456531B2023/2/22 1:4749.01415N2.34009EA13996
457532B2023/2/22 1:4749.01413N2.33994EA13694
458533B2023/2/22 1:4749.01412N2.33978EA13393
459534B2023/2/22 1:4749.01411N2.33961EA13092
460535B2023/2/22 1:4749.0141N2.33945EA12693
461536B2023/2/22 1:4749.01409N2.3393EA12394
462537B2023/2/22 1:4749.01408N2.33915EA12096
463538B2023/2/22 1:4749.01407N2.33899EA11797
464539B2023/2/22 1:4749.01406N2.33886EA11599
465540B2023/2/22 1:4749.01407N2.33871EA114106
466541B2023/2/22 1:4749.01407N2.33859EA113109
467542B2023/2/22 1:4749.01408N2.33847EA113113
468543B2023/2/22 1:4749.01408N2.33835EA113115
469544B2023/2/22 1:4749.01408N2.33826EA113117
470545B2023/2/22 1:4749.01407N2.33816EA114118
471546B2023/2/22 1:4749.01406N2.33806EA114119
472547B2023/2/22 1:4749.01405N2.33798EA115120
473548B2023/2/22 1:4749.01403N2.33789EA115120
474549B2023/2/22 1:4749.01403N2.33781EA115121
475550B2023/2/22 1:4749.01401N2.33773EA115121
476551B2023/2/22 1:4749.014N2.33766EA116121
477552B2023/2/22 1:4749.01399N2.33761EA116122
478553B2023/2/22 1:4749.01398N2.33755EA116122
479554B2023/2/22 1:4749.01397N2.33748EA116122
480555B2023/2/22 1:4749.01397N2.33743EA117122
481556B2023/2/22 1:4749.01396N2.33737EA117121
482557B2023/2/22 1:4749.01396N2.33733EA117121
483558B2023/2/22 1:4749.01395N2.33728EA117121
484559B2023/2/22 1:4749.01394N2.33724EA117121
485560B2023/2/22 1:4849.01394N2.33719EA117120
486561B2023/2/22 1:4849.01393N2.33715EA118120
487562B2023/2/22 1:4849.01393N2.3371EA118120
488563B2023/2/22 1:4849.01392N2.33708EA118120
489564B2023/2/22 1:4849.01391N2.33704EA118120
490565B2023/2/22 1:4849.01391N2.33701EA118120
491566B2023/2/22 1:4849.01391N2.33699EA118120
492567B2023/2/22 1:4849.01391N2.33697EA118119
493568B2023/2/22 1:4849.0139N2.33694EA118119
494569B2023/2/22 1:4849.0139N2.33693EA118119
495570B2023/2/22 1:4849.0139N2.33692EA118119
496571B2023/2/22 1:4849.0139N2.33691EA118119
497572B2023/2/22 1:4849.01391N2.33691EA118119
498573B2023/2/22 1:4849.01391N2.3369EA118119
499574B2023/2/22 1:4849.01391N2.33689EA118119
500575B2023/2/22 1:4849.01391N2.33689EA118119
501576B2023/2/22 1:4849.01391N2.33687EA118119
502577B2023/2/22 1:4849.01391N2.33687EA118119
503578B2023/2/22 1:4849.01391N2.33687EA118119
504579B2023/2/22 1:4849.0139N2.33687EA118118
505580B2023/2/22 1:4849.0139N2.33687EA118119
506581B2023/2/22 1:4849.0139N2.33687EA118119

↓.igcファイルについてはこちら

それではいってみよう

ソースコード

ソースコード全文はこれ

.pyファイルと同じディレクトリに.igcファイルが置かれていることを想定している

import datetime
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

# Import IGC file from current directory
path = '2023-02-22-XNA-9AD179D6D6F04DDD95474658245E6D4F-01.igc'
with open(path) as f:
    igcfile = f.readlines()

# Extract B-record from IGC file
date = datetime.date(int(path.split('-')[0]),int(path.split('-')[1]),int(path.split('-')[2]))
igcfile = [line.rstrip("\n") for line in igcfile]
igc_B = [[igcfile.index(lines),lines] for lines in igcfile if 'B' in lines[0] if 'A' in lines]
list_B = [[lines[0],lines[1][0],lines[1][1:7],lines[1][7:14],lines[1][14],lines[1][15:23],lines[1][23],lines[1][24],lines[1][25:30],lines[1][30:]] for lines in igc_B]

# Convert text of B-record to values
idx=0
for _ in list_B:
  list_B[idx][2] = datetime.datetime(date.year,date.month,date.day,int(list_B[idx][2][:2]),int(list_B[idx][2][2:4]),int(list_B[idx][2][4:]))
  list_B[idx][3] = float(list_B[idx][3])/100000.
  list_B[idx][5] = float(list_B[idx][5])/100000.
  list_B[idx][8] = float(list_B[idx][8])
  list_B[idx][9] = float(list_B[idx][9])
  idx+=1

# Create dataframe from list of records and export it as CSV file
df_B = pd.DataFrame(list_B,columns=['igc_index', 'record_type', 'UTC_time','latitude','NS','longitude','EW','fix_validity','press_alt','GNSS_alt'])
df_B.to_csv(path[:-4]+".csv")

↓Git hub

https://github.com/mtkbirdman/mtkbirdman.com/tree/master/igc

↓Google colaboratoryはこちら

igc - Google ドライブ

解説

少しずつ解説する

# Import IGC file from current directory

path = '2023-02-22-XNA-9AD179D6D6F04DDD95474658245E6D4F-01.igc'
with open(path) as f:
    igcfile = f.readlines()

.igcファイルを開き,f.readlines()で1行ずつ読み込む

# Extract B-record from IGC file

date = datetime.date(int(path.split('-')[0]),int(path.split('-')[1]),int(path.split('-')[2]))

datetime.date()を使ってpathから年月日を抽出する

https://docs.python.org/3/library/datetime.html

igcfile = [line.rstrip("\n") for line in igcfile]

.igcファイルを行ごとに読み込んで作成したリストigcfileの各要素から改行コードを削除する

igc_B = [[igcfile.index(lines),lines] for lines in igcfile if 'B' in lines[0] if 'A' in lines]

igcfileの要素から「1文字目がBかつAを含むもの(=B recordかつ3次元データ)」を抽出する

このとき,抜き出したB recordがigcfileの何番目の要素だったかを記録しておく

[[(igcfileでのindex), (B record 1)],[(igcfileでのindex), (B record 2)],...[(igcfileでのindex), (B record n)]]

list_B = [[lines[0],lines[1][0],lines[1][1:7],lines[1][7:14],lines[1][14],lines[1][15:23],lines[1][23],lines[1][24],lines[1][25:30],lines[1][30:]] for lines in igc_B]

B recordを各項目ごとのリストに分割する

例)B 014018 4901379 N 00233343 E A 00339 00181

  • lines[1][0]:B
  • lines[1][1:7]:014018
  • lines[1][7:14]:4901379
  • lines[1][14]:N
  • lines[1][15:23]:00233343
  • lines[1][23]:E
  • lines[1][24]:A
  • lines[1][25:30]:00339
  • lines[1][30:]:00181

# Convert text of B-record to values

idx=0
for _ in list_B:
  list_B[idx][2] = datetime.datetime(date.year,date.month,date.day,int(list_B[idx][2][:2]),int(list_B[idx][2][2:4]),int(list_B[idx][2][4:]))
  list_B[idx][3] = float(list_B[idx][3])/100000.
  list_B[idx][5] = float(list_B[idx][5])/100000.
  list_B[idx][8] = float(list_B[idx][8])
  list_B[idx][9] = float(list_B[idx][9])
  idx+=1

B recordの各項目の記録(テキスト形式)を数値などに変換する

例)B 014018 4901379 N 00233343 E A 00339 00181

  • lines[1][0]:B
  • lines[idx][2]:014018 → 2023/2/22 1:40:18
  • lines[idx][3]:4901379 → 49.01379
  • lines[idx][5]:00233343 → 2.33343
  • lines[idx][8]:00339 → 339
  • lines[idx][9]:00181 → 181

# Create dataframe from list of records and export it as CSV file

df_B = pd.DataFrame(list_B,columns=['igc_index', 'record_type', 'UTC_time','latitude','NS','longitude','EW','fix_validity','press_alt','GNSS_alt'])
df_B.to_csv(path[:-4]+".csv")

pd.DataFrameを使ってlist_Bをデータフレームに変換し,.to_csv()でCSVファイルとして出力する

https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_csv.html

実行例

以下のコマンドでigcfile.pyを実行する

python igcfile.py

igcfile.pyと同じディレクトリに*.csvが作成される

/mnt/c/Users/mtkbirdman/Desktop/igc
├── 2023-02-22-XNA-9AD179D6D6F04DDD95474658245E6D4F-01.csv
├── 2023-02-22-XNA-9AD179D6D6F04DDD95474658245E6D4F-01.igc
└── igcfile.py

↓pythonのインストールはこちら

おわりに

グライダーなどのフライトログに使われる.igc形式のフライトログをCSVデータに変換するPythonプログラムについて説明した

↓フライトログ記録アプリ

SeeYou Navigator – Naviter.com
‎SeeYou Navigator
‎Want to fly light-weight? Just going for a quick flight or two and don’t want all the heavy equipment? Install SeeYou N...

↓関連記事

コメント