public class RinexObservation extends Object
Modifier and Type | Method and Description |
---|---|
TimeIntervalCollection1<RinexObservationHeader> |
getHeaders()
|
TimeIntervalCollection1<RinexObservationRecord> |
getRecords()
|
TimeIntervalCollection1<RinexObservationSatRecord> |
getRecords(String prn)
Get all of the records for a specific satellite
|
static RinexObservation |
readFrom(BufferedReader reader)
Reads a RINEX Observation file from the specified stream reader.
|
static RinexObservation |
readFrom(InputStream stream)
Reads a RINEX Observation file from the specified stream.
|
static RinexObservation |
readFrom(String fileName)
Reads a RINEX Observation file from the specified filename.
|
@Nonnull public static RinexObservation readFrom(@Nonnull String fileName)
fileName
- The name of the file from which to read the observation data.RinexObservation
object representing the data in the file.ArgumentNullException
- Thrown when fileName
is null
.NumberFormatException
- Thrown when the format of the data is incorrect@Nonnull public static RinexObservation readFrom(@Nonnull InputStream stream)
stream
- The stream from which to read the observation data.RinexObservation
object representing the data in the file.@Nonnull public static RinexObservation readFrom(@Nonnull BufferedReader reader)
reader
- The stream from which to read the observation data.RinexObservation
object representing the data in the file.@Nonnull public final TimeIntervalCollection1<RinexObservationRecord> getRecords()
@Nonnull public final TimeIntervalCollection1<RinexObservationHeader> getHeaders()
TimeIntervalCollection
of RinexObservationHeaders
for this RinexObservation
. The times in the time interval collection represent the times the headers were relevant.@Nonnull public final TimeIntervalCollection1<RinexObservationSatRecord> getRecords(String prn)
prn
- The PRN of the satellite, with the system specifier appended to the beginning (ex. G12 for the GPS
satellite PRN 12).TimeIntervalCollection
where each interval corresponds to an observation, and the Data value
of each interval is the RinexObservationSatRecord
.