astronomy 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 924b4568627f4c4b797f642c52711b22ccfac20c
4
- data.tar.gz: 2d2199da13a0889e7264d3e6c4b4402a565b2f01
3
+ metadata.gz: a02b2b26b092cff82aecba81cc255ac60894ece8
4
+ data.tar.gz: f56d8c85c3f831d630c1c1dc82fffd1fa2de6899
5
5
  SHA512:
6
- metadata.gz: d077050159c3ac260fe278c3cb381345e46e1b084d04e476f8588e9232295c7761c7e28b2a20666875cbe15c62735e6bf6cd39e54d9b347a8c96004af17ff60e
7
- data.tar.gz: 6e9b6f807f56746fef2affc8dc34df007cadaf8100ec1c5339578b53232d0b7e09894b00d5deff8210ac1e3030325a2f50aeed167d5ca725cb5f02c14795d1b1
6
+ metadata.gz: 8b6e8170546bd057f79bd0b4d524a79c22ceb2c85baf110d8fefd5fcf9be790f67013853e9d7b4af1587e088cd08b51dbe06515a84e321fc7a20785235342b5a
7
+ data.tar.gz: 33c4d0a9e1546f5a099d18d242caf9ae82e3733149a4b0535268d2fc0137ff2fa7305a9c180c5a325331374314ac692cd1730f3a00c732b7a8b6b21be1bca2b1
data/README.md CHANGED
@@ -1,29 +1,24 @@
1
1
  # Astronomy
2
2
 
