L
- type of the line parameters
D
- type of the solar activity data loader
public abstract class AbstractSolarActivityData<L extends AbstractSolarActivityDataLoader.LineParameters,D extends AbstractSolarActivityDataLoader<L>> extends Object implements DTM2000InputParameters, NRLMSISE00InputParameters
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractSolarActivityData.LocalSolarActivity
当前日期附近的天气参数容器。
|
protected class |
AbstractSolarActivityData.SolarActivityGenerator
用于天气数据缓存的生成器。
|
Modifier and Type | Field and Description |
---|---|
protected static int |
N_NEIGHBORS
列表的大小。
|
Modifier | Constructor and Description |
---|---|
|
AbstractSolarActivityData(DataSource source, D loader, TimeScale utc, int maxSlots, double maxSpan, double maxInterval, double minimumStep)
简单构造函数。
|
protected |
AbstractSolarActivityData(String supportedNames, D loader, DataProvidersManager dataProvidersManager, TimeScale utc, int maxSlots, double maxSpan, double maxInterval, double minimumStep) |
Modifier and Type | Method and Description |
---|---|
GenericTimeStampedCache<L> |
getCache()
获取底层缓存。
|
protected double |
getLinearInterpolation(AbsoluteDate date, Function<L,Double> solarActivityToDoubleMapper)
在两个值之间执行线性插值,权重是根据前一个日期、当前日期和下一个日期之间的时间差计算的。
|
protected double |
getLinearInterpolation(AbstractSolarActivityData.LocalSolarActivity localSolarActivity, Function<L,Double> solarActivityToDoubleMapper)
在两个值之间执行线性插值,权重是根据前一个日期、当前日期和下一个日期之间的时间差计算的。
|
AbsoluteDate |
getMaxDate()
获取可用数据范围的最大日期。
|
AbsoluteDate |
getMinDate()
获取可用数据范围的最小日期。
|
String |
getSupportedNames()
获取支持的名称正则表达式。
|
TimeScale |
getUTC()
获取UTC时间尺度。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get24HoursKp, getInstantFlux, getMeanFlux, getThreeHourlyKP
getAp, getAverageFlux, getDailyFlux
protected static final int N_NEIGHBORS
protected AbstractSolarActivityData(String supportedNames, D loader, DataProvidersManager dataProvidersManager, TimeScale utc, int maxSlots, double maxSpan, double maxInterval, double minimumStep)
public AbstractSolarActivityData(DataSource source, D loader, TimeScale utc, int maxSlots, double maxSpan, double maxInterval, double minimumStep)
protected double getLinearInterpolation(AbsoluteDate date, Function<L,Double> solarActivityToDoubleMapper)
date
- 当前日期
solarActivityToDoubleMapper
- 将太阳活动作为输入并返回双精度值的映射函数
protected double getLinearInterpolation(AbstractSolarActivityData.LocalSolarActivity localSolarActivity, Function<L,Double> solarActivityToDoubleMapper)
localSolarActivity
- 当前日期附近的太阳活动
solarActivityToDoubleMapper
- 将太阳活动作为输入并返回双精度值的映射函数
public GenericTimeStampedCache<L> getCache()
public String getSupportedNames()
public TimeScale getUTC()
public AbsoluteDate getMinDate()
getMinDate
在接口 DTM2000InputParameters
getMinDate
在接口 NRLMSISE00InputParameters
public AbsoluteDate getMaxDate()
getMaxDate
在接口 DTM2000InputParameters
getMaxDate
在接口 NRLMSISE00InputParameters
Copyright © 2002-2023 CS GROUP. All rights reserved.