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
  • Constructor Details

    • AbstractSolarActivityDataLoader

      protected AbstractSolarActivityDataLoader(TimeScale utc)
      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:
      stillAcceptsData in interface DataLoader
      Returns:
      true while the loader still accepts new data
    • getDataSet

      public abstract SortedSet<L> getDataSet()
      Get the data set.
      Returns:
      the data set
    • 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