Wednesday, October 16, 2019

The Best Star Trek Episodes are Quantum Leap Style Ones

Star Trek in particularly the first two series was monster of the week sort of stuff. The best episodes tend not to follow the beam down get in trouble get out of it template. But I think the best follow the 'living someone else's life' Quantum Leap template

Looking at the top 20 rated episodes from imdb https://www.imdb.com/list/ls076657706/

20. Star Trek: Voyager (1995–2001)
Episode: Scorpion (1997)

19. Star Trek: Voyager (1995–2001)
Episode: Blink of an Eye (2000)

18. Star Trek: The Next Generation (1987–1994)
Episode: Tapestry (1993) -QL

17. Star Trek: Deep Space Nine (1993–1999)
Episode: Call to Arms (1997)

16. Star Trek: The Original Series (1966–1969)
Episode: Space Seed (1967)

15. Star Trek: The Original Series (1966–1969)
Episode: The Trouble with Tribbles (1967)

14. Star Trek: The Next Generation (1987–1994)
Episode: Cause and Effect (1992) -QL

13. Star Trek: The Original Series (1966–1969)
Episode: Balance of Terror (1966)

12. Star Trek: The Next Generation (1987–1994)
Episode: Q Who (1989)

11. Star Trek: Deep Space Nine (1993–1999)
Episode: Duet (1993)

10. Star Trek: The Next Generation (1987–1994)
Episode: The Measure of a Man (1989)

9. Star Trek: Deep Space Nine (1993–1999)
Episode: The Visitor (1995) -QL

8. Star Trek: The Next Generation (1987–1994)
Episode: Yesterday's Enterprise (1990) -QL

7. Star Trek: The Original Series (1966–1969)
Episode: Mirror, Mirror (1967) -QL

6. Star Trek: Deep Space Nine (1993–1999)
Episode: In the Pale Moonlight (1998)

5. Star Trek: The Next Generation (1987–1994)
Episode: The Best of Both Worlds: Part II (1990)

4. Star Trek: Deep Space Nine (1993–1999)
Episode: Trials and Tribble-ations (1996) -QL

3. Star Trek: The Next Generation (1987–1994)
Episode: The Best of Both Worlds (1990)

2. Star Trek: The Original Series (1966–1969)
Episode: The City on the Edge of Forever (1967) -QL

1. Star Trek: The Next Generation (1987–1994)
Episode: The Inner Light (1992) -QL

8 of the top 20 marked here with -QL and 6 of the top 10 involve someone else's life or a parallel universe.

Thursday, September 05, 2019

Climate and NFL graphs



I worked out how to combine graphs into one picture in r package this week. This image of Englands weather since 1878 got 7 thousand upvotes on reddit.




And three months together in a way that allows tighter y axis




For the animation below the code is at https://gist.github.com/cavedave/5f6d61ed5b6eef0ea74a713ce3b33c94

This type of graph I found out about here. This is not a particularly interesting graph but I think the animation of 2+ classes of things changing over two dimensions over time is interesting.




Saturday, August 17, 2019

England's Summer Weather

England has some of the oldest weather recordings in the world. This means that when people say things like '1976 summer had X days hot in a row and so climate change isn't real' you can look at a lot of data and see what the overall trends are.

One dataset back to 1878 is the hottest each day got. This is the 'temperatures up to' figure weather forecasts give.
You can see 1976 was hot but also the trend over time. 1976 was very unusual for the 100 previous years. And now it looks fairly normal.

The English dataset goes back to 1659 for average daily temperatures. Here is how those temperatures have changed for June, July, August over that time.



June,July, August Central England average temperature since 1659
total dataset Mean: 15.3
1652-1700: 14.9
1701-1725: 15.2
1725-1750: 15.6
1751-1775: 15.3
1776-1800: 15.6
1801-1825: 15.1
1826-1850: 15.3
1851-1875: 15.3
1876-1900: 15.1
1901-1925: 14.9
1926-1950: 15.6
1951-1975: 15.3
1976-1994: 15:5
1994-2019: 16.0












Wednesday, August 14, 2019

Weather Overflows

Twice recently I have seen weather so unusual that the software designed to show weather failed.

The first was Hurricane Orphelia that went outside the range hurricanes are expected in. It went further north than the software was able to map


The second was this week where Mississippi got so hot (121F) that the temperature map could not show it and flipped over to 000.



Friday, March 22, 2019

Ireland Population Density Maps

Data from https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/population-distribution-demography/geostat which has population grid at a 1km2 population sizings for all of Europe in 2011. The code is very slightly modified version of the code developed by halhen and p0bs here https://gist.github.com/halhen/659780120accd82e043986c8b57deae0


Color Maps





Joyplots
Where population density is seen as an increase in height.




Other Countries




Wednesday, March 20, 2019

Heatmap of the world

On the 14th of June 2016 I made a heatmap of global temperatures since 1850. This got popular on reddit with 15.4K points


The picture as I said in the first comment on the post was inspired by Ed Hawkins spiral animation of world temperatures and was an attempt to show everything in one picture.
A few outlets picked up the picture. The weather channel put it on facebook without crediting me.
























Tableau I found out last year use it to advertise themselves but with no credit to me the original design

























Ed Hawkins tweeted about the graph


And in June 2016 we discussed further as I switched Time to the Y axis and made other changes. My point is he tweeted about "'heat-map' representation of global temperature changes since 1850" two years before he published his heat map representation (using stripes). My graphs used the Hadcrut-4 and HadCET datasets






In May 2018 he produced a climate graph (below) with only years not months in the heatmap. At no point has he said that my heatmaps (which were inspired by his global temperatures spiral animation) might have inspired him.




I had produced a heatmap graph with lines for years that he saw in Sept 2017


Hawkins graph has deservidely become famous. And heatmaps are one of the most common visualisation types, which is evidence he could have come up with it on his own anyway. I would like if my ones did inspire him that it got mentioned somewhere. But the big deal here is that global warming is being shown in a popular eye catching way.




Monday, February 25, 2019

February is Hot

At the moment it is really hot. 20°C is ridiculously hot for this time of year.

Central England has weather data going back a long time. 1772 for daily average temperature and 1878 for maximum and minimum temperatures on each day.

2 times February the 25th since 1772 had an average temperature for the day above 10°C in Central England 1790 with 10.7°C, and 1922 with 11°C

The maximum temperatures observed in central England on the 25th of February were 1922 with 14.1,1953 with 13.1 and 1976 with 13.1 For those 140 years the maximum daily temperature averaged 6.6C.

I put the code to work all this out here. Graph of Feb 25th max temperature shows how weird 20°C is

It takes a while for the HADCET data to be updated. There is a nearby weatherstation http://www.weathercast.co.uk/world-weather/weather-stations/obsid/99060.html when I figure out the relationship between the two it will be possible to do a comparison between today and all the previous years.