Class AbstractSolarActivityDataLoader<L extends AbstractSolarActivityDataLoader.LineParameters>
java.lang.Object
org.orekit.models.earth.atmosphere.data.AbstractSolarActivityDataLoader<L>
- Type Parameters:
L- type of the line parameters
- All Implemented Interfaces:
DataLoader
- Direct Known Subclasses:
CssiSpaceWeatherDataLoader,MarshallSolarActivityFutureEstimationLoader
public abstract class AbstractSolarActivityDataLoader<L extends AbstractSolarActivityDataLoader.LineParameters>
extends Object
implements DataLoader
Abstract class for solar activity data loader.
- Since:
- 12.0
- Author:
- Vincent Cucchietti
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContainer class for Solar activity indexes. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the data set.Gets the available data range maximum date.Gets the available data range minimum date.getUTC()Get the UTC timescale.voidsetMaxDate(AbsoluteDate date) Set the available data range maximum date.voidsetMinDate(AbsoluteDate date) Set the available data range minimum date.booleanCheck if the loader still accepts new data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.data.DataLoader
loadData
-
Constructor Details
-
AbstractSolarActivityDataLoader
Constructor.- Parameters:
utc- UTC time scale
-
-
Method Details
-
stillAcceptsData
public boolean stillAcceptsData()Check if the loader still accepts new data.This method is used to speed up data loading by interrupting crawling the data sets as soon as a loader has found the data it was waiting for. For loaders that can merge data from any number of sources (for example JPL ephemerides or Earth Orientation Parameters that are split among several files), this method should always return true to make sure no data is left over.
- Specified by:
stillAcceptsDatain interfaceDataLoader- Returns:
- true while the loader still accepts new data
-
getDataSet
Get the data set.- Returns:
- the data set
-
getUTC
Get the UTC timescale.- Returns:
- the UTC timescale
-
getMinDate
Gets the available data range minimum date.- Returns:
- the minimum date.
-
getMaxDate
Gets the available data range maximum date.- Returns:
- the maximum date.
-
setMinDate
Set the available data range minimum date.- Parameters:
date- available data range minimum date
-
setMaxDate
Set the available data range maximum date.- Parameters:
date- available data range maximum date
-