
If I were going to do this sort of thing on a regular basis, I’d write a script to handle this editing, but for a one-off I just did it “by hand.” That left me with a file, called chicago-riseset.txt, with 365 lines and three columns. Then I prepended the year and month (with hyphens) in front of the the days.

Most of the editing consisted of selecting columns for February through December and pasting them under the January data. I copied the table, pasted it into BBEdit, and did some editing to get it into this form: 0718 1631

I started with the US Naval Observatory’s 2018 sunrise/sunset data for Chicago, which is a plain text table (i.e, monospaced font using space characters to align columns) that looks like this: Since I almost never make a graph without showing the code for it, here’s how the sunrise/sunset plots in yesterday’s post were made.
