Exercise: coordinates, time and reference levels

Calculate from hypothetical data with Python or a calculator, then check the answer key, which keeps units clearly separated

Last updated:

A learner calculating coordinates and checking the results on a computer
AI-generated concept illustration

Works on both Windows and Linux

Download coordinate-lab.py Uses Python 3 with no extra dependencies, or calculate by hand from the problems below. The code computes results locally; it does not access the network or command any aircraft

Problems

  1. Convert 13°30′0″ N and 100°15′0″ E to decimal degrees
  2. Convert 7 Sep 2026 at 20:30 UTC to Thai time, including the date
  3. Convert 120 ft to metres
  4. A point 30 m above ground whose elevation is 120 m MSL is at what level, assuming the same datum?

Height example: ground = 120 m MSL; aircraft 30 m above ground AGL; aircraft = 150 m MSL

Run and check the results

Open a terminal in the file's folder and run python coordinate-lab.py If your system uses the name python3 use that name instead. The results should be 13.5, 100.25, 2026-09-08 03:30 +0700, 36.576 m and 150 m MSL respectively

Change the hemispheres to S/W and check that the coordinate signs change correctly. Try entering 60 minutes, which is invalid input; the function must report an error instead of continuing the calculation

Coordinate signs by hemisphere: N and E are positive, while S and W must carry a minus sign in decimal degrees

Deliverables

Keep the output and a paragraph explaining how MSL height differs from AGL height. Completing the exercise does not confirm that these hypothetical coordinates can be flown

Licence for the exercise files

Download the LICENSE.txt licence, Python code is under MIT; forms are under CC BY 4.0, credit PK-Research

References and scope

Sources checked 7 September B.E. 2569 (2026); compiled to accompany knowledge kindly contributed by DTI

Acknowledgements and sources

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Exercise: coordinates, time and reference levels. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/practice/coordinates/

Original from Drone-Hub: https://drone.pk-research.work/practice/coordinates/ · © PK-Research