Practice Problems

Lecture 20

Answer each number in a separate cell

Rename the notebook with your lastName and the lecture

ex. CychB_20

Turn this notebook into TritonEd by the end of class

1. Rose diagrams

  • NOAA collects wind directional data for the US which we can download and do whatever we like with it (decide whether or not to go sailing or surfing, for example). We can also plot the data as a rose diagram. :)
  • We downloaded data for May 14, 2017 (Mother's day) from this search: and reformatted the file as a csv datafile in Datasets/WindDirections/wind.csv
  • Read in the data as a Pandas DataFrame. Use the df.head( ) syntax (where df is the name of your wind DataFrame) to inspect the file first, then you can set the skiprows and/or header keywords appropriately.
  • The wind directions are in the WDIR column. Use df.dropna( ) to get rid of the blank WDIR lines.
  • Plot the WDIR data as a rose diagram.

2. Equal angle nets

  • Somebody measured the direction of the magnetic field at 33N and 117W for the last 10,000 years [ok not really but there are models of the secular variation of the field for this.]
  • Read in the data file in Datasets/GeomagneticDirections/dec_inc.csv
  • Plot the declination (dec) and inclination (inc) data on an equal angle net as red symbols with black edges. Declinations are azimuths and inclination are plunges.

3. Equal area Nets

  • Re-plot the declination (Dec) and inclination (Inc) data from problem 2 on an equal area net.
In [ ]: