Package org.orekit.models.earth
Class LazyLoadedGeoMagneticFields
java.lang.Object
org.orekit.models.earth.LazyLoadedGeoMagneticFields
- All Implemented Interfaces:
GeoMagneticFields
Loads magnetic fields on request and can be configured after creation. Designed to
match the behavior of
GeoMagneticFieldFactory in Orekit 10.0- Since:
- 10.1
- Author:
- Evan Ward, Thomas Neidhart
-
Constructor Summary
ConstructorsConstructorDescriptionLazyLoadedGeoMagneticFields(DataProvidersManager dataProvidersManager) Create a factory for magnetic fields that uses the given data manager to load magnetic field files. -
Method Summary
Modifier and TypeMethodDescriptiongetField(GeoMagneticFieldFactory.FieldModel type, double year) Get theGeoMagneticFieldfor the given model type and year.getIGRF(double year) Get the IGRF model for the given year.getWMM(double year) Get the WMM model for the given year.
-
Constructor Details
-
LazyLoadedGeoMagneticFields
Create a factory for magnetic fields that uses the given data manager to load magnetic field files.- Parameters:
dataProvidersManager- provides access to auxiliary data files.
-
-
Method Details
-
getField
Description copied from interface:GeoMagneticFieldsGet theGeoMagneticFieldfor the given model type and year.- Specified by:
getFieldin interfaceGeoMagneticFields- Parameters:
type- the field model typeyear- the decimal year- Returns:
- a
GeoMagneticFieldfor the given year and model - See Also:
-
getIGRF
Description copied from interface:GeoMagneticFieldsGet the IGRF model for the given year.- Specified by:
getIGRFin interfaceGeoMagneticFields- Parameters:
year- the decimal year- Returns:
- a
GeoMagneticFieldfor the given year - See Also:
-
getWMM
Description copied from interface:GeoMagneticFieldsGet the WMM model for the given year.- Specified by:
getWMMin interfaceGeoMagneticFields- Parameters:
year- the decimal year- Returns:
- a
GeoMagneticFieldfor the given year - See Also:
-