...

/

Getting Airfoil Coordinates

Getting Airfoil Coordinates

Develop an airfoil plotter.

You need to use the Requests and Matplotlib libraries:

import requests
import matplotlib.pyplot as plt

Organizing the program

First, you will define a get_airfoil_coordinates() function that will:

  • accept an airfoil name as an argument
  • scrape the UIUC website
  • get the results and clean the data
  • return the x coordinates, the y coordinates, and the airfoil name as elements of a tuple

To build this function, you will use the NACA 2412 airfoil to ensure that the program works.

Understanding airfoil coordinates

The URL of each airfoil’s coordinates ...