HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /How often does the satellite pass?
Earth and Environmental ScienceHardHigh School (11–12)Remote Sensing, GIS and Earth Data

How often does the satellite pass?

A mapping satellite on a circular orbit sees a strip of ground, its swath, on each lap. In this lab you find its lap time, and then how the tracks spread over the equator and overlap.

The idea. The period is T=2πa3/GMT = 2\pi\sqrt{a^3/GM}T=2πa3/GM​, with aaa from the centre of the Earth. If the tracks repeat after NNN laps, they are spaced 2πR/N2\pi R/N2πR/N apart on the equator. Neighbouring swaths overlap when the swath is wider than the spacing.

Your tasks.

  1. In period_min, return the period in minutes for a height in kilometres.
  2. In track_spacing, return the spacing of the tracks on the equator in kilometres for laps laps in a cycle.
  3. In overlap_percent, return the share of a swath that overlaps its neighbour, in percent (zero if there is a gap).

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, try Sentinel-2: a height of 786 km, a swath of 290 km and a cycle of 143 laps. Do its swaths overlap more than those of Landsat?

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

Run your code once to unlock the worked solution.

Have you tried it?

Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.

Log in to save
← All Labs
← From digital numbers to a map of greenDegrees, distances and zones →
More onRemote Sensing, GIS and Earth Data

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Orbits, resolution and seeing greenRemote Sensing: Spectra, Satellites and Vegetation

More labs on this topic

  1. Anomalies, a running mean and a trendHard
  2. A carbon dioxide record: trend and cycleHard
  3. A raster calculation: slope and floodingHard
  4. Degrees, distances and zonesHard
From digital numbers to a map of greenHard
All labs on this topic →