问题描述
2.10OBSERVATIONDATAG(GPS)RINEXVERSION/TYPEDAT2RINW3.10001120JUN138:48:11PGM/RUNBY/DATE11OBSERVER/AGENCY5104460319TRIMBLER8MODEL3Nav4.19Sig4.19REC#/TYPE/VERSTRM60158.00ANT#/TYPE-----------------------------------------------------------COMMENTOffsetfromBOTTOMOFANTENNAtoPHASECENTERis64.9mmCOMMENT-----------------------------------------------------------COMMENTG22MARKERNAME0319MARKERNUMBER-2489255.37424037825.78264249777.6842APPROXPOSITIONXYZ1.20320.00000.0000ANTENNA:DELTAH/E/N***AboveantennaheightisfrommarktoPHASECENTER.COMMENT-----------------------------------------------------------COMMENTNote:Theaboveheightistotheantennaphasecenter.COMMENTTheRINEXspecificationcallsforthistobetheCOMMENTheightfromthebottomsurfaceoftheantennamountCOMMENTtothesurveymark.COMMENTNote:TheaboveoffsetsareCORRECTED.COMMENTRawOffsets:H=1.1970E=0.0000N=0.0000COMMENT-----------------------------------------------------------COMMENT110WAVELENGTHFACTL1/26L1C1L2C2P2D1#/TYPESOFOBSERV10.000INTERVAL201361825610.0000000TIMEOFFIRSTOBS201361833650.0000000TIMEOFLASTOBS0RCVCLOCKOFFSAPPL7#OFSATELLITES142452452450245245PRN/#OFOBS162452452450245245PRN/#OFOBS202442442440244244PRN/#OFOBS231161181180118116PRN/#OFOBS252422452452450242PRN/#OFOBS292452452452450245PRN/#OFOBS312452452452450245PRN/#OFOBSENDOFHEADER1361825610.0000000051416252931113625310.5171721622177.7500788539222.982570.0000021622183.047470.00000122876021.0361523382529.4770595747578.229560.0000023382537.102460.00000上面是一个.*o格式的文本,我要提取出图片所示的内容。求大神指点。
解决方案
解决方案二:
最好看他咋个写入的···才能更加准确的使用读取
解决方案三:
这东西你还是自己看吧,反正说白了就是正则正则正则
解决方案四:
数据格式都是固定的不用正则,整个都放到字符串里,从前往后挨个一行一行找也能找的到啊
解决方案五:
没什么好说的,找规律,解析字符串。