Class CssiSpaceWeatherDataLoader
java.lang.Object
org.orekit.models.earth.atmosphere.data.AbstractSolarActivityDataLoader<CssiSpaceWeatherDataLoader.LineParameters>
org.orekit.models.earth.atmosphere.data.CssiSpaceWeatherDataLoader
- All Implemented Interfaces:
DataLoader
public class CssiSpaceWeatherDataLoader
extends AbstractSolarActivityDataLoader<CssiSpaceWeatherDataLoader.LineParameters>
This class reads solar activity data from CSSI Space Weather files for the class
CssiSpaceWeatherData.
The data are retrieved through space weather files offered by CSSI/AGI. The data can be retrieved on the AGI FTP. This file is updated several times a day by using several sources mentioned in the Celestrak space weather data documentation.
- Since:
- 10.2
- Author:
- Clément Jonglez
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContainer class for Solar activity indexes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the data set.Gets the day (at data start) of the last daily data entry.Gets the day (at data start) of the last observed data entry.voidloadData(InputStream input, String name) Load data from a stream.Methods inherited from class org.orekit.models.earth.atmosphere.data.AbstractSolarActivityDataLoader
getMaxDate, getMinDate, getUTC, setMaxDate, setMinDate, stillAcceptsData
-
Constructor Details
-
CssiSpaceWeatherDataLoader
Constructor.- Parameters:
utc- UTC time scale
-
-
Method Details
-
loadData
public void loadData(InputStream input, String name) throws IOException, ParseException, OrekitException Load data from a stream.- Parameters:
input- data input streamname- name of the file (or zip entry)- Throws:
IOException- if data can't be readParseException- if data can't be parsed or if some loader specific error occursOrekitException
-
getDataSet
Getter for the data set.- Specified by:
getDataSetin classAbstractSolarActivityDataLoader<CssiSpaceWeatherDataLoader.LineParameters>- Returns:
- the data set
-
getLastDailyPredictedDate
Gets the day (at data start) of the last daily data entry.- Returns:
- the last daily predicted date
-
getLastObservedDate
Gets the day (at data start) of the last observed data entry.- Returns:
- the last observed date
-