Changeset 8710 in ntrip


Ignore:
Timestamp:
Apr 30, 2019, 12:57:56 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r8686 r8710  
    107107    _dy  =  0.0512;
    108108    _dz  = -0.0551;
     109
    109110    _dxr =  0.0001;
    110111    _dyr =  0.0001;
    111112    _dzr = -0.0019;
     113
    112114    _ox  = -0.000891;
    113115    _oy  = -0.005390;
    114116    _oz  =  0.008712;
     117
    115118    _oxr = -0.000081;
    116119    _oyr = -0.000490;
    117     _ozr = +0.000792;
    118     _sc  =  1.02;
    119     _scr =  0.11;
     120    _ozr =  0.000792;
     121
     122    _sc  =  0.00102;
     123    _scr =  0.00011;
     124
    120125    _t0  =  2000.0;
    121126  }
     
    125130    _dy  = 0.0;
    126131    _dz  = 0.0;
     132
    127133    _dxr = 0.0;
    128134    _dyr = 0.0;
    129135    _dzr = 0.0;
     136
    130137    _ox  = 0.0;
    131138    _oy  = 0.0;
    132139    _oz  = 0.0;
     140
    133141    _oxr = 0.00150379;
    134142    _oyr = 0.00118346;
    135143    _ozr = 0.00120716;
     144
    136145    _sc  = 0.0;
    137146    _scr = 0.0;
     147
    138148    _t0  = 2020.0;
    139149  }
     
    143153    _dy  =  0.0018;
    144154    _dz  = -0.0061;
     155
    145156    _dxr =  0.0000;
    146157    _dyr =  0.0000;
    147158    _dzr =  0.0000;
    148     _ox  =  0.000170;
    149     _oy  = -0.000030;
    150     _oz  =  0.000070;
     159
     160    _ox  =  0.000000;
     161    _oy  =  0.000000;
     162    _oz  =  0.000000;
     163
    151164    _oxr =  0.000000;
    152165    _oyr =  0.000000;
    153166    _ozr =  0.000000;
    154     _sc  = -1.000;
    155     _scr =  0.000;
    156     _t0  =  2000.4;
     167
     168    _sc  = -0.00100;
     169    _scr =  0.00000;
     170    _t0  =  2000.0;
    157171  }
    158172  // Transformation Parameters from ITRF2014 to DREF91
     
    161175    _dy  =  0.0512;
    162176    _dz  = -0.0551;
     177
    163178    _dxr =  0.0001;
    164179    _dyr =  0.0001;
    165180    _dzr = -0.0019;
     181
    166182    _ox  = -0.000233;
    167183    _oy  = -0.005598;
    168184    _oz  =  0.009467;
     185
    169186    _oxr = -0.000081;
    170187    _oyr = -0.000490;
    171188    _ozr =  0.000792;
    172     _sc  =  1.02;
    173     _scr =  0.11;
     189
     190    _sc  =  0.00102;
     191    _scr =  0.00011;
     192
    174193    _t0  =  2000.0;
    175194  }
     
    223242    return;
    224243  }
    225   int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*');
    226   if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer?
    227     _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier);
    228   }
    229   else {
     244    else {
    230245    _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBeg);
    231246  }
    232247
    233   int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of first epoch
     248  int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of last epoch
    234249  if (iEpoEnd == -1) {
    235250    return;
    236251  }
    237252  else {
    238     lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n',
     253    lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', 
    239254        QString::SkipEmptyParts);
    240255    _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
     
    24472462  double oz = (_oz + dt * _ozr) / arcSec;
    24482463
    2449   double sc = 1.0 + _sc * 1e-9 + dt * _scr * 1e-9;
     2464  double sc = 1.0 + _sc * 1e-6 + dt * _scr * 1e-6;
    24502465
    24512466  // Specify approximate center of area
Note: See TracChangeset for help on using the changeset viewer.