parent
bcb3329fdd
commit
37e74404d5
54
templates/meteors.html
Normal file
54
templates/meteors.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Meteor Showers 2025 - Edward Betts{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container-fluid mt-2">
|
||||
<h1>Meteor Showers 2025</h1>
|
||||
|
||||
<p>Major meteor showers visible throughout 2025. All times are approximate and viewing conditions depend on light pollution, weather, and moon phase.</p>
|
||||
|
||||
{% for meteor in meteors %}
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-2 text-nowrap text-md-end">
|
||||
<strong>{{ meteor.peak }}</strong>
|
||||
<br class="d-none d-md-block"/>
|
||||
<small class="text-muted">{{ meteor.active }}</small>
|
||||
</div>
|
||||
<div class="col-md-2 text-md-nowrap">
|
||||
<span class="d-md-none">Rate:</span>
|
||||
{{ meteor.rate }}
|
||||
<br class="d-none d-md-block"/>
|
||||
<small class="text-muted">{{ meteor.radiant }}</small>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div>
|
||||
<h4>{{ meteor.name }}</h4>
|
||||
<p><strong>Moon Phase:</strong> {{ meteor.moon_phase }}</p>
|
||||
<p><strong>Best Visibility:</strong> {{ meteor.visibility }}</p>
|
||||
<p>{{ meteor.description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<div class="mt-4">
|
||||
<h3>Viewing Tips</h3>
|
||||
<ul>
|
||||
<li>Find a dark location away from city lights</li>
|
||||
<li>Allow your eyes to adjust to darkness for 20-30 minutes</li>
|
||||
<li>Look northeast for most showers, but meteors can appear anywhere</li>
|
||||
<li>Best viewing is typically after midnight</li>
|
||||
<li>No telescope needed - use naked eye viewing</li>
|
||||
<li>Check weather conditions and moon phase before planning</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<h3>About Meteor Showers</h3>
|
||||
<p>Meteor showers occur when Earth passes through debris trails left by comets or asteroids. The debris burns up in our atmosphere, creating the streaks of light we see as "shooting stars."</p>
|
||||
|
||||
<p><strong>Data Sources:</strong> Information compiled from NASA, American Meteor Society, and astronomical observations for 2025.</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -12,6 +12,7 @@
|
|||
{"endpoint": "gaps_page", "label": "Gaps" },
|
||||
{"endpoint": "weekends", "label": "Weekends" },
|
||||
{"endpoint": "launch_list", "label": "Space launches" },
|
||||
{"endpoint": "meteor_list", "label": "Meteor showers" },
|
||||
{"endpoint": "holiday_list", "label": "Holidays" },
|
||||
{"endpoint": "schengen_report", "label": "Schengen" },
|
||||
] + ([{"endpoint": "birthday_list", "label": "Birthdays" }]
|
||||
|
|
83
web_view.py
83
web_view.py
|
@ -213,6 +213,89 @@ def launch_list() -> str:
|
|||
)
|
||||
|
||||
|
||||
@app.route("/meteors")
|
||||
def meteor_list() -> str:
|
||||
"""Web page showing meteor shower information."""
|
||||
meteors = [
|
||||
{
|
||||
"name": "Quadrantids",
|
||||
"peak": "January 3-4",
|
||||
"active": "December 28 - January 12",
|
||||
"rate": "50-100 meteors per hour",
|
||||
"radiant": "Boötes",
|
||||
"moon_phase": "New Moon (excellent viewing)",
|
||||
"visibility": "Northern Hemisphere",
|
||||
"description": "The year kicks off with the Quadrantids, known for their brief but intense peak lasting only about 4 hours.",
|
||||
},
|
||||
{
|
||||
"name": "Lyrids",
|
||||
"peak": "April 21-22",
|
||||
"active": "April 14 - April 30",
|
||||
"rate": "10-15 meteors per hour",
|
||||
"radiant": "Lyra",
|
||||
"moon_phase": "Waning Crescent (good viewing)",
|
||||
"visibility": "Both hemispheres",
|
||||
"description": "The Lyrids are one of the oldest recorded meteor showers, with observations dating back 2,700 years.",
|
||||
},
|
||||
{
|
||||
"name": "Eta Aquariids",
|
||||
"peak": "May 5-6",
|
||||
"active": "April 15 - May 27",
|
||||
"rate": "30-60 meteors per hour",
|
||||
"radiant": "Aquarius",
|
||||
"moon_phase": "First Quarter (moderate viewing)",
|
||||
"visibility": "Southern Hemisphere (best)",
|
||||
"description": "Created by debris from Halley's Comet, these meteors are fast and often leave glowing trails.",
|
||||
},
|
||||
{
|
||||
"name": "Perseids",
|
||||
"peak": "August 12-13",
|
||||
"active": "July 17 - August 24",
|
||||
"rate": "50-100 meteors per hour",
|
||||
"radiant": "Perseus",
|
||||
"moon_phase": "Full Moon (poor viewing)",
|
||||
"visibility": "Northern Hemisphere",
|
||||
"description": "One of the most popular meteor showers, though 2025 viewing will be hampered by bright moonlight.",
|
||||
},
|
||||
{
|
||||
"name": "Orionids",
|
||||
"peak": "October 21-22",
|
||||
"active": "October 2 - November 7",
|
||||
"rate": "15-25 meteors per hour",
|
||||
"radiant": "Orion",
|
||||
"moon_phase": "Waning Crescent (good viewing)",
|
||||
"visibility": "Both hemispheres",
|
||||
"description": "Another shower created by Halley's Comet debris, known for their speed and brightness.",
|
||||
},
|
||||
{
|
||||
"name": "Geminids",
|
||||
"peak": "December 13-14",
|
||||
"active": "December 4 - December 20",
|
||||
"rate": "60-120 meteors per hour",
|
||||
"radiant": "Gemini",
|
||||
"moon_phase": "Waxing Gibbous (moderate viewing)",
|
||||
"visibility": "Both hemispheres",
|
||||
"description": "The best shower of 2025 with the highest rates. Unusual for being caused by an asteroid (3200 Phaethon) rather than a comet.",
|
||||
},
|
||||
{
|
||||
"name": "Ursids",
|
||||
"peak": "December 22-23",
|
||||
"active": "December 17 - December 26",
|
||||
"rate": "5-10 meteors per hour",
|
||||
"radiant": "Ursa Minor",
|
||||
"moon_phase": "New Moon (excellent viewing)",
|
||||
"visibility": "Northern Hemisphere",
|
||||
"description": "A minor shower that closes out the year, best viewed from dark locations away from city lights.",
|
||||
},
|
||||
]
|
||||
|
||||
return flask.render_template(
|
||||
"meteors.html",
|
||||
meteors=meteors,
|
||||
today=date.today(),
|
||||
)
|
||||
|
||||
|
||||
@app.route("/gaps")
|
||||
async def gaps_page() -> str:
|
||||
"""List of available gaps."""
|
||||
|
|
Loading…
Reference in a new issue