Save this video free

Lecture 14: Hurricane Tracker

Professor Rosen · 1:05:53 · Watch on YouTube

Part of Temple University CIS 1051. See all 23 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

A hurricane tracker uses Python’s turtle graphics to plot storm coordinates on an Atlantic map, with wind speed determining the storm category and color. The lesson explains how to configure the starter files and map coordinates, then practices CSV parsing with Pokémon data to teach line splitting, type conversion, finding top values, and insertion sort.

Key takeaways

Chapters

0:00 Hurricane Tracker Output and Starter Files
3:00 How the Starter Code Builds the Turtle Map
6:00 World Coordinates, the Irma Function, and Turtle Setup
9:15 Plotting Walt Disney World with turtle.goto
14:15 Reading Hurricane Coordinates and Wind Speed
16:00 Using Pokémon CSV Data to Practice File Reading
21:15 Loading CSV Rows with open and readlines
29:00 Splitting CSV Rows and Cleaning Pokémon Names
35:15 Converting CSV Strings and Finding the Highest Stat
42:15 Building a Top-Pokémon List with Parallel Lists
50:00 Correcting the Top-List Logic with Ordered Insertion
57:00 Insertion Sort and Its Connection to Hurricane CSV Parsing
1:00:00 Comparing Insertion Sort, Quicksort, and Timsort

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 All right. So, again, this is going to be our final result for the hurricane tracker. Where we basically have kind of you run it and it gives the um overall path of the hurricane. And it's a bit low resolution, so it's a bit hard to see. But, what we've got here is that as the category of the hurricane intensifies, the color changes as well. And these little marks over here are actually the number represent uh is kind of the number being printed onto the screen of what the um hurricane is. It is possible for uh the turtle to write onto the window. There I believe it's like a write function. Um and you can modify the font and the font size. Um but basically what you're doing is

0:47 you're um you're drawing the path of the hurricane. Okay? What you have So, if you were here on Tuesday, you will have gone through the process of downloading this folder and unzipping it to the directory of your choice. And if you're having trouble working uh getting it working in something that isn't idle, you know, then I would definitely work on it in idle. But, download it. I've already downloaded it. I'm not going to do so again. But, at the end of the day, what I put it in my documents folder. You put it wherever you work on your code on your computer. It's in a going to be in a folder called starter files. You can change the name of this folder, but you want to keep the stuff in here named the same. Right?

1:34 Once again, we're downloading this as you got this as a zip file, which is a type of archive file, and you do not want to work be working from directly

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Rosen.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.