Module: IERS

Defined in:
lib/iers.rb,
lib/iers/eop.rb,
lib/iers/tai.rb,
lib/iers/ut1.rb,
lib/iers/data.rb,
lib/iers/gmst.rb,
lib/iers/errors.rb,
lib/iers/delta_t.rb,
lib/iers/version.rb,
lib/iers/has_date.rb,
lib/iers/downloader.rb,
lib/iers/eop_lookup.rb,
lib/iers/time_scale.rb,
lib/iers/data_status.rb,
lib/iers/leap_second.rb,
lib/iers/polar_motion.rb,
lib/iers/configuration.rb,
lib/iers/eop_parameter.rb,
lib/iers/interpolation.rb,
lib/iers/length_of_day.rb,
lib/iers/update_result.rb,
lib/iers/parsers/finals.rb,
lib/iers/has_data_quality.rb,
lib/iers/parsers/leap_second.rb,
lib/iers/earth_rotation_angle.rb,
lib/iers/terrestrial_rotation.rb,
lib/iers/celestial_pole_offset.rb

Defined Under Namespace

Modules: CelestialPoleOffset, Data, DeltaT, EOP, EarthRotationAngle, EopLookup, EopParameter, GMST, HasDataQuality, HasDate, Interpolation, LeapSecond, LengthOfDay, Parsers, PolarMotion, TAI, TerrestrialRotation, TimeScale, UT1 Classes: Configuration, ConfigurationError, DataError, DataStatus, DownloadError, Downloader, Error, FileNotFoundError, NetworkError, OutOfRangeError, ParseError, StaleDataError, UpdateResult, ValidationError

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.configurationConfiguration

Returns:



32
33
34
# File 'lib/iers.rb', line 32

def configuration
  @configuration ||= Configuration.new
end

.configure {|Configuration| ... } ⇒ void

This method returns an undefined value.

Yields:



38
39
40
# File 'lib/iers.rb', line 38

def configure
  yield configuration
end

.reset!void

This method returns an undefined value.



50
51
52
# File 'lib/iers.rb', line 50

def reset!
  reset_configuration!
end

.reset_configuration!void

This method returns an undefined value.



43
44
45
46
47
# File 'lib/iers.rb', line 43

def reset_configuration!
  @configuration = nil
  Data.clear_loaded!
  LeapSecond.clear_cached!
end