DiscFix Application
Definition
DiscFix reads a RINEX observation data file containing GPS dual-frequency pseudorange and carrier phase measurements, divides the data into 'satellite passes', and finds and fixes discontinuities in the phases for each pass. Output is a list of editing commands for use with program RinexEdit. DiscFix will (optionally) write the corrected pseudorange and phase data to a new RINEX observation file. Other options will also smooth the pseudorange and/or debias the corrected phase.
Command Summary
Required Arguments:
| Short Arg. | Long Arg. | Description |
| | --inputdir | File containing more options. |
| | --dt | Time space in seconds of the data. |
Optional Arguments:
| Short Arg. | Long Arg. | Description |
-f | --file | File containing more options. |
| | --beginTime | Start time of processing (BOF). |
| | --endTime | End time of processing (EOF). |
| | --deciminate | Decimate data to specified time interval, in seconds. |
| | --forceCA | Use C/A code range, NOT P code. Default only if P absent. |
| | --gap | Minimum data gap in seconds separating satellite passes (default 600). |
| | --onlySat | Process only satellite (GPS SatID, e.g. G21). |
| | --exSat | Exclude satellite(s) (GPSSatID). |
| | --smoothPR | Smooth pseudorange and output in place of raw pseudorange. |
| | --smooth | Same as =--smoothPR AND --smoothPH. |
| | --DCLabel | Set Discontinuity Corrector parameter 'label to 'value'. |
| | --DChelp | Print a list of GDC parameters and their defaults, then quit. |
| | --logOut | Output log file name (df.log). |
| | --cmdOut | Output file name, for editing commands (df.out). |
| | --format | Output tiem format (gpstk::CommonTime) (%4F %10.3g). |
| | --RinexFile | RINEX (observation) file name for output of corrected data. |
| | --RunBy | RINEX header 'Run By' string for output. |
| | --Observer | RINEX header 'Observer' string for output. |
| | --Agency | RINEX header 'Agency' string for output. |
| | --Marker | RINEX header 'Marker' string for output. |
| | --Number | RINEX header 'Number' string for output. |
-h | --help | Print this syntax page and quit. |
| | --verbose | Print extended output to the log file. |
Platforms Supported
This application has been succesfully used in Linux and Windows.
This application successfully build under these environments: linux-x86, linux-x86_64, solaris-ppc, Windows/.net2005, MacOS/X-Code.
Usage Examples
Linux/UNIX command line
Example use session from the GPSTk source distribution.
- Change to the examples directory. cd ~/svn/gpstk/dev/examples
- Execute DiscFix. Here are the standard recommended DiscFix? options.
DiscFix --inputfile YOUR_RINEX_FILE --dt 30 --smooth --DCWLFixMaxGap=3000 --DCGFFixMaxGap=250 --DCGFFixSigma=3.6 --RinexFile YOUR_OUTPUT_RINEX_FILE
See also:
- EditRinex - generating extended RINEX observation files