标题:请教高手如何读取文件中具体数据
只看楼主
xushaoguangxsg
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2008-6-28
 问题点数:0 回复次数:0 
请教高手如何读取文件中具体数据
比如要读取某行某列的数据用什么语句?具体数据如下前面是头文件,后面是数据
    2.11           OBSERVATION DATA    G (GPS)             RINEX VERSION / TYPE
GPSNet 2.51 2653                        29-Jul-08 07:59:49  PGM / RUN BY / DATE
CDKC                                                        MARKER NAME
                                                            MARKER NUMBER
                                                            OBSERVER / AGENCY
4603204513          TRIMBLE NETRS       Nav  1.20 / Boot  1 REC # / TYPE / VERS
     0                                                      RCV CLOCK OFFS APPL
                    TRM41249.00                             ANT # / TYPE
 -1335374.1394  5325410.6572  3236183.3942                  APPROX POSITION XYZ
       -0.0533        0.0000        0.0000                  ANTENNA: DELTA H/E/N
     1     1     0                                          WAVELENGTH FACT L1/2
     9    C1    P2    C2    L1    L2    S1    S2    D1    D2# / TYPES OF OBSERV
    15.000                                                  INTERVAL
  2008     7    29     0     0    0.0000000     GPS         TIME OF FIRST OBS
                                                            END OF HEADER
 08  7 29  0  0  0.0000000  0 10G18G22G09G24G06G05G14G12G21G15
  20760086.688    20760082.559                   -24112656.81007 -17750889.22547
        48.000          36.000           0.000           0.000  
  22204307.992    22204302.508                   -16255524.21407 -12608313.32647
        48.000          32.000           0.000           0.000  
  20334359.805    20334357.031                   -27956870.18607 -20061602.12047
        50.000          38.000           0.000           0.000  
  23222982.461    23222981.285                    -9372251.45405  -6809280.11446
        41.000          27.000           0.000           0.000  
  24974760.781    24974758.395                    -2051879.88204    690980.29445
        38.000          17.000           0.000           0.000  
  24630949.047    24630947.082                    -4542351.64604  -2891850.16845
        38.000          16.000           0.000           0.000  
  22918694.172    22918691.719                   -11396625.55806  -6882698.76846
        43.000          27.000           0.000           0.000  
  24686522.953    24686519.520    24686520.457    -2840673.57005  -2188575.36545
        41.000          19.000           0.000           0.000  
  20428846.508    20428842.215                   -27194106.46507 -19987466.40147
        48.000          36.000           0.000           0.000  
  24159058.922    24159056.055    24159056.625    -6312340.80505  -4047538.88146
        42.000          22.000           0.000           0.000  
 08  7 29  0  0 15.0000000  0 10G18G22G09G24G06G05G14G12G21G15
  20757878.141    20757874.348                   -24124261.74807 -17759932.04047
        48.000          36.000           0.000           0.000  
  22198109.063    22198104.145                   -16288097.74507 -12633695.30046
        48.000          31.000           0.000           0.000  
  20335576.500    20335573.172                   -27950477.22807 -20056620.60347
        50.000          38.000           0.000           0.000  
  23232491.211    23232490.340                    -9322281.36005  -6770342.40746
        41.000          26.000           0.000           0.000  
  24977732.117    24977729.445                    -2036267.42004    703145.85445
        38.000          16.000           0.000           0.000  
  24623233.898    24623231.410                    -4582896.37905  -2923443.42145
        40.000          17.000           0.000           0.000  
  22913275.375    22913272.203                   -11425102.97205  -6904888.96346
        42.000          26.000           0.000           0.000  
  24679951.164    24679947.367    24679947.789    -2875212.38304  -2215488.69245
        39.000          19.000           0.000           0.000  
  20433223.945    20433220.012                   -27171102.48906 -19969541.22847
        47.000          37.000           0.000           0.000  
  24166824.430    24166821.059    24166821.863    -6271534.06505  -4015741.43446
        42.000          22.000           0.000           0.000
搜索更多相关主题的帖子: 数据 文件 MARKER DATA 
2008-08-09 22:52



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-227518-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014653 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved