equationoftime 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/Gemfile +4 -0
- data/LICENSE.md +22 -0
- data/LICENSE.txt +22 -0
- data/README.md +80 -0
- data/README2.txt +70 -0
- data/Rakefile +80 -0
- data/doc/GeoLatLng.html +770 -0
- data/doc/_index.html +123 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +179 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +179 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +611 -0
- data/doc/top-level-namespace.html +112 -0
- data/equationoftime.gemspec +35 -0
- data/examples/Equation_of_Time.jpg +0 -0
- data/examples/analemma_data_generator.rb +53 -0
- data/examples/check_date_type.rb +57 -0
- data/examples/compare_geoc_long_ra.rb +31 -0
- data/examples/data_table.rb +26 -0
- data/examples/earth_rotation.rb +13 -0
- data/examples/eot_methods_list.rb +16 -0
- data/examples/eot_plot.r +57 -0
- data/examples/eot_suntimes.rb +140 -0
- data/examples/equation_of_time.py +186 -0
- data/examples/figure_1.jpg +0 -0
- data/examples/file_converter.rb +31 -0
- data/examples/from_readme.rb +10 -0
- data/examples/geo_locator.rb +12 -0
- data/examples/getjd.rb +45 -0
- data/examples/input_suntimes.rb +21 -0
- data/examples/julian_day_formula.rb +29 -0
- data/examples/julian_day_formula.txt +12 -0
- data/examples/my_time_conversion.rb +21 -0
- data/examples/nutation_series.txt +678 -0
- data/examples/nutation_series.yaml +14239 -0
- data/examples/nutation_table5_3a.txt +682 -0
- data/examples/nutation_table5_3a.yaml +9532 -0
- data/examples/ptime.rb +162 -0
- data/examples/read_nutation_data.rb +399 -0
- data/examples/suntimes.rb +28 -0
- data/examples/suntimes_test.rb +47 -0
- data/examples/test_poly_eval.rb +38 -0
- data/examples/time_scales.rb +29 -0
- data/examples/usage_example.rb +13 -0
- data/examples/use_angles.rb +155 -0
- data/lib/eot/angles.rb +337 -0
- data/lib/eot/constants.rb +168 -0
- data/lib/eot/displays.rb +213 -0
- data/lib/eot/geo_lat_lng_smt.rb +80 -0
- data/lib/eot/init.rb +93 -0
- data/lib/eot/nutation.rb +70 -0
- data/lib/eot/nutation_table5_3a.yaml +9532 -0
- data/lib/eot/times.rb +130 -0
- data/lib/eot/utilities.rb +129 -0
- data/lib/eot/version.rb +6 -0
- data/lib/eot.rb +11 -0
- data/tests/minitest/aliased_angles_spec.rb +287 -0
- data/tests/minitest/aliased_displays_spec.rb +106 -0
- data/tests/minitest/aliased_times_spec.rb +36 -0
- data/tests/minitest/aliased_utilities_spec.rb +49 -0
- data/tests/minitest/angles_spec.rb +313 -0
- data/tests/minitest/constants_spec.rb +27 -0
- data/tests/minitest/delta_epsilon_spec.rb +35 -0
- data/tests/minitest/displays_spec.rb +111 -0
- data/tests/minitest/geo_spec.rb +36 -0
- data/tests/minitest/init_spec.rb +32 -0
- data/tests/minitest/nutation_spec.rb +33 -0
- data/tests/minitest/times_spec.rb +137 -0
- data/tests/minitest/utilities_spec.rb +121 -0
- data/tests/spec_config.rb +3 -0
- data/wiki.md +46 -0
- data/wiki2.md +4 -0
- metadata +240 -0
@@ -0,0 +1,137 @@
|
|
1
|
+
# times_spec.rb
|
2
|
+
#
|
3
|
+
# uncomment below for minitest
|
4
|
+
gem 'minitest'
|
5
|
+
require 'minitest/autorun'
|
6
|
+
# require_relative '../spec_config'
|
7
|
+
lib = File.expand_path('../../../lib', __FILE__)
|
8
|
+
# puts "Loading gem from #{lib}/eot.rb"
|
9
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
10
|
+
require 'eot'
|
11
|
+
|
12
|
+
Eot_times = Eot.new
|
13
|
+
|
14
|
+
describe ' Eot times default, nil, 0' do
|
15
|
+
|
16
|
+
# set ma attribute first as it gets tested anyway but a lot of methods
|
17
|
+
# now rely on @ma so we don't have to keep calling it unless we change
|
18
|
+
# @ajd attribute.
|
19
|
+
before(:each) do
|
20
|
+
@ajd = 2456885.0
|
21
|
+
Eot_times.ajd = @ajd
|
22
|
+
Eot_times.ma_Sun()
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'expected 2456885.0 for Eot_times.ajd'do
|
26
|
+
assert_equal 2456885.0, Eot_times.ajd
|
27
|
+
assert_equal 220.63461047326172, Eot_times.ma
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'expected "2014-08-15T06:01:02+00:00", returned by Eot_times.sunrise_dt() ' do
|
31
|
+
assert_equal "2014-08-15T06:01:02+00:00", Eot_times.sunrise_dt().to_s
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'expected 2456884.7507175957, returned by Eot_times.sunrise_jd() ' do
|
35
|
+
assert_equal 2456884.7507175957, Eot_times.sunrise_jd()
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'expected "2014-08-15T18:07:54+00:00", returned by Eot_times.sunset_dt() ' do
|
39
|
+
assert_equal "2014-08-15T18:07:54+00:00", Eot_times.sunset_dt().to_s
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'expected 2456885.25548836, returned by Eot_times.sunset_jd() ' do
|
43
|
+
assert_equal 2456885.25548836, Eot_times.sunset_jd()
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'expected -9.362443838775045, returned by Eot_times.time_delta_oblique() ' do
|
47
|
+
assert_equal -9.362443838775045, Eot_times.time_delta_oblique()
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'expected 4.894155584341185, returned by Eot_times.time_delta_orbit() ' do
|
51
|
+
assert_equal 4.894155584341185, Eot_times.time_delta_orbit()
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'expected -4.468288254433861, returned by Eot_times.time_eot() ' do
|
55
|
+
assert_equal -4.468288254433861, Eot_times.time_eot()
|
56
|
+
end
|
57
|
+
|
58
|
+
it 'expected [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] returned by Eot_times.time_julian_century() ' do
|
59
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], Eot_times.time_julian_century()
|
60
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], Eot_times.time_julian_century(nil)
|
61
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], Eot_times.time_julian_century(0)
|
62
|
+
end
|
63
|
+
|
64
|
+
|
65
|
+
end
|
66
|
+
|
67
|
+
describe 'Eot times for ajd 2455055.0 a non default value' do
|
68
|
+
|
69
|
+
# set ma attribute first as it gets tested anyway but a lot of methods
|
70
|
+
# now rely on @ma so we don't have to keep calling it unless we change
|
71
|
+
# @ajd attribute
|
72
|
+
before(:each) do
|
73
|
+
@ajd = 2455055.0
|
74
|
+
Eot_times.ajd = @ajd
|
75
|
+
@dt = Eot_times.ajd_to_datetime(@ajd)
|
76
|
+
Eot_times.date = @dt
|
77
|
+
Eot_times.ma_Sun
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'expected 2455055.0, returned by Eot_times.' do
|
81
|
+
assert_equal 2455055.0, Eot_times.ajd
|
82
|
+
end
|
83
|
+
|
84
|
+
it 'expected "2009-08-11T12:00:00+00:00", returned by Eot_times.date.to_s' do
|
85
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.date.to_s
|
86
|
+
end
|
87
|
+
|
88
|
+
it 'expected 216.98609672514223, returned by Eot_times.' do
|
89
|
+
assert_equal 216.98609672514223, Eot_times.ma
|
90
|
+
end
|
91
|
+
|
92
|
+
it 'expected "2009-08-11T12:00:00+00:00", returned by Eot_times.ajd_to_datetime(@ajd).to_s' do
|
93
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.ajd_to_datetime(@ajd).to_s
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'expected -0.0035798034147912243, returned by Eot_times.eot_jd()' do
|
97
|
+
assert_equal -0.0035798034147912243, Eot_times.eot_jd()
|
98
|
+
end
|
99
|
+
|
100
|
+
it 'expected "2009-08-11T12:00:00+00:00", returned by Eot_times.mean_local_noon_dt().to_s' do
|
101
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.mean_local_noon_dt().to_s
|
102
|
+
end
|
103
|
+
|
104
|
+
it 'expected "2009-08-11T06:01:42+00:00" returned by Eot_times.sunrise_dt().to_s' do
|
105
|
+
assert_equal "2009-08-11T06:01:42+00:00", Eot_times.sunrise_dt().to_s
|
106
|
+
end
|
107
|
+
|
108
|
+
it 'expected 2455054.7511818386 returned by Eot_times.sunrise_jd()' do
|
109
|
+
assert_equal 2455054.7511818386, Eot_times.sunrise_jd()
|
110
|
+
end
|
111
|
+
|
112
|
+
it 'expected "2009-08-11T18:08:36+00:00" returned by Eot_times.sunset_dt()' do
|
113
|
+
assert_equal "2009-08-11T18:08:36+00:00", Eot_times.sunset_dt().to_s
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'expected 2455055.255977768 returned by Eot_times.sunset_jd() ' do
|
117
|
+
assert_equal 2455055.255977768, Eot_times.sunset_jd()
|
118
|
+
end
|
119
|
+
|
120
|
+
it 'expected -5.154916917299363 is returned by Eot_times.time_eot() ' do
|
121
|
+
assert_equal -5.154916917299363, Eot_times.time_eot()
|
122
|
+
end
|
123
|
+
|
124
|
+
it 'expected [0.09609856262833676, 0.009234933739232362, 0.0008874638583081612, 8.528400116801221e-05, 8.195669927439366e-06,
|
125
|
+
7.87592099803208e-07, 7.568646872852184e-08, 7.2733608552255084e-09, 6.989595236643814e-10, 6.716900555953398e-11] returned by Eot_times.time_julian_century(@dt)' do
|
126
|
+
assert_equal [0.09609856262833676, 0.009234933739232362, 0.0008874638583081612, 8.528400116801221e-05, 8.195669927439366e-06,
|
127
|
+
7.87592099803208e-07, 7.568646872852184e-08, 7.2733608552255084e-09, 6.989595236643814e-10, 6.716900555953398e-11], Eot_times.time_julian_century(@dt)
|
128
|
+
end
|
129
|
+
|
130
|
+
it 'expected [0.09609856262833676, 0.009234933739232362, 0.0008874638583081612, 8.528400116801221e-05, 8.195669927439366e-06,
|
131
|
+
7.87592099803208e-07, 7.568646872852184e-08, 7.2733608552255084e-09, 6.989595236643814e-10, 6.716900555953398e-11] returned by Eot_times.time_julian_century(@ajd)' do
|
132
|
+
assert_equal [0.09609856262833676, 0.009234933739232362, 0.0008874638583081612, 8.528400116801221e-05, 8.195669927439366e-06,
|
133
|
+
7.87592099803208e-07, 7.568646872852184e-08, 7.2733608552255084e-09, 6.989595236643814e-10, 6.716900555953398e-11], Eot_times.time_julian_century(@ajd)
|
134
|
+
end
|
135
|
+
|
136
|
+
end
|
137
|
+
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# utilities_spec.rb
|
2
|
+
#
|
3
|
+
# uncomment below for minitest
|
4
|
+
gem 'minitest'
|
5
|
+
require 'minitest/autorun'
|
6
|
+
# require_relative '../spec_config'
|
7
|
+
lib = File.expand_path('../../../lib', __FILE__)
|
8
|
+
# puts "Loading gem from #{lib}/eot.rb"
|
9
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
10
|
+
require 'eot'
|
11
|
+
|
12
|
+
Eot_utilities = Eot.new
|
13
|
+
|
14
|
+
describe 'Eot utilities default' do
|
15
|
+
|
16
|
+
# set ma attribute first as it gets tested anyway but a lot of methods
|
17
|
+
# now rely on @ma so we don't have to keep calling it unless we change
|
18
|
+
# @ajd attribute.
|
19
|
+
|
20
|
+
before(:each) do
|
21
|
+
@ajd = 2456885.0
|
22
|
+
Eot_utilities.ajd = @ajd
|
23
|
+
Eot_utilities.ma_Sun()
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'expected 2456885.0 for Eot_utilities.ajd'do
|
27
|
+
assert_equal 2456885.0, Eot_utilities.ajd
|
28
|
+
assert_equal 220.63461047326172, Eot_utilities.ma
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'expected 0.0 rturned by Eot_utilities.bd() ' do
|
32
|
+
assert_equal 0.0, Eot_utilities.bd()
|
33
|
+
assert_equal 0.0, Eot_utilities.bd(nil)
|
34
|
+
assert_equal 0.0, Eot_utilities.bd(0)
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'expected "2000-01-01" returned by Eot_utilities.check_date_nil() ' do
|
38
|
+
assert_equal '2000-01-01', Eot_utilities.check_date_nil()
|
39
|
+
assert_equal '2000-01-01', Eot_utilities.check_date_nil(nil)
|
40
|
+
assert_equal 0, Eot_utilities.check_date_nil(0)
|
41
|
+
end
|
42
|
+
|
43
|
+
it 'expected "2000-01-01" returned by Eot_utilities.check_date_zero() ' do
|
44
|
+
assert_equal '2000-01-01', Eot_utilities.check_date_zero()
|
45
|
+
assert_equal '2000-01-01', Eot_utilities.check_date_zero(nil)
|
46
|
+
assert_equal '2000-01-01', Eot_utilities.check_date_zero(0)
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'expected [0.0, 0.0, 0.0, 0.0, 0.0] returned by Eot_utilities.check_jct_nil() ' do
|
50
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0], Eot_utilities.check_jct_nil()
|
51
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0], Eot_utilities.check_jct_nil(nil)
|
52
|
+
assert_equal 0, Eot_utilities.check_jct_nil(0)
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'expected [0.0, 0.0, 0.0, 0.0, 0.0] returned by Eot_utilities.check_jct_zero() ' do
|
56
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0], Eot_utilities.check_jct_zero()
|
57
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0], Eot_utilities.check_jct_zero(nil)
|
58
|
+
assert_equal [0.0, 0.0, 0.0, 0.0, 0.0], Eot_utilities.check_jct_zero(0)
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'expected 2451545.0 returned by Eot_utilities.check_jd_nil() ' do
|
62
|
+
assert_equal 2451545.0, Eot_utilities.check_jd_nil()
|
63
|
+
assert_equal 2451545.0, Eot_utilities.check_jd_nil(nil)
|
64
|
+
assert_equal 0, Eot_utilities.check_jd_nil(0)
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'expected 2451545.0 returned by Eot_utilities.check_jd_zero() ' do
|
68
|
+
assert_equal 2451545.0, Eot_utilities.check_jd_zero()
|
69
|
+
assert_equal 2451545.0, Eot_utilities.check_jd_zero(nil)
|
70
|
+
assert_equal 2451545.0, Eot_utilities.check_jd_zero(0)
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'expected "2000-01-01T12:00:00+00:00" returned by Eot_utilities.check_t_nil() ' do
|
74
|
+
assert_equal "2000-01-01T12:00:00+00:00", Eot_utilities.check_t_nil().to_s
|
75
|
+
assert_equal "2000-01-01T12:00:00+00:00", Eot_utilities.check_t_nil(nil).to_s
|
76
|
+
assert_equal '0', Eot_utilities.check_t_nil(0).to_s
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'expected "2000-01-01T12:00:00+00:00" returned by Eot_utilities.check_t_zero() ' do
|
80
|
+
assert_equal "2000-01-01T12:00:00+00:00", Eot_utilities.check_t_zero().to_s
|
81
|
+
assert_equal "2000-01-01T12:00:00+00:00", Eot_utilities.check_t_zero(nil).to_s
|
82
|
+
assert_equal "2000-01-01T12:00:00+00:00", Eot_utilities.check_t_zero(0).to_s
|
83
|
+
end
|
84
|
+
|
85
|
+
it 'expected 1.0 returned by Eot_utilities.cosd() ' do
|
86
|
+
assert_equal 1.0, Eot_utilities.cosd()
|
87
|
+
assert_equal 1.0, Eot_utilities.cosd(nil)
|
88
|
+
assert_equal 1.0, Eot_utilities.cosd(0)
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'expected 0.0 returned by Eot_utilities.deg_to_rad() ' do
|
92
|
+
assert_equal 0.0, Eot_utilities.deg_to_rad()
|
93
|
+
assert_equal 0.0, Eot_utilities.deg_to_rad(nil)
|
94
|
+
assert_equal 0.0, Eot_utilities.deg_to_rad(0)
|
95
|
+
end
|
96
|
+
|
97
|
+
it 'expected 0.0 returned by Eot_utilities.mod_360() ' do
|
98
|
+
assert_equal 0.0, Eot_utilities.mod_360()
|
99
|
+
assert_equal 0.0, Eot_utilities.mod_360(nil)
|
100
|
+
assert_equal 0.0, Eot_utilities.mod_360(0)
|
101
|
+
end
|
102
|
+
|
103
|
+
it 'expected 0.0 returned by Eot_utilities.rad_to_deg() ' do
|
104
|
+
assert_equal 0.0, Eot_utilities.rad_to_deg()
|
105
|
+
assert_equal 0.0, Eot_utilities.rad_to_deg(nil)
|
106
|
+
assert_equal 0.0, Eot_utilities.rad_to_deg(0)
|
107
|
+
end
|
108
|
+
|
109
|
+
it 'expected 0.0 returned by Eot_utilities.sind() ' do
|
110
|
+
assert_equal 0.0, Eot_utilities.sind()
|
111
|
+
assert_equal 0.0, Eot_utilities.sind(nil)
|
112
|
+
assert_equal 0.0, Eot_utilities.sind(0)
|
113
|
+
end
|
114
|
+
|
115
|
+
it 'expected 0.0 returned by Eot_utilities.to_deg() ' do
|
116
|
+
assert_equal 0.0, Eot_utilities.to_deg()
|
117
|
+
assert_equal 0.0, Eot_utilities.to_deg(nil)
|
118
|
+
assert_equal 0.0, Eot_utilities.to_deg(0)
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
data/wiki.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
Wiki 1:
|
2
|
+
|
3
|
+
$ irb --simple-prompt
|
4
|
+
|
5
|
+
require 'eot'
|
6
|
+
# nutation data loads and data flys by on the irb console unless you put something after it.
|
7
|
+
eot = Eot.new(); "Say hello to the new Eot"
|
8
|
+
loop do
|
9
|
+
puts "#{Time.now} #{eot.show_minutes(eot.now)}"
|
10
|
+
sleep 11 # It would be neet to get the slope of the curve to adjust this accordingly for the milisecond change.
|
11
|
+
end
|
12
|
+
|
13
|
+
Wiki 2:
|
14
|
+
|
15
|
+
latitude, longitude, date = 41.9474, -88.74467, "2013-12-25"
|
16
|
+
require 'eot';eot = Eot.new(); "Say hello to the new Eot"
|
17
|
+
eot.latitude = latitude; eot.longitude = longitude; eot.date = date
|
18
|
+
eot.sunrise_dt().to_time
|
19
|
+
eot.sunset_dt().to_time
|
20
|
+
|
21
|
+
Wiki 3:
|
22
|
+
|
23
|
+
require 'eot';eot = Eot.new(); "Say hello to the new Eot"
|
24
|
+
loop do
|
25
|
+
eot.ajd = DateTime.now.to_time.utc.to_datetime.ajd
|
26
|
+
puts eot.string_time(eot.tl_Aries(eot.time_julian_century(eot.ajd)) / 15.0)
|
27
|
+
sleep 0.73
|
28
|
+
end
|
29
|
+
|
30
|
+
Wiki 4:
|
31
|
+
|
32
|
+
require 'eot';eot = Eot.new(); eot.factor
|
33
|
+
"There are #{360 * eot.factor / 15.0} hours in a sidereal day."
|
34
|
+
"That is why on the next day the stars are about 4 minutes earlier."
|
35
|
+
obtime0 = Time.now
|
36
|
+
obtime1 = obtime0 + 360 * eot.factor / 15.0 * 3600
|
37
|
+
"Now you know when to look next time."
|
38
|
+
|
39
|
+
Wiki 5:
|
40
|
+
|
41
|
+
require 'date'; latitude, longitude, date = 41.9474, -88.74467, Date.parse("2014-3-20")
|
42
|
+
require 'eot'; eot = Eot.new(); "Say hello to the new Eot"
|
43
|
+
eot.longitude = longitude; eot.latitude = latitude; eot.ajd = date.jd
|
44
|
+
DateTime.jd(eot.sunrise_jd + 0.5)
|
45
|
+
DateTime.jd(eot.sunset_jd + 0.5)
|
46
|
+
|
data/wiki2.md
ADDED
metadata
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: equationoftime
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- DouglasAllen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: astro-algo
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: multi_xml
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rest-client
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: safe_yaml
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
description: "Calculate Sunrise and Sunset, GMST, and GAST for just about any date
|
126
|
+
and location.\n\t Lots of examples to play with included."
|
127
|
+
email:
|
128
|
+
- kb9agt@gmail.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rspec"
|
135
|
+
- Gemfile
|
136
|
+
- LICENSE.md
|
137
|
+
- LICENSE.txt
|
138
|
+
- README.md
|
139
|
+
- README2.txt
|
140
|
+
- Rakefile
|
141
|
+
- doc/GeoLatLng.html
|
142
|
+
- doc/_index.html
|
143
|
+
- doc/class_list.html
|
144
|
+
- doc/css/common.css
|
145
|
+
- doc/css/full_list.css
|
146
|
+
- doc/css/style.css
|
147
|
+
- doc/file.README.html
|
148
|
+
- doc/file_list.html
|
149
|
+
- doc/frames.html
|
150
|
+
- doc/index.html
|
151
|
+
- doc/js/app.js
|
152
|
+
- doc/js/full_list.js
|
153
|
+
- doc/js/jquery.js
|
154
|
+
- doc/method_list.html
|
155
|
+
- doc/top-level-namespace.html
|
156
|
+
- equationoftime.gemspec
|
157
|
+
- examples/Equation_of_Time.jpg
|
158
|
+
- examples/analemma_data_generator.rb
|
159
|
+
- examples/check_date_type.rb
|
160
|
+
- examples/compare_geoc_long_ra.rb
|
161
|
+
- examples/data_table.rb
|
162
|
+
- examples/earth_rotation.rb
|
163
|
+
- examples/eot_methods_list.rb
|
164
|
+
- examples/eot_plot.r
|
165
|
+
- examples/eot_suntimes.rb
|
166
|
+
- examples/equation_of_time.py
|
167
|
+
- examples/figure_1.jpg
|
168
|
+
- examples/file_converter.rb
|
169
|
+
- examples/from_readme.rb
|
170
|
+
- examples/geo_locator.rb
|
171
|
+
- examples/getjd.rb
|
172
|
+
- examples/input_suntimes.rb
|
173
|
+
- examples/julian_day_formula.rb
|
174
|
+
- examples/julian_day_formula.txt
|
175
|
+
- examples/my_time_conversion.rb
|
176
|
+
- examples/nutation_series.txt
|
177
|
+
- examples/nutation_series.yaml
|
178
|
+
- examples/nutation_table5_3a.txt
|
179
|
+
- examples/nutation_table5_3a.yaml
|
180
|
+
- examples/ptime.rb
|
181
|
+
- examples/read_nutation_data.rb
|
182
|
+
- examples/suntimes.rb
|
183
|
+
- examples/suntimes_test.rb
|
184
|
+
- examples/test_poly_eval.rb
|
185
|
+
- examples/time_scales.rb
|
186
|
+
- examples/usage_example.rb
|
187
|
+
- examples/use_angles.rb
|
188
|
+
- lib/eot.rb
|
189
|
+
- lib/eot/angles.rb
|
190
|
+
- lib/eot/constants.rb
|
191
|
+
- lib/eot/displays.rb
|
192
|
+
- lib/eot/geo_lat_lng_smt.rb
|
193
|
+
- lib/eot/init.rb
|
194
|
+
- lib/eot/nutation.rb
|
195
|
+
- lib/eot/nutation_table5_3a.yaml
|
196
|
+
- lib/eot/times.rb
|
197
|
+
- lib/eot/utilities.rb
|
198
|
+
- lib/eot/version.rb
|
199
|
+
- tests/minitest/aliased_angles_spec.rb
|
200
|
+
- tests/minitest/aliased_displays_spec.rb
|
201
|
+
- tests/minitest/aliased_times_spec.rb
|
202
|
+
- tests/minitest/aliased_utilities_spec.rb
|
203
|
+
- tests/minitest/angles_spec.rb
|
204
|
+
- tests/minitest/constants_spec.rb
|
205
|
+
- tests/minitest/delta_epsilon_spec.rb
|
206
|
+
- tests/minitest/displays_spec.rb
|
207
|
+
- tests/minitest/geo_spec.rb
|
208
|
+
- tests/minitest/init_spec.rb
|
209
|
+
- tests/minitest/nutation_spec.rb
|
210
|
+
- tests/minitest/times_spec.rb
|
211
|
+
- tests/minitest/utilities_spec.rb
|
212
|
+
- tests/spec_config.rb
|
213
|
+
- wiki.md
|
214
|
+
- wiki2.md
|
215
|
+
homepage: http://equationoftime.herokuapp.com
|
216
|
+
licenses:
|
217
|
+
- MIT
|
218
|
+
metadata: {}
|
219
|
+
post_install_message:
|
220
|
+
rdoc_options: []
|
221
|
+
require_paths:
|
222
|
+
- lib
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: '0'
|
233
|
+
requirements: []
|
234
|
+
rubyforge_project:
|
235
|
+
rubygems_version: 2.4.1
|
236
|
+
signing_key:
|
237
|
+
specification_version: 4
|
238
|
+
summary: Equation of Time calculates time of solar transition.
|
239
|
+
test_files: []
|
240
|
+
has_rdoc:
|