public class Dcb extends Object
This class is made to handle both station and satellite DCB data. Bias values are stored in TimeSpanMaps associated with a given pair of observation codes. Those TimeSpanMaps are stored in a Map, which associate a pair of observation code (as a HashSet of ObservationType) to a TimeSpanMap, encapsulated in a DCBCode object.
Constructor and Description |
---|
Dcb()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDcbLine(String obs1,
String obs2,
AbsoluteDate spanBegin,
AbsoluteDate spanEnd,
double biasValue)
Add the content of a DCB line to the DCBSatellite object.
|
HashSet<org.hipparchus.util.Pair<ObservationType,ObservationType>> |
getAvailableObservationPairs()
Get all available observation code pairs for the satellite.
|
double |
getDcb(ObservationType obs1,
ObservationType obs2,
AbsoluteDate date)
Get the value of the Differential Code Bias for a given observation pair
and a at a given date.
|
double |
getDcb(String obs1,
String obs2,
AbsoluteDate date)
Get the value of the Differential Code Bias for a given observation pair
and a at a given date.
|
AbsoluteDate |
getMaximumValidDateForObservationPair(ObservationType obs1,
ObservationType obs2)
Get the maximum valid date for a given observation pair.
|
AbsoluteDate |
getMaximumValidDateForObservationPair(String obs1,
String obs2)
Get the maximum valid date for a given observation pair.
|
AbsoluteDate |
getMinimumValidDateForObservationPair(ObservationType obs1,
ObservationType obs2)
Get the minimum valid date for a given observation pair.
|
AbsoluteDate |
getMinimumValidDateForObservationPair(String obs1,
String obs2)
Get the minimum valid date for a given observation pair.
|
public void addDcbLine(String obs1, String obs2, AbsoluteDate spanBegin, AbsoluteDate spanEnd, double biasValue)
The method check the presence of a Code pair in a map, and add values to the corresponding TimeSpanMap.
obs1
- String corresponding to the first code used for the DCB computationobs2
- String corresponding to the second code used for the DCB computationspanBegin
- Absolute Date corresponding to the beginning of the validity span for this bias valuespanEnd
- Absolute Date corresponding to the end of the validity span for this bias valuebiasValue
- DCB bias value expressed in S.I. unitspublic double getDcb(String obs1, String obs2, AbsoluteDate date)
obs1
- string corresponding to the first code used for the DCB computationobs2
- string corresponding to the second code used for the DCB computationdate
- date at which to obtain the DCBpublic double getDcb(ObservationType obs1, ObservationType obs2, AbsoluteDate date)
obs1
- first observation typeobs2
- second observation typedate
- date at which to obtain the DCBpublic HashSet<org.hipparchus.util.Pair<ObservationType,ObservationType>> getAvailableObservationPairs()
public AbsoluteDate getMinimumValidDateForObservationPair(String obs1, String obs2)
obs1
- sString corresponding to the first code used for the DCB computationobs2
- string corresponding to the second code used for the DCB computationpublic AbsoluteDate getMinimumValidDateForObservationPair(ObservationType obs1, ObservationType obs2)
obs1
- first observation typeobs2
- second observation typepublic AbsoluteDate getMaximumValidDateForObservationPair(String obs1, String obs2)
obs1
- string corresponding to the first code used for the DCB computationobs2
- string corresponding to the second code used for the DCB computationpublic AbsoluteDate getMaximumValidDateForObservationPair(ObservationType obs1, ObservationType obs2)
obs1
- first observation typeobs2
- second observation typeCopyright © 2002-2023 CS GROUP. All rights reserved.