org.orekit.forces.atmospheres.solarActivity.specialized
Class ContinuousMSISE2000SolarData

java.lang.Object
  extended by org.orekit.forces.atmospheres.solarActivity.specialized.AbstractMSISE2000SolarData
      extended by org.orekit.forces.atmospheres.solarActivity.specialized.ContinuousMSISE2000SolarData
All Implemented Interfaces:
MSISE2000InputParameters

public class ContinuousMSISE2000SolarData
extends AbstractMSISE2000SolarData

This class represents a solar data container adapted for the MSISE2000 atmosphere model This model of input parameters computes averages for ALL the ap values required by the MSISE2000 model. See the ClassicalMSISE2000SolarData.getApValues(AbsoluteDate) and getApValues(AbsoluteDate) methods.

Since:
1.2
Version:
$Id: ContinuousMSISE2000SolarData.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Rami Houdroge
Concurrency :
conditionally thread-safe
Concurrency comment :
thread-safe if SolarActivityDataProvider is thread-safe

Field Summary
 
Fields inherited from class org.orekit.forces.atmospheres.solarActivity.specialized.AbstractMSISE2000SolarData
data, EO, FOUR_POINT_FIVE, HOUR, ONE_POINT_FIVE, SEVEN_POINT_FIVE, SIXTY, TEN_POINT_FIVE, THIRTY_SIX, TWELVE
 
Constructor Summary
ContinuousMSISE2000SolarData(SolarActivityDataProvider solarData)
          Constructor.
 
Method Summary
 double[] getApValues(AbsoluteDate date)
          Get the array containing the 7 ap values
 double getInstantFlux(AbsoluteDate date)
          Get the value of the instantaneous solar flux.
 double getMeanFlux(AbsoluteDate date)
          Get the 81 day average of F10.7 flux.
 
Methods inherited from class org.orekit.forces.atmospheres.solarActivity.specialized.AbstractMSISE2000SolarData
getMaxDate, getMinDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuousMSISE2000SolarData

public ContinuousMSISE2000SolarData(SolarActivityDataProvider solarData)
Constructor. Builds an instance of a solar data provider adapted for the MSISE2000 atmosphere model

Parameters:
solarData - input solar data
Method Detail

getInstantFlux

public double getInstantFlux(AbsoluteDate date)
                      throws OrekitException
Get the value of the instantaneous solar flux. This method returns the instant flux value at (date - 1 day).

Specified by:
getInstantFlux in interface MSISE2000InputParameters
Overrides:
getInstantFlux in class AbstractMSISE2000SolarData
Parameters:
date - the current date
Returns:
the instantaneous solar flux
Throws:
OrekitException - if the date is out of range of available data

getMeanFlux

public double getMeanFlux(AbsoluteDate date)
                   throws OrekitException
Get the 81 day average of F10.7 flux. This method computes the trapezoidal average.

Specified by:
getMeanFlux in interface MSISE2000InputParameters
Overrides:
getMeanFlux in class AbstractMSISE2000SolarData
Parameters:
date - the current date
Returns:
the mean solar flux
Throws:
OrekitException - if the date is out of range of available data

getApValues

public double[] getApValues(AbsoluteDate date)
                     throws OrekitException
Get the array containing the 7 ap values

 ap[0] = ap value averaged over [t0 - 12h  ; t0 + 12h  ]
 ap[1] = ap value averaged over [t0 -  1h30; t0 +  1h30]
 ap[2] = ap value averaged over [t0 -  4h30; t0 -  1h30]
 ap[3] = ap value averaged over [t0 -  7h30; t0 -  4h30]
 ap[4] = ap value averaged over [t0 - 10h30; t0 -  7h30]
 ap[5] = ap value averaged over [t0 - 36h  ; t0 - 12h  ]
 ap[6] = ap value averaged over [t0 - 61h  ; t0 - 36h  ]
 
  where t0 is the given user date (parameter "date")

Specified by:
getApValues in interface MSISE2000InputParameters
Specified by:
getApValues in class AbstractMSISE2000SolarData
Parameters:
date - the current date
Returns:
the Ap values
Throws:
OrekitException - if the date is out of range of available data


Copyright © 2017 CNES. All Rights Reserved.