3
- Get information using a simple interface about various celestial phenomena from [Freebase](http://freebase.com) including:
3
+ Search or browse the names, descriptions and image URLs for various categories of celestial phenomena including:
4
4
 
5
5
  - Asterisms
6
6
  - Celestial Objects
7
7
  - Stars
8
8
  - Planets
9
9
  - Star Systems
10
- - Celestial object with coordinate systems
11
- - Asteroid Groups
12
10
  - Galaxies
13
- - Bodies with heliocentric orbits
14
11
  - Moons
15
12
  - Comets
16
13
  - Asteroids
17
14
  - Constellations
18
15
  - Nebulae
19
- - Natural satellites
20
16
  - Astronomical Discoveries
21
- - Galactic superclusters
22
- - Globular clusters
23
- - Supernovae
24
- - Galactic filaments
17
+ - Clusters
25
18
  - Meteor Showers
26
19
 
20
+ Data source: [Freebase](http://freebase.com)
21
+
27
22
  For example, here is the entry on the Big Dipper:
28
23
 
29
24
  {
@@ -74,7 +69,7 @@ Get a list of topics from a given category:
74
69
 
75
70
  ```ruby
76
71
  info = Astronomy::Information.new
77
- info.topics 'Galactic supercluster'
72
+ info.topics 'Comet'
78
73
  ```
79
74
 
80
75
  Search both names and descriptions:
@@ -84,6 +79,14 @@ info = Astronomy::Information.new
84
79
  info.search 'moon'
85
80
  ```
86
81
 
82
+ *Hint:*
83
+
84
+ If you find images are too small appending a query string with optional parameters: maxwidth and / or maxheight.
85
+
86
+ For example:
87
+
88
+ https://usercontent.googleapis.com/freebase/v1/image/m/02dd6yz?maxwidth=500&maxheight=400
89
+
87
90
  ## Contributing
88
91
 
89
92
  1. Fork it ( https://github.com/[my-github-username]/astronomy/fork )
@@ -69,14 +69,6 @@ Asterism:
69
69
  images:
70
70
  - https://usercontent.googleapis.com/freebase/v1/image/m/02fbs1c
71
71
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0563kr
72
- Celestial Object:
73
- - name: Trapezium Cluster
74
- description: |-
75
- The Trapezium or Orion Trapezium Cluster, also known by its Bayer designation of Theta¹ Orionis, is a tight open cluster of stars in the heart of the Orion Nebula, in the constellation of Orion. It was discovered by Galileo Galilei. On February 4, 1617 he sketched three of the stars, but missed the surrounding nebulosity. The fourth component was identified by several observers in 1673, and several more components were discovered later, for a total of eight by 1888. Subsequently several of the stars were determined to be binaries. Telescopes of amateur astronomers from about 5 inch aperture can resolve six stars under good seeing conditions.
76
- The Trapezium is a relatively young cluster that has formed directly out of the parent nebula. The five brightest stars are on the order of 15-30 solar masses in size. They are within a diameter of 1.5 light-years of each other and are responsible for much of the illumination of the surrounding nebula. The Trapezium may be a sub-component of the larger Orion Nebula Cluster, a grouping of about 2,000 stars within a diameter of 20 light-years.
77
- images:
78
- - https://usercontent.googleapis.com/freebase/v1/image/m/02grgb5
79
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c4q5n
80
72
  - name: Messier 73
81
73
  description: Messier 73 is an asterism of four stars in the constellation of Aquarius.
82
74
  An asterism is composed of physically unconnected stars that appear close to each
@@ -84,14 +76,14 @@ Celestial Object:
84
76
  images:
85
77
  - https://usercontent.googleapis.com/freebase/v1/image/m/0290svc
86
78
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/03rj_2
87
- - name: Alpha Centauri
79
+ Celestial Object:
80
+ - name: Trapezium Cluster
88
81
  description: |-
89
- Alpha Centauri or Toliman is the brightest star in the southern constellation of Centaurus and the third brightest star in the night sky. The Alpha Centauri system is located 1.34 parsecs or 4.37 light years from the Sun, making it the closest star system to our Solar System. Although it appears to the unaided eye as a single object, Alpha Centauri is actually a binary star system whose combined visual magnitude of −0.27 makes it the third brightest star seen from Earth after the −1.46 magnitude Sirius and the −0.72 magnitude Canopus.
90
- Its component stars are named Alpha Centauri A, with 110% of the mass and 151.9% the luminosity of the Sun, and Alpha Centauri B, at 90.7% of the Sun's mass and 44.5% of its luminosity. During the pair's 79.91-year orbit about a common center, the distance between them varies from about that between Pluto and the Sun to that between Saturn and the Sun.
91
- A third star, known as Proxima Centauri, Proxima, or Alpha Centauri C, is probably gravitationally associated with Alpha Centauri AB.
82
+ The Trapezium or Orion Trapezium Cluster, also known by its Bayer designation of Theta¹ Orionis, is a tight open cluster of stars in the heart of the Orion Nebula, in the constellation of Orion. It was discovered by Galileo Galilei. On February 4, 1617 he sketched three of the stars, but missed the surrounding nebulosity. The fourth component was identified by several observers in 1673, and several more components were discovered later, for a total of eight by 1888. Subsequently several of the stars were determined to be binaries. Telescopes of amateur astronomers from about 5 inch aperture can resolve six stars under good seeing conditions.
83
+ The Trapezium is a relatively young cluster that has formed directly out of the parent nebula. The five brightest stars are on the order of 15-30 solar masses in size. They are within a diameter of 1.5 light-years of each other and are responsible for much of the illumination of the surrounding nebula. The Trapezium may be a sub-component of the larger Orion Nebula Cluster, a grouping of about 2,000 stars within a diameter of 20 light-years.
92
84
  images:
93
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bb_6s
94
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0vvc
85
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02grgb5
86
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c4q5n
95
87
  - name: Pleiades
96
88
  description: |-
97
89
  In astronomy, the Pleiades, or Seven Sisters, is an open star cluster containing middle-aged hot B-type stars located in the constellation of Taurus. It is among the nearest star clusters to Earth and is the cluster most obvious to the naked eye in the night sky. The celestial entity has several meanings in different cultures and traditions.
@@ -363,14 +355,6 @@ Celestial Object:
363
355
  - https://usercontent.googleapis.com/freebase/v1/image/m/03rfw25
364
356
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/02wbnmn
365
357
  Star:
366
- - name: Great Diamond
367
- description: |-
368
- The Great Diamond is an asterism. Astronomy popularizer Hans A. Rey called it the Virgin's Diamond. It is composed of the stars Cor Caroli, Denebola, Spica, and Arcturus. It is somewhat larger than the Big Dipper.
369
- The three southernmost stars are sometimes given their own asterism, the Spring Triangle.
370
- Lying within the Great Diamond is the set of stars traditionally assigned to Coma Berenices. Many nearby galaxies, including galaxies within the Virgo Cluster, are located within this asterism, and some of these galaxies can easily be observed with amateur telescopes.
371
- images:
372
- - https://usercontent.googleapis.com/freebase/v1/image/m/04pc9fw
373
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0d86d8
374
358
  - name: Sun
375
359
  description: |-
376
360
  The Sun is the star at the center of the Solar System. It is almost spherical and consists of hot plasma interwoven with magnetic fields. It has a diameter of about 1,392,684 km, around 109 times that of Earth, and its mass accounts for about 99.86% of the total mass of the Solar System. Chemically, about three quarters of the Sun's mass consists of hydrogen, whereas the rest is mostly helium. The remaining 1.69% consists of heavier elements, including oxygen, carbon, neon and iron, among others.
@@ -1910,6 +1894,31 @@ Planet:
1910
1894
  - https://usercontent.googleapis.com/freebase/v1/image/m/02bmby8
1911
1895
  - https://usercontent.googleapis.com/freebase/v1/image/m/02c29xr
1912
1896
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c31h
1897
+ - name: Pluto
1898
+ description: |-
1899
+ Pluto is the largest object in the Kuiper belt; the tenth-most-massive known body directly orbiting the Sun; and the second-most-massive known dwarf planet, after Eris. Like other Kuiper belt objects, Pluto is primarily made of rock and ice, and relatively small, about 1/6 the mass of the Moon and 1/3 its volume. It has an eccentric and highly inclined orbit that takes it from 30 to 49 AU from the Sun. Hence Pluto periodically comes closer to the Sun than Neptune, but an orbital resonance with Neptune prevents the bodies from colliding. In 2014 it was 32.6 AU from the Sun.
1900
+ Discovered in 1930, Pluto was originally classified as the ninth planet from the Sun. Its status as a major planet fell into question following further study of it and the outer Solar System over the next 75 years. Starting in 1977 with the discovery of the minor planet Chiron, numerous icy objects similar to Pluto with eccentric orbits were found. The most notable of these is the scattered disc object Eris, discovered in 2005, which is 27% more massive than Pluto.
1901
+ images:
1902
+ - https://usercontent.googleapis.com/freebase/v1/image/m/0bd012_
1903
+ - https://usercontent.googleapis.com/freebase/v1/image/m/0dhc9_6
1904
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c3qy
1905
+ - name: Uranus
1906
+ description: |-
1907
+ Uranus is the seventh planet from the Sun. It has the third-largest planetary radius and fourth-largest planetary mass in the Solar System. Uranus is similar in composition to Neptune, and both are of different chemical composition to the larger gas giants Jupiter and Saturn. Thus, astronomers sometimes place them in a separate category called "ice giants". Uranus's atmosphere, although similar to Jupiter's and Saturn's in its primary composition of hydrogen and helium, contains more "ices", such as water, ammonia, and methane, along with traces of other hydrocarbons. It is the coldest planetary atmosphere in the Solar System, with a minimum temperature of 49 K, and has a complex, layered cloud structure, with water thought to make up the lowest clouds, and methane the uppermost layer of clouds. In contrast, the interior of Uranus is mainly composed of ices and rock.
1908
+ It is the only planet whose name is derived from a figure from Greek mythology rather than Roman mythology like the other planets, from the Latinized version of the Greek god of the sky, Ouranos. Like the other giant planets, Uranus has a ring system, a magnetosphere, and numerous moons.
1909
+ images:
1910
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bmd4g
1911
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03rl68f
1912
+ - https://usercontent.googleapis.com/freebase/v1/image/m/052qqmw
1913
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c3ss
1914
+ - name: Eris
1915
+ description: |-
1916
+ Eris is the most massive known dwarf planet in the Solar System and the ninth most massive body known to directly orbit the Sun. It is estimated to be 2,326 ± 12 kilometres in diameter, and 27% more massive than Pluto, or about 0.27% of the Earth's mass.
1917
+ Eris was discovered in January 2005 by a Palomar Observatory-based team led by Mike Brown, and its identity was verified later that year. It is a trans-Neptunian object and a member of a high-eccentricity population known as the scattered disc. It has one known moon, Dysnomia. As of 2014, its distance from the Sun is 96.4 astronomical units, roughly three times that of Pluto. With the exception of some comets, Eris and Dysnomia are currently the most distant known natural objects in the Solar System.
1918
+ Because Eris appeared to be larger than Pluto, its discoverers and NASA initially described it as the Solar System's tenth planet. This, along with the prospect of other similarly sized objects being discovered in the future, motivated the International Astronomical Union to define the term planet for the first time.
1919
+ images:
1920
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03sfrpg
1921
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0gb731
1913
1922
  Star System:
1914
1923
  - name: Solar System
1915
1924
  description: |-
@@ -2375,46 +2384,14 @@ Star System:
2375
2384
  images:
2376
2385
  - https://usercontent.googleapis.com/freebase/v1/image/m/0290_mq
2377
2386
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/04n1sgf
2378
- Celestial object with coordinate system:
2379
- - name: Moon
2380
- description: |-
2381
- The Moon is Earth's only natural satellite. Although not the largest natural satellite in the Solar System, it is, among the satellites of major planets, the largest relative to the size of the object it orbits. It is the second-densest satellite among those whose densities are known.
2382
- The Moon is in synchronous rotation with Earth, always showing the same face with its near side marked by dark volcanic maria that fill between the bright ancient crustal highlands and the prominent impact craters. It is the second-brightest regularly visible celestial object in Earth's sky, as measured by illuminance on the surface of Earth. Although it can appear a very bright white, its surface is actually dark, with a reflectance just slightly higher than that of worn asphalt. Its prominence in the sky and its regular cycle of phases have, since ancient times, made the Moon an important cultural influence on language, calendars, art, and mythology. The Moon's gravitational influence produces the ocean tides and the slight lengthening of the day.
2383
- images:
2384
- - https://usercontent.googleapis.com/freebase/v1/image/m/0291fmz
2385
- - https://usercontent.googleapis.com/freebase/v1/image/m/03rwrvy
2386
- - https://usercontent.googleapis.com/freebase/v1/image/m/03ryvym
2387
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/04wv_
2388
- Asteroid Group:
2389
- - name: Asteroid belt
2390
- description: 'The asteroid belt is the region of the Solar System located roughly
2391
- between the orbits of the planets Mars and Jupiter. It is occupied by numerous
2392
- irregularly shaped bodies called asteroids or minor planets. The asteroid belt
2393
- is also termed the main asteroid belt or main belt to distinguish its members
2394
- from other asteroids in the Solar System such as near-Earth asteroids and trojan
2395
- asteroids. About half the mass of the belt is contained in the four largest asteroids,
2396
- Ceres, Vesta, Pallas, and Hygiea. Vesta, Pallas, and Hygiea have mean diameters
2397
- of more than 400 km, whereas Ceres, the asteroid belt''s only dwarf planet, is
2398
- about 950 km in diameter. The remaining bodies range down to the size of a dust
2399
- particle. The asteroid material is so thinly distributed that numerous unmanned
2400
- spacecraft have traversed it without incident. Nonetheless, collisions between
2401
- large asteroids do occur, and these can form an asteroid family whose members
2402
- have similar orbital characteristics and compositions. Individual asteroids within
2403
- the asteroid belt are categorized by their spectra, with most falling into three
2404
- basic groups: carbonaceous, silicate, and metal-rich.'
2405
- images:
2406
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bjt_2
2407
- - https://usercontent.googleapis.com/freebase/v1/image/m/04pl_td
2408
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0cqbc
2409
- - name: Jupiter Trojan
2387
+ - name: Great Diamond
2410
2388
  description: |-
2411
- The Jupiter Trojans, commonly called Trojans or Trojan asteroids, are a large group of objects that share the orbit of the planet Jupiter around the Sun. Relative to Jupiter, each Trojan librates around one of Jupiter's two stable Lagrangian points, L₄ and L₅, that respectively lie 60° ahead of and behind the planet in its orbit. Jupiter Trojans are distributed in two elongated, curved regions around these Lagrangian points with an average semi-major axis of about 5.2 AU.
2412
- The first Jupiter Trojan discovered, 588 Achilles, was spotted in 1906 by the German astronomer Max Wolf. A total of 5,947 Jupiter Trojans have been found as of February 2014. The term "Trojan" derives from the fact that, by convention, they are each named after a mythological figure from the Trojan War. The total number of Jupiter Trojans larger than 1 km in diameter is believed to be about 1 million, approximately equal to the number of asteroids larger than 1 km in the asteroid belt. Like main-belt asteroids, Jupiter Trojans form families.
2413
- Jupiter Trojans are dark bodies with reddish, featureless spectra.
2389
+ The Great Diamond is an asterism. Astronomy popularizer Hans A. Rey called it the Virgin's Diamond. It is composed of the stars Cor Caroli, Denebola, Spica, and Arcturus. It is somewhat larger than the Big Dipper.
2390
+ The three southernmost stars are sometimes given their own asterism, the Spring Triangle.
2391
+ Lying within the Great Diamond is the set of stars traditionally assigned to Coma Berenices. Many nearby galaxies, including galaxies within the Virgo Cluster, are located within this asterism, and some of these galaxies can easily be observed with amateur telescopes.
2414
2392
  images:
2415
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bjt_2
2416
- - https://usercontent.googleapis.com/freebase/v1/image/m/04pl_td
2417
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/07m61
2393
+ - https://usercontent.googleapis.com/freebase/v1/image/m/04pc9fw
2394
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0d86d8
2418
2395
  Galaxy:
2419
2396
  - name: Milky Way
2420
2397
  description: |-
@@ -4369,32 +4346,6 @@ Galaxy:
4369
4346
  - https://usercontent.googleapis.com/freebase/v1/image/m/02ct5w8
4370
4347
  - https://usercontent.googleapis.com/freebase/v1/image/m/03svg5t
4371
4348
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0bwgqr
4372
- Bodies with heliocentric orbit:
4373
- - name: Pluto
4374
- description: |-
4375
- Pluto is the largest object in the Kuiper belt; the tenth-most-massive known body directly orbiting the Sun; and the second-most-massive known dwarf planet, after Eris. Like other Kuiper belt objects, Pluto is primarily made of rock and ice, and relatively small, about 1/6 the mass of the Moon and 1/3 its volume. It has an eccentric and highly inclined orbit that takes it from 30 to 49 AU from the Sun. Hence Pluto periodically comes closer to the Sun than Neptune, but an orbital resonance with Neptune prevents the bodies from colliding. In 2014 it was 32.6 AU from the Sun.
4376
- Discovered in 1930, Pluto was originally classified as the ninth planet from the Sun. Its status as a major planet fell into question following further study of it and the outer Solar System over the next 75 years. Starting in 1977 with the discovery of the minor planet Chiron, numerous icy objects similar to Pluto with eccentric orbits were found. The most notable of these is the scattered disc object Eris, discovered in 2005, which is 27% more massive than Pluto.
4377
- images:
4378
- - https://usercontent.googleapis.com/freebase/v1/image/m/0bd012_
4379
- - https://usercontent.googleapis.com/freebase/v1/image/m/0dhc9_6
4380
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c3qy
4381
- - name: Uranus
4382
- description: |-
4383
- Uranus is the seventh planet from the Sun. It has the third-largest planetary radius and fourth-largest planetary mass in the Solar System. Uranus is similar in composition to Neptune, and both are of different chemical composition to the larger gas giants Jupiter and Saturn. Thus, astronomers sometimes place them in a separate category called "ice giants". Uranus's atmosphere, although similar to Jupiter's and Saturn's in its primary composition of hydrogen and helium, contains more "ices", such as water, ammonia, and methane, along with traces of other hydrocarbons. It is the coldest planetary atmosphere in the Solar System, with a minimum temperature of 49 K, and has a complex, layered cloud structure, with water thought to make up the lowest clouds, and methane the uppermost layer of clouds. In contrast, the interior of Uranus is mainly composed of ices and rock.
4384
- It is the only planet whose name is derived from a figure from Greek mythology rather than Roman mythology like the other planets, from the Latinized version of the Greek god of the sky, Ouranos. Like the other giant planets, Uranus has a ring system, a magnetosphere, and numerous moons.
4385
- images:
4386
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bmd4g
4387
- - https://usercontent.googleapis.com/freebase/v1/image/m/03rl68f
4388
- - https://usercontent.googleapis.com/freebase/v1/image/m/052qqmw
4389
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0c3ss
4390
- - name: Eris
4391
- description: |-
4392
- Eris is the most massive known dwarf planet in the Solar System and the ninth most massive body known to directly orbit the Sun. It is estimated to be 2,326 ± 12 kilometres in diameter, and 27% more massive than Pluto, or about 0.27% of the Earth's mass.
4393
- Eris was discovered in January 2005 by a Palomar Observatory-based team led by Mike Brown, and its identity was verified later that year. It is a trans-Neptunian object and a member of a high-eccentricity population known as the scattered disc. It has one known moon, Dysnomia. As of 2014, its distance from the Sun is 96.4 astronomical units, roughly three times that of Pluto. With the exception of some comets, Eris and Dysnomia are currently the most distant known natural objects in the Solar System.
4394
- Because Eris appeared to be larger than Pluto, its discoverers and NASA initially described it as the Solar System's tenth planet. This, along with the prospect of other similarly sized objects being discovered in the future, motivated the International Astronomical Union to define the term planet for the first time.
4395
- images:
4396
- - https://usercontent.googleapis.com/freebase/v1/image/m/03sfrpg
4397
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0gb731
4398
4349
  Moon:
4399
4350
  - name: Titan
4400
4351
  description: |-
@@ -4739,6 +4690,42 @@ Moon:
4739
4690
  images:
4740
4691
  - https://usercontent.googleapis.com/freebase/v1/image/m/044pl92
4741
4692
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/02t0db
4693
+ - name: Charon
4694
+ description: |-
4695
+ Charon is the largest satellite of the dwarf planet Pluto. It was discovered in 1978 at the United States Naval Observatory Flagstaff Station. Following the 2005 discovery of two other natural satellites of Pluto, and two more in 2011 and 2012, Charon may also be referred to as Pluto I.
4696
+ The New Horizons mission is scheduled to visit Charon and Pluto in July 2015.
4697
+ images:
4698
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bny67
4699
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03t0tnk
4700
+ - https://usercontent.googleapis.com/freebase/v1/image/m/04pgb5x
4701
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0dwjs
4702
+ - name: Nix
4703
+ description: Nix is a natural satellite of Pluto. It was discovered along with
4704
+ Hydra in June 2005, and is to be visited along with Pluto by the New Horizons
4705
+ mission in July 2015.
4706
+ images:
4707
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02ggx2d
4708
+ - https://usercontent.googleapis.com/freebase/v1/image/m/0gzfwx7
4709
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/08m_wd
4710
+ - name: Hydra
4711
+ description: Hydra is the outermost known natural satellite of Pluto. It was discovered
4712
+ along with Nix in June 2005, and is to be visited along with Pluto by the New
4713
+ Horizons mission in July 2015.
4714
+ images:
4715
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02ggx2d
4716
+ - https://usercontent.googleapis.com/freebase/v1/image/m/0ccpwxc
4717
+ - https://usercontent.googleapis.com/freebase/v1/image/m/0gzfwx7
4718
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/08m_x7
4719
+ - name: Dysnomia
4720
+ description: Dysnomia, officially Eris I Dysnomia, is the only known moon of the
4721
+ dwarf planet Eris. It was discovered in 2005 by Mike Brown and the laser guide
4722
+ star adaptive optics team at the W. M. Keck Observatory, and carried the provisional
4723
+ designation of S/2005 1 until officially named Dysnomia after the daughter of
4724
+ the Greek goddess Eris.
4725
+ images:
4726
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02gdzjg
4727
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03sfrpg
4728
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/084t6n
4742
4729
  Comet:
4743
4730
  - name: Halley's Comet
4744
4731
  description: |-
@@ -4899,6 +4886,35 @@ Asteroid:
4899
4886
  images:
4900
4887
  - https://usercontent.googleapis.com/freebase/v1/image/m/02932fg
4901
4888
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0ks5b
4889
+ - name: Asteroid belt
4890
+ description: 'The asteroid belt is the region of the Solar System located roughly
4891
+ between the orbits of the planets Mars and Jupiter. It is occupied by numerous
4892
+ irregularly shaped bodies called asteroids or minor planets. The asteroid belt
4893
+ is also termed the main asteroid belt or main belt to distinguish its members
4894
+ from other asteroids in the Solar System such as near-Earth asteroids and trojan
4895
+ asteroids. About half the mass of the belt is contained in the four largest asteroids,
4896
+ Ceres, Vesta, Pallas, and Hygiea. Vesta, Pallas, and Hygiea have mean diameters
4897
+ of more than 400 km, whereas Ceres, the asteroid belt''s only dwarf planet, is
4898
+ about 950 km in diameter. The remaining bodies range down to the size of a dust
4899
+ particle. The asteroid material is so thinly distributed that numerous unmanned
4900
+ spacecraft have traversed it without incident. Nonetheless, collisions between
4901
+ large asteroids do occur, and these can form an asteroid family whose members
4902
+ have similar orbital characteristics and compositions. Individual asteroids within
4903
+ the asteroid belt are categorized by their spectra, with most falling into three
4904
+ basic groups: carbonaceous, silicate, and metal-rich.'
4905
+ images:
4906
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bjt_2
4907
+ - https://usercontent.googleapis.com/freebase/v1/image/m/04pl_td
4908
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0cqbc
4909
+ - name: Jupiter Trojan
4910
+ description: |-
4911
+ The Jupiter Trojans, commonly called Trojans or Trojan asteroids, are a large group of objects that share the orbit of the planet Jupiter around the Sun. Relative to Jupiter, each Trojan librates around one of Jupiter's two stable Lagrangian points, L₄ and L₅, that respectively lie 60° ahead of and behind the planet in its orbit. Jupiter Trojans are distributed in two elongated, curved regions around these Lagrangian points with an average semi-major axis of about 5.2 AU.
4912
+ The first Jupiter Trojan discovered, 588 Achilles, was spotted in 1906 by the German astronomer Max Wolf. A total of 5,947 Jupiter Trojans have been found as of February 2014. The term "Trojan" derives from the fact that, by convention, they are each named after a mythological figure from the Trojan War. The total number of Jupiter Trojans larger than 1 km in diameter is believed to be about 1 million, approximately equal to the number of asteroids larger than 1 km in the asteroid belt. Like main-belt asteroids, Jupiter Trojans form families.
4913
+ Jupiter Trojans are dark bodies with reddish, featureless spectra.
4914
+ images:
4915
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bjt_2
4916
+ - https://usercontent.googleapis.com/freebase/v1/image/m/04pl_td
4917
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/07m61
4902
4918
  Constellation:
4903
4919
  - name: Pisces
4904
4920
  description: Pisces is a constellation of the zodiac. Its name is the Latin plural
@@ -5788,43 +5804,6 @@ Nebula:
5788
5804
  images:
5789
5805
  - https://usercontent.googleapis.com/freebase/v1/image/m/02cgbyy
5790
5806
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/01tbtm
5791
- Natural satellite:
5792
- - name: Charon
5793
- description: |-
5794
- Charon is the largest satellite of the dwarf planet Pluto. It was discovered in 1978 at the United States Naval Observatory Flagstaff Station. Following the 2005 discovery of two other natural satellites of Pluto, and two more in 2011 and 2012, Charon may also be referred to as Pluto I.
5795
- The New Horizons mission is scheduled to visit Charon and Pluto in July 2015.
5796
- images:
5797
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bny67
5798
- - https://usercontent.googleapis.com/freebase/v1/image/m/03t0tnk
5799
- - https://usercontent.googleapis.com/freebase/v1/image/m/04pgb5x
5800
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0dwjs
5801
- - name: Nix
5802
- description: Nix is a natural satellite of Pluto. It was discovered along with
5803
- Hydra in June 2005, and is to be visited along with Pluto by the New Horizons
5804
- mission in July 2015.
5805
- images:
5806
- - https://usercontent.googleapis.com/freebase/v1/image/m/02ggx2d
5807
- - https://usercontent.googleapis.com/freebase/v1/image/m/0gzfwx7
5808
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/08m_wd
5809
- - name: Hydra
5810
- description: Hydra is the outermost known natural satellite of Pluto. It was discovered
5811
- along with Nix in June 2005, and is to be visited along with Pluto by the New
5812
- Horizons mission in July 2015.
5813
- images:
5814
- - https://usercontent.googleapis.com/freebase/v1/image/m/02ggx2d
5815
- - https://usercontent.googleapis.com/freebase/v1/image/m/0ccpwxc
5816
- - https://usercontent.googleapis.com/freebase/v1/image/m/0gzfwx7
5817
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/08m_x7
5818
- - name: Dysnomia
5819
- description: Dysnomia, officially Eris I Dysnomia, is the only known moon of the
5820
- dwarf planet Eris. It was discovered in 2005 by Mike Brown and the laser guide
5821
- star adaptive optics team at the W. M. Keck Observatory, and carried the provisional
5822
- designation of S/2005 1 until officially named Dysnomia after the daughter of
5823
- the Greek goddess Eris.
5824
- images:
5825
- - https://usercontent.googleapis.com/freebase/v1/image/m/02gdzjg
5826
- - https://usercontent.googleapis.com/freebase/v1/image/m/03sfrpg
5827
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/084t6n
5828
5807
  Astronomical Discovery:
5829
5808
  - name: Haumea
5830
5809
  description: |-
@@ -5917,16 +5896,41 @@ Astronomical Discovery:
5917
5896
  images:
5918
5897
  - https://usercontent.googleapis.com/freebase/v1/image/m/02gtz48
5919
5898
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0cx2kj
5920
- Galactic supercluster:
5921
- - name: Virgo Supercluster
5899
+ - name: Sloan Great Wall
5922
5900
  description: |-
5923
- The Virgo Supercluster or the Local Supercluster is a mass concentration of galaxies which contains the Virgo Cluster in addition to the Local Group, which in turn contains the Milky Way and Andromeda galaxies. At least 100 galaxy groups and clusters are located within its diameter of 33 megaparsecs. It is one of millions of superclusters in the observable universe.
5924
- A 2014 study indicates that the Virgo Supercluster is only a lobe of a greater supercluster, Laniakea, which is centered on the Great Attractor.
5901
+ The Sloan Great Wall is a cosmic structure formed by a giant wall of galaxies. Its discovery was announced from Princeton University on October 20, 2003, by J. Richard Gott III, Mario Jurić, and their colleagues, based on data from the Sloan Digital Sky Survey.
5902
+ The wall measures 1.38 billion light-years in length, located approximately one billion light-years from Earth. It is approximately 1/60 of the diameter of the observable universe, making it the fifth largest known object after the large quasar groups Clowes-Campusano LQG, U1.11, Huge-LQG, and the galaxy filament Hercules–Corona Borealis Great Wall, respectively.
5903
+ Until the discovery of the Her–CrB GW in November 2013, it was the largest known galaxy filament.
5904
+ The Sloan Great Wall is between 1.8-2.7 times longer than the CfA2 Great Wall of galaxies. It also contains several galactic superclusters, the largest and richest of which is named SCl 126. This is located in the highest density region of the structure.
5905
+ In 2011, it was suggested that the SGW is a chance alignment of three structures, and not a structure in itself.
5925
5906
  images:
5926
- - https://usercontent.googleapis.com/freebase/v1/image/m/02c2g2l
5927
- - https://usercontent.googleapis.com/freebase/v1/image/m/03s2wjf
5928
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/01825t
5929
- Globular cluster:
5907
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03r99qs
5908
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0fwv5b
5909
+ - name: SN 1987A
5910
+ description: SN 1987A was a supernova in the outskirts of the Tarantula Nebula
5911
+ in the Large Magellanic Cloud, a nearby dwarf galaxy. It occurred approximately
5912
+ 51.4 kiloparsecs from Earth, approximately 168,000 light-years, close enough that
5913
+ it was visible to the naked eye. It could be seen from the Southern Hemisphere.
5914
+ It was the closest observed supernova since SN 1604, which occurred in the Milky
5915
+ Way itself. The light from the new supernova reached Earth on February 23, 1987.
5916
+ As it was the first supernova discovered in 1987, it was labeled “1987A”. Its
5917
+ brightness peaked in May with an apparent magnitude of about 3 and slowly declined
5918
+ in the following months. It was the first opportunity for modern astronomers to
5919
+ see a supernova up close and observations have provided much insight into core-collapse
5920
+ supernovae.
5921
+ images:
5922
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bjgqk
5923
+ - https://usercontent.googleapis.com/freebase/v1/image/m/041y3dg
5924
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/07589
5925
+ - name: SN 1054
5926
+ description: |-
5927
+ SN 1054 is a supernova that was first observed on 4 July 1054, and that lasted for a period of around two years. The event was recorded in contemporary Chinese astronomy, and references to it are also found in a later Japanese document, and in a document from the Arab world. Furthermore, there are a number of proposed, but doubtful, references from European sources recorded in the 15th century, and perhaps a pictograph associated with the Anasazi Pueblo Peoples found near the Peñasco Blanco site in New Mexico.
5928
+ The remnant of SN 1054, which consists of debris ejected during the explosion, is known as the Crab Nebula. It is located in the sky near the star Zeta Tauri. The core of the exploding star formed a pulsar, called the Crab Pulsar. The nebula and the pulsar it contains are the most studied astronomical objects outside the Solar System. It is one of the few Galactic supernovae where the date of the explosion is well known. The two objects are the most luminous in their respective categories. For these reasons, and because of the important role it has repeatedly played in the modern era, SN 1054 is the best known supernova in the history of astronomy.
5929
+ images:
5930
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02bnk20
5931
+ - https://usercontent.googleapis.com/freebase/v1/image/m/08bgx32
5932
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/05wjv3
5933
+ Cluster:
5930
5934
  - name: Messier 3
5931
5935
  description: |-
5932
5936
  Messier 3 is a globular cluster of stars in the northern constellation of Canes Venatici. It was discovered by Charles Messier on May 3, 1764, and resolved into stars by William Herschel around 1784. Since then, it has become one of the best-studied globular clusters. Identification of the cluster's unusually large variable star population was begun in 1913 by American astronomer Solon Irving Bailey and new variable members continue to be identified up through 2004.
@@ -6033,42 +6037,14 @@ Globular cluster:
6033
6037
  images:
6034
6038
  - https://usercontent.googleapis.com/freebase/v1/image/m/03r349_
6035
6039
  detailed_info: https://www.googleapis.com/freebase/v1/topic/m/02r522n
6036
- Supernova:
6037
- - name: SN 1987A
6038
- description: SN 1987A was a supernova in the outskirts of the Tarantula Nebula
6039
- in the Large Magellanic Cloud, a nearby dwarf galaxy. It occurred approximately
6040
- 51.4 kiloparsecs from Earth, approximately 168,000 light-years, close enough that
6041
- it was visible to the naked eye. It could be seen from the Southern Hemisphere.
6042
- It was the closest observed supernova since SN 1604, which occurred in the Milky
6043
- Way itself. The light from the new supernova reached Earth on February 23, 1987.
6044
- As it was the first supernova discovered in 1987, it was labeled “1987A”. Its
6045
- brightness peaked in May with an apparent magnitude of about 3 and slowly declined
6046
- in the following months. It was the first opportunity for modern astronomers to
6047
- see a supernova up close and observations have provided much insight into core-collapse
6048
- supernovae.
6049
- images:
6050
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bjgqk
6051
- - https://usercontent.googleapis.com/freebase/v1/image/m/041y3dg
6052
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/07589
6053
- - name: SN 1054
6054
- description: |-
6055
- SN 1054 is a supernova that was first observed on 4 July 1054, and that lasted for a period of around two years. The event was recorded in contemporary Chinese astronomy, and references to it are also found in a later Japanese document, and in a document from the Arab world. Furthermore, there are a number of proposed, but doubtful, references from European sources recorded in the 15th century, and perhaps a pictograph associated with the Anasazi Pueblo Peoples found near the Peñasco Blanco site in New Mexico.
6056
- The remnant of SN 1054, which consists of debris ejected during the explosion, is known as the Crab Nebula. It is located in the sky near the star Zeta Tauri. The core of the exploding star formed a pulsar, called the Crab Pulsar. The nebula and the pulsar it contains are the most studied astronomical objects outside the Solar System. It is one of the few Galactic supernovae where the date of the explosion is well known. The two objects are the most luminous in their respective categories. For these reasons, and because of the important role it has repeatedly played in the modern era, SN 1054 is the best known supernova in the history of astronomy.
6057
- images:
6058
- - https://usercontent.googleapis.com/freebase/v1/image/m/02bnk20
6059
- - https://usercontent.googleapis.com/freebase/v1/image/m/08bgx32
6060
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/05wjv3
6061
- Galactic filament:
6062
- - name: Sloan Great Wall
6040
+ - name: Virgo Supercluster
6063
6041
  description: |-
6064
- The Sloan Great Wall is a cosmic structure formed by a giant wall of galaxies. Its discovery was announced from Princeton University on October 20, 2003, by J. Richard Gott III, Mario Jurić, and their colleagues, based on data from the Sloan Digital Sky Survey.
6065
- The wall measures 1.38 billion light-years in length, located approximately one billion light-years from Earth. It is approximately 1/60 of the diameter of the observable universe, making it the fifth largest known object after the large quasar groups Clowes-Campusano LQG, U1.11, Huge-LQG, and the galaxy filament Hercules–Corona Borealis Great Wall, respectively.
6066
- Until the discovery of the Her–CrB GW in November 2013, it was the largest known galaxy filament.
6067
- The Sloan Great Wall is between 1.8-2.7 times longer than the CfA2 Great Wall of galaxies. It also contains several galactic superclusters, the largest and richest of which is named SCl 126. This is located in the highest density region of the structure.
6068
- In 2011, it was suggested that the SGW is a chance alignment of three structures, and not a structure in itself.
6042
+ The Virgo Supercluster or the Local Supercluster is a mass concentration of galaxies which contains the Virgo Cluster in addition to the Local Group, which in turn contains the Milky Way and Andromeda galaxies. At least 100 galaxy groups and clusters are located within its diameter of 33 megaparsecs. It is one of millions of superclusters in the observable universe.
6043
+ A 2014 study indicates that the Virgo Supercluster is only a lobe of a greater supercluster, Laniakea, which is centered on the Great Attractor.
6069
6044
  images:
6070
- - https://usercontent.googleapis.com/freebase/v1/image/m/03r99qs
6071
- detailed_info: https://www.googleapis.com/freebase/v1/topic/m/0fwv5b
6045
+ - https://usercontent.googleapis.com/freebase/v1/image/m/02c2g2l
6046
+ - https://usercontent.googleapis.com/freebase/v1/image/m/03s2wjf
6047
+ detailed_info: https://www.googleapis.com/freebase/v1/topic/m/01825t
6072
6048
  Meteor Shower:
6073
6049
  - name: Perseids
6074
6050
  description: |-
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Nick Aschenbach']
10
10
  spec.email = ['nick.aschenbach@gmail.com']
11
11
  spec.summary = %q{Get information using a simple interface about various celestial phenomena from Freebase. Search or browse the data.}
12
- spec.description = %q{Get the names, descriptions and image URLs for various categories including: Asterisms, Celestial Objects, Stars, Planets, Star Systems, Celestial object with coordinate systems, Asteroid Groups, Galaxies, Bodies with heliocentric orbits, Moons, Comets, Asteroids, Constellations, Nebulae, Natural satellites, Astronomical Discoveries, Galactic superclusters, Globular clusters, Supernovae, Galactic filaments, Meteor Showers. Also provides links to the full Freebase JSON data.}
12
+ spec.description = %q{Search or browse the names, descriptions and image URLs for various categories including: Asterism, Celestial Object, Star, Planet, Star System, Galaxy, Moon, Comet, Asteroid, Constellation, Nebula, Astronomical Discovery, Cluster and Meteor Shower. Also provides links to the full Freebase JSON data.}
13
13
  spec.homepage = 'https://github.com/nick-aschenbach/astronomy'
14
14
  spec.license = 'MIT'
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Astronomy
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+
3
+ describe Astronomy::Information do
4
+ subject { Astronomy::Information.new }
5
+ describe 'yaml attributes' do
6
+ it 'contains at least one category' do
7
+ expect(subject.categories.count).to be > 0
8
+ end
9
+
10
+ it 'has at least one topic per category' do
11
+ categories = subject.categories
12
+ categories.each do |category|
13
+ topics = subject.topics(category)
14
+ expect(topics.size).to be > 0
15
+ end
16
+ end
17
+
18
+ it 'has non-nil attributes for each topic for all categories' do
19
+ categories = subject.categories
20
+ categories.each do |category|
21
+ topics = subject.topics(category)
22
+ topics.each do |topic|
23
+ expect(topic['name']).to_not be_nil
24
+ expect(topic['description']).to_not be_nil
25
+ expect(topic['images']).to_not be_nil
26
+ expect(topic['detailed_info']).to_not be_nil
27
+ end
28
+ end
29
+ end
30
+
31
+ it 'has at least one image per topic' do
32
+ categories = subject.categories
33
+ categories.each do |category|
34
+ topics = subject.topics(category)
35
+ topics.each do |topic|
36
+ expect(topic['images'].size).to be > 0
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: astronomy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Aschenbach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,12 +52,10 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: 'Get the names, descriptions and image URLs for various categories including:
56
- Asterisms, Celestial Objects, Stars, Planets, Star Systems, Celestial object with
57
- coordinate systems, Asteroid Groups, Galaxies, Bodies with heliocentric orbits,
58
- Moons, Comets, Asteroids, Constellations, Nebulae, Natural satellites, Astronomical
59
- Discoveries, Galactic superclusters, Globular clusters, Supernovae, Galactic filaments,
60
- Meteor Showers. Also provides links to the full Freebase JSON data.'
55
+ description: 'Search or browse the names, descriptions and image URLs for various
56
+ categories including: Asterism, Celestial Object, Star, Planet, Star System, Galaxy,
57
+ Moon, Comet, Asteroid, Constellation, Nebula, Astronomical Discovery, Cluster and
58
+ Meteor Shower. Also provides links to the full Freebase JSON data.'
61
59
  email:
62
60
  - nick.aschenbach@gmail.com
63
61
  executables: []
@@ -73,6 +71,7 @@ files:
73
71
  - astronomy.gemspec
74
72
  - lib/astronomy.rb
75
73
  - lib/astronomy/version.rb
74
+ - spec/integration/astronomy_integration_spec.rb
76
75
  - spec/lib/astronomy_spec.rb
77
76
  - spec/spec_helper.rb
78
77
  homepage: https://github.com/nick-aschenbach/astronomy
@@ -95,11 +94,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
94
  version: '0'
96
95
  requirements: []
97
96
  rubyforge_project:
98
- rubygems_version: 2.4.5
97
+ rubygems_version: 2.2.2
99
98
  signing_key:
100
99
  specification_version: 4
101
100
  summary: Get information using a simple interface about various celestial phenomena
102
101
  from Freebase. Search or browse the data.
103
102
  test_files:
103
+ - spec/integration/astronomy_integration_spec.rb
104
104
  - spec/lib/astronomy_spec.rb
105
105
  - spec/spec_helper.rb