public class ExtendedSolarActivityWrapper extends Object implements SolarActivityDataProvider
SolarActivityDataProvider
Constructor and Description |
---|
ExtendedSolarActivityWrapper(SolarActivityDataProvider innerProvider,
double duration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getAp(AbsoluteDate date)
Get Ap value at given user date
|
AbsoluteDate |
getApKpMaxDate()
Get maximum date of ap / kp values
|
AbsoluteDate |
getApKpMinDate()
Get minimum date of ap / kp values
|
SortedMap<AbsoluteDate,Double[]> |
getApKpValues(AbsoluteDate date1,
AbsoluteDate date2)
Get ap / kp values between the given dates
|
AbsoluteDate |
getFluxMaxDate()
Get maximum date of flux values
|
AbsoluteDate |
getFluxMinDate()
Get minimum date of flux values
|
double |
getInstantFluxValue(AbsoluteDate date)
Get instant flux values at the given dates (possibly interpolated)
|
SortedMap<AbsoluteDate,Double> |
getInstantFluxValues(AbsoluteDate date1,
AbsoluteDate date2)
Get raw instant flux values between the given dates
|
double |
getKp(AbsoluteDate date)
Get Kp value at given user date
|
AbsoluteDate |
getMaxDate()
Get maximum date at which both flux and ap values are available
|
AbsoluteDate |
getMinDate()
Get minimum date at which both flux and ap values are available
|
double |
getStepApKp()
Returns the step for Ap/Kp values.
|
double |
getStepF107()
Returns the step for F107 values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkApKpValidity, checkFluxValidity
public ExtendedSolarActivityWrapper(SolarActivityDataProvider innerProvider, double duration)
innerProvider
- underlying solar activity providerduration
- mean duration (s) for extension computation. If this duration is larger than available data
timespan, d will be equal to timespan lengthpublic AbsoluteDate getFluxMinDate()
getFluxMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getFluxMaxDate()
getFluxMaxDate
in interface SolarActivityDataProvider
public AbsoluteDate getMinDate()
getMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getMaxDate()
getMaxDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMinDate()
getApKpMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMaxDate()
getApKpMaxDate
in interface SolarActivityDataProvider
public double getInstantFluxValue(AbsoluteDate date) throws PatriusException
getInstantFluxValue
in interface SolarActivityDataProvider
date
- user datePatriusException
- if no solar activity at datepublic double getAp(AbsoluteDate date) throws PatriusException
getAp
in interface SolarActivityDataProvider
date
- user datePatriusException
- thrown if computation failedpublic double getKp(AbsoluteDate date) throws PatriusException
getKp
in interface SolarActivityDataProvider
date
- user datePatriusException
- thrown if computation failedpublic SortedMap<AbsoluteDate,Double> getInstantFluxValues(AbsoluteDate date1, AbsoluteDate date2) throws PatriusException
getInstantFluxValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second datePatriusException
- if no solar activity at datepublic SortedMap<AbsoluteDate,Double[]> getApKpValues(AbsoluteDate date1, AbsoluteDate date2) throws PatriusException
getApKpValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second datePatriusException
- if no solar activity at datepublic double getStepApKp() throws PatriusException
getStepApKp
in interface SolarActivityDataProvider
PatriusException
- thrown if computation failedpublic double getStepF107() throws PatriusException
getStepF107
in interface SolarActivityDataProvider
PatriusException
- thrown if computation failedCopyright © 2023 CNES. All rights reserved.