Daily Archives: August 29, 2012

R Script to Build Animation of Arctic Sea Ice Extent – Update 9/3/12

In my previous post I showed an animation of Arctic Sea Ice Extent from the 1980′s through August, 2012 (link).  In this post, I show how to build this Arctic Sea ice Extent  animated chart.

Source Data

The Arctic Ice Sea Monitor (link)   updates their daily csv file with the latest satellite based arctic sea ice measurements.  Here is the daily csv file link.

R script

To develop my animation of the daily Arctic Sea Ice extent, I decided to produce a plot for each year that showed the current year in red and the previous years in grey.  I go this idea from Tamino at Open Mind.

Here is my R script: link.

Once I have the individual png files for each year, I use Photoshop Elements to generate my animation.

After getting Pierre’s comment about using the animation package, I gave it another try. The 2nd time,  I got it to work with ease.

I can now update the daily ASIE plot automatically without any Photoshop Elements involvement.

Thanks Pierre.