Class AbstractSolarActivityDataLoader<L extends AbstractSolarActivityDataLoader.LineParameters>
- java.lang.Object
-
- org.orekit.models.earth.atmosphere.data.AbstractSolarActivityDataLoader<L>
-
- 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 Classes Modifier and Type Class Description static class
AbstractSolarActivityDataLoader.LineParameters
Container class for Solar activity indexes.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSolarActivityDataLoader(TimeScale utc)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SortedSet<L>
getDataSet()
Get the data set.AbsoluteDate
getMaxDate()
Gets the available data range maximum date.AbsoluteDate
getMinDate()
Gets the available data range minimum date.TimeScale
getUTC()
Get the UTC timescale.void
setMaxDate(AbsoluteDate date)
Set the available data range maximum date.void
setMinDate(AbsoluteDate date)
Set the available data range minimum date.boolean
stillAcceptsData()
Check if the loader still accepts new data.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.data.DataLoader
loadData
-
-
-
-
Constructor Detail
-
AbstractSolarActivityDataLoader
protected AbstractSolarActivityDataLoader(TimeScale utc)
Constructor.- Parameters:
utc
- UTC time scale
-
-
Method Detail
-
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:
stillAcceptsData
in interfaceDataLoader
- Returns:
- true while the loader still accepts new data
-
getUTC
public TimeScale getUTC()
Get the UTC timescale.- Returns:
- the UTC timescale
-
getMinDate
public AbsoluteDate getMinDate()
Gets the available data range minimum date.- Returns:
- the minimum date.
-
getMaxDate
public AbsoluteDate getMaxDate()
Gets the available data range maximum date.- Returns:
- the maximum date.
-
setMinDate
public void setMinDate(AbsoluteDate date)
Set the available data range minimum date.- Parameters:
date
- available data range minimum date
-
setMaxDate
public void setMaxDate(AbsoluteDate date)
Set the available data range maximum date.- Parameters:
date
- available data range maximum date
-
-