Class LazyLoadedFrames

java.lang.Object
org.orekit.frames.AbstractFrames
org.orekit.frames.LazyLoadedFrames
All Implemented Interfaces:
Frames

public class LazyLoadedFrames extends AbstractFrames
This class lazily loads auxiliary data when it is needed by a requested frame. It is designed to match the behavior of FramesFactory in Orekit 10.0.
Since:
10.1
Author:
Guylaine Prat, Luc Maisonobe, Pascal Parraud, Evan Ward
See Also:
  • Constructor Details

  • Method Details

    • addDefaultEOP1980HistoryLoaders

      public void addDefaultEOP1980HistoryLoaders(String rapidDataColumnsSupportedNames, String xmlSupportedNames, String eopC04SupportedNames, String bulletinBSupportedNames, String bulletinASupportedNames, String csvSupportedNames)
      Add the default loaders EOP history (IAU 1980 precession/nutation).

      The default loaders look for IERS EOP C04 and bulletins B files. They correspond to IERS 1996 conventions.

      Parameters:
      rapidDataColumnsSupportedNames - regular expression for supported rapid data columns EOP files names (may be null if the default IERS file names are used)
      xmlSupportedNames - regular expression for supported XML EOP files names (may be null if the default IERS file names are used)
      eopC04SupportedNames - regular expression for supported EOP C04 files names (may be null if the default IERS file names are used)
      bulletinBSupportedNames - regular expression for supported bulletin B files names (may be null if the default IERS file names are used)
      bulletinASupportedNames - regular expression for supported bulletin A files names (may be null if the default IERS file names are used)
      csvSupportedNames - regular expression for supported csv files names (may be null if the default IERS file names are used)
      Since:
      12.0
      See Also:
    • addDefaultEOP2000HistoryLoaders

      public void addDefaultEOP2000HistoryLoaders(String rapidDataColumnsSupportedNames, String xmlSupportedNames, String eopC04SupportedNames, String bulletinBSupportedNames, String bulletinASupportedNames, String csvSupportedNames)
      Add the default loaders for EOP history (IAU 2000/2006 precession/nutation).

      The default loaders look for IERS EOP C04 and bulletins B files. They correspond to both IERS 2003 and IERS 2010 conventions.

      Parameters:
      rapidDataColumnsSupportedNames - regular expression for supported rapid data columns EOP files names (may be null if the default IERS file names are used)
      xmlSupportedNames - regular expression for supported XML EOP files names (may be null if the default IERS file names are used)
      eopC04SupportedNames - regular expression for supported EOP C04 files names (may be null if the default IERS file names are used)
      bulletinBSupportedNames - regular expression for supported bulletin B files names (may be null if the default IERS file names are used)
      bulletinASupportedNames - regular expression for supported bulletin A files names (may be null if the default IERS file names are used)
      csvSupportedNames - regular expression for supported csv files names (may be null if the default IERS file names are used)
      Since:
      12.0
      See Also:
    • addEOPHistoryLoader

      public void addEOPHistoryLoader(IERSConventions conventions, EopHistoryLoader loader)
      Add a loader for Earth Orientation Parameters history.
      Parameters:
      conventions - IERS conventions to which EOP history applies
      loader - custom loader to add for the EOP history
      See Also:
    • clearEOPHistoryLoaders

      public void clearEOPHistoryLoaders()
      Clear loaders for Earth Orientation Parameters history.
      See Also:
    • setEOPContinuityThreshold

      public void setEOPContinuityThreshold(double threshold)
      Set the threshold to check EOP continuity.

      The default threshold (used if this method is never called) is 5 Julian days. If after loading EOP entries some holes between entries exceed this threshold, an exception will be triggered.

      One case when calling this method is really useful is for applications that use a single Bulletin A, as these bulletins have a roughly one month wide hole for the first bulletin of each month, which contains older final data in addition to the rapid data and the predicted data.

      Parameters:
      threshold - threshold to use for checking EOP continuity (in seconds)
    • getEOPHistory

      public EOPHistory getEOPHistory(IERSConventions conventions, boolean simpleEOP)
      Get Earth Orientation Parameters history.

      If no EopHistoryLoader has been added by calling addEOPHistoryLoader or if clearEOPHistoryLoaders has been called afterwards, the addDefaultEOP1980HistoryLoaders(String, String, String, String, String, String) and addDefaultEOP2000HistoryLoaders(String, String, String, String, String, String) methods will be called automatically with supported file names parameters all set to null, in order to get the default loaders configuration.

      Parameters:
      conventions - conventions for which EOP history is requested
      simpleEOP - if true, tidal effects are ignored when interpolating EOP
      Returns:
      Earth Orientation Parameters history