Changeset 9682 in ntrip


Ignore:
Timestamp:
Apr 8, 2022, 9:53:50 PM (2 years ago)
Author:
stuerze
Message:

units are changed now from m/sec into mm/sec for some ssr corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/satObs.cpp

    r8694 r9682  
    3636    }
    3737    *out << corr._prn.toString() << ' ' << setw(11) << corr._iod << ' '
    38          << setw(10) << setprecision(4) << corr._dClk       * t_CST::c << ' '
    39          << setw(10) << setprecision(4) << corr._dotDClk    * t_CST::c << ' '
    40          << setw(10) << setprecision(4) << corr._dotDotDClk * t_CST::c << endl;
     38         << setw(10) << setprecision(4) << corr._dClk       * t_CST::c      << ' '
     39         << setw(10) << setprecision(4) << corr._dotDClk    * t_CST::c *1.e3 << ' '    // m/s => mm/s
     40         << setw(10) << setprecision(4) << corr._dotDotDClk * t_CST::c *1.e3 << endl;  // m/s => mm/s
    4141  }
    4242  out->flush();
     
    7070    corr._dotDClk    /= t_CST::c;
    7171    corr._dotDotDClk /= t_CST::c;
     72
     73    corr._dotDClk    /= 1.e3;  // mm/s => m/s
     74    corr._dotDotDClk /= 1.e3;  // mm/s => m/s
    7275
    7376    corrList.push_back(corr);
     
    106109         << setw(10) << setprecision(4) << corr._xr[1]     << ' '
    107110         << setw(10) << setprecision(4) << corr._xr[2]     << "    "
    108          << setw(10) << setprecision(4) << corr._dotXr[0]  << ' '
    109          << setw(10) << setprecision(4) << corr._dotXr[1]  << ' '
    110          << setw(10) << setprecision(4) << corr._dotXr[2]  << endl;
     111         << setw(10) << setprecision(4) << corr._dotXr[0] * 1.e3  << ' '   // m/s => mm/s
     112         << setw(10) << setprecision(4) << corr._dotXr[1] * 1.e3  << ' '   // m/s => mm/s
     113         << setw(10) << setprecision(4) << corr._dotXr[2] * 1.e3 << endl;  // m/s => mm/s
    111114  }
    112115  out->flush();
     
    136139       >> corr._xr[0]    >> corr._xr[1]    >> corr._xr[2]
    137140       >> corr._dotXr[0] >> corr._dotXr[1] >> corr._dotXr[2];
     141
     142    corr._dotXr /= 1.e3; // mm/s => m/s
    138143
    139144    if (corr._prn.system() == 'E') {
Note: See TracChangeset for help on using the changeset viewer.