Class RinexObservationParser
- java.lang.Object
-
- org.orekit.files.rinex.observation.RinexObservationParser
-
public class RinexObservationParser extends Object
Parser for Rinex measurements files.Supported versions are: 2.00, 2.10, 2.11, 2.12 (unofficial), 2.20 (unofficial), 3.00, 3.01, 3.02, 3.03, 3.04, 3.05, and 4.00.
- Since:
- 12.0
- See Also:
- rinex 2.0, rinex 2.10, rinex 2.11, unofficial rinex 2.12, unofficial rinex 2.20, rinex 3.00, rinex 3.01, rinex 3.02, rinex 3.03, rinex 3.04, rinex 3.05, rinex 4.00
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_RINEX_2_NAMES
Default name pattern for rinex 2 observation files.static String
DEFAULT_RINEX_3_NAMES
Default name pattern for rinex 3 observation files.
-
Constructor Summary
Constructors Constructor Description RinexObservationParser()
Simple constructor.RinexObservationParser(Function<? super String,? extends ObservationType> typeBuilder, BiFunction<SatelliteSystem,TimeScales,? extends TimeScale> timeScaleBuilder, TimeScales timeScales)
Create a RINEX loader/parser with the given source of RINEX auxiliary data files.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RinexObservation
parse(DataSource source)
Parse RINEX observations messages.
-
-
-
Field Detail
-
DEFAULT_RINEX_2_NAMES
public static final String DEFAULT_RINEX_2_NAMES
Default name pattern for rinex 2 observation files.- See Also:
- Constant Field Values
-
DEFAULT_RINEX_3_NAMES
public static final String DEFAULT_RINEX_3_NAMES
Default name pattern for rinex 3 observation files.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RinexObservationParser
@DefaultDataContext public RinexObservationParser()
Simple constructor.This constructor uses the
default data context
and recognizes onlyPredefinedObservationType
andSatelliteSystem
with non-nulltime scales
(i.e. neither user-defined, norSatelliteSystem.SBAS
, norSatelliteSystem.MIXED
).
-
RinexObservationParser
public RinexObservationParser(Function<? super String,? extends ObservationType> typeBuilder, BiFunction<SatelliteSystem,TimeScales,? extends TimeScale> timeScaleBuilder, TimeScales timeScales)
Create a RINEX loader/parser with the given source of RINEX auxiliary data files.- Parameters:
typeBuilder
- mapper from string to observation typetimeScaleBuilder
- mapper from satellite system to time scales (useful for user-defined satellite systems)timeScales
- the set of time scales to use when parsing dates- Since:
- 13.0
-
-
Method Detail
-
parse
public RinexObservation parse(DataSource source)
Parse RINEX observations messages.- Parameters:
source
- source providing the data to parse- Returns:
- parsed observations file
-
-