Changeset 8720 in ntrip for trunk/BNC


Ignore:
Timestamp:
May 3, 2019, 10:00:08 AM (5 years ago)
Author:
stuerze
Message:

Update of the transformation parameters IRTF2014 => DREF91

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8689 r8720  
    106106  // -----------------------------
    107107  // Transformation Parameters from ITRF2014 to ETRF2000
     108  // EUREF Technical Note 1 Relationship and Transformation between the ITRF and ETRF
     109  // Zuheir Altamimi, June 28, 2018
    108110  if (_crdTrafo == "ETRF2000") {
    109     _dx  =  0.0537;
    110     _dy  =  0.0512;
    111     _dz  = -0.0551;
     111    _dx  =  0.0547;
     112    _dy  =  0.0522;
     113    _dz  = -0.0741;
     114
    112115    _dxr =  0.0001;
    113116    _dyr =  0.0001;
    114117    _dzr = -0.0019;
    115     _ox  = -0.000891;
    116     _oy  = -0.005390;
    117     _oz  =  0.008712;
    118     _oxr = -0.000081;
    119     _oyr = -0.000490;
    120     _ozr = +0.000792;
    121     _sc  =  1.02;
     118
     119    _ox  =  0.001701;
     120    _oy  =  0.010290;
     121    _oz  = -0.016632;
     122
     123    _oxr =  0.000081;
     124    _oyr =  0.000490;
     125    _ozr = -0.000729;
     126
     127    _sc  =  2.12;
    122128    _scr =  0.11;
    123     _t0  =  2000.0;
     129
     130    _t0  =  2010.0;
    124131  }
    125132  // Transformation Parameters from ITRF2014 to GDA2020 (Ryan Ruddick, GA)
     
    128135    _dy  = 0.0;
    129136    _dz  = 0.0;
     137
    130138    _dxr = 0.0;
    131139    _dyr = 0.0;
    132140    _dzr = 0.0;
     141
    133142    _ox  = 0.0;
    134143    _oy  = 0.0;
    135144    _oz  = 0.0;
     145
    136146    _oxr = 0.00150379;
    137147    _oyr = 0.00118346;
    138148    _ozr = 0.00120716;
     149
    139150    _sc  = 0.0;
    140151    _scr = 0.0;
     152
    141153    _t0  = 2020.0;
    142154  }
     
    146158    _dy  =  0.0018;
    147159    _dz  = -0.0061;
     160
    148161    _dxr =  0.0000;
    149162    _dyr =  0.0000;
    150163    _dzr =  0.0000;
    151     _ox  =  0.000170;
    152     _oy  = -0.000030;
    153     _oz  =  0.000070;
     164
     165    _ox  =  0.000000;
     166    _oy  =  0.000000;
     167    _oz  =  0.000000;
     168
    154169    _oxr =  0.000000;
    155170    _oyr =  0.000000;
    156171    _ozr =  0.000000;
    157     _sc  = -1.000;
    158     _scr =  0.000;
    159     _t0  =  2000.4;
     172
     173    _sc  = -1.00000;
     174    _scr =  0.00000;
     175    _t0  =  2000.0;
    160176  }
    161177  // Transformation Parameters from ITRF2014 to DREF91
    162178  else if (_crdTrafo == "DREF91") {
    163     _dx  =  0.0537;
    164     _dy  =  0.0512;
    165     _dz  = -0.0551;
     179    _dx  =  0.0547;
     180    _dy  =  0.0522;
     181    _dz  = -0.0741;
     182
    166183    _dxr =  0.0001;
    167184    _dyr =  0.0001;
    168185    _dzr = -0.0019;
    169     _ox  = -0.000233;
    170     _oy  = -0.005598;
    171     _oz  =  0.009467;
    172     _oxr = -0.000081;
    173     _oyr = -0.000490;
    174     _ozr =  0.000792;
    175     _sc  =  1.02;
     186    // ERTF200  + rotation parameters (ETRF200 => DREF91)
     187    _ox  =  0.001701 + 0.000658;
     188    _oy  =  0.010290 - 0.000208;
     189    _oz  = -0.016632 + 0.000755;
     190
     191    _oxr =  0.000081;
     192    _oyr =  0.000490;
     193    _ozr = -0.000729;
     194
     195    _sc  =  2.12;
    176196    _scr =  0.11;
    177     _t0  =  2000.0;
     197
     198    _t0  =  2010.0;
    178199  }
    179200  else if (_crdTrafo == "Custom") {
     
    226247    return;
    227248  }
    228   int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*');
    229 if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer?
    230     _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier);
    231   }
    232249  else {
    233250    _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBeg);
    234251  }
    235252
    236   int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of first epoch
     253  int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of last epoch
    237254  if (iEpoEnd == -1) {
    238255    return;
Note: See TracChangeset for help on using the changeset viewer.