Skip to content

Commit

Permalink
Added comet data to the end of the year and a credit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeetay committed Dec 21, 2021
1 parent 4b6b961 commit b4c6573
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ class CometsLayer(private val model: AstronomerModel, resources: Resources) :
}

private fun initializeComets() {
// Data credit: InTheSky.org
comets.add(
Comet(
R.string.comet_leonard,
Expand Down Expand Up @@ -241,6 +242,30 @@ class CometsLayer(private val model: AstronomerModel, resources: Resources) :
decDegreesFromDMS(-34f, 13f, 17f),
9.71f
),
TimeEntry(
LocalDate.of(2021, 12, 28),
raDegreesFromHMS(21f, 22f, 31f),
decDegreesFromDMS(-34f, 20f, 38f),
9.71f
),
TimeEntry(
LocalDate.of(2021, 12, 29),
raDegreesFromHMS(21f, 26f, 22f),
decDegreesFromDMS(-34f, 37f, 11f),
9.71f
),
TimeEntry(
LocalDate.of(2021, 12, 30),
raDegreesFromHMS(21f, 29f, 39f),
decDegreesFromDMS(-34f, 51f, 29f),
9.71f
),
TimeEntry(
LocalDate.of(2021, 12, 31),
raDegreesFromHMS(21f, 32f, 27f),
decDegreesFromDMS(-35f, 03f, 55f),
9.71f
),
)
)
)
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Hubble Images provided by NASA\'s Space Telescope Science Institute
Meteor shower data from the International Meteor Organization
(http://www.imo.net/data)<br/>
M31 image by Peter Kennett (https://commons.wikimedia.org/wiki/File:M31(Kennett).jpg)<br/>
Comet Leonard data: In-The-Sky.org<br/>
</string>
</resources>

0 comments on commit b4c6573

Please sign in to comment.