MATFeb2013AssessedExercise » History » Version 6
Version 5 (Chris Cannam, 2013-02-08 01:53 PM) → Version 6/8 (Chris Cannam, 2013-02-08 01:55 PM)
h1. MAT Software Carpentry Feb 2013 - Assessed Exercise
*Deadline is Monday 18th Feb at 5pm*
h2. 1. Download fish datafile
The file (attached at the bottom of this page) contains three columns - date, species, and a count of the number of sightings
of that type of fish.
Some months, no fish of a certain type were seen, and there is no entry for the fish that month.
There are some comment lines which you should ignore, these lines start with #.
Someone thought that turtles were fish and entered counts for them. Ignore the turtles.
h2. 2. Create a Python script to create a single plot showing the number of each type of fish each month
i.e. the plot should have a line for each type of fish.
The script should take the name of the data file as a parameter.
If a type of fish appears more than one time in a month, add the counts together. together
h2. 3. Provide a README file
This should be is a text file called README.txt which should appear in your project's top-level directory, with your name and email and instructions on how to run your script. script
h2. 4. Put the scripts and the README file in a new repository under your bitbucket.org account
Make (make this repository private, but add at least one of us to it. Our usernames are:
* it)
Chris: @cannam@
* cannam
Luis: @lafigueira@
* lafigueira
Steve: @stevewelburn@ stevewelburn
h2. Notes:
* create the bitbucket repository as soon as you start working and commit frequently
* if you have any questions, email either Steve, Chris or Luis.
*Deadline is Monday 18th Feb at 5pm*
h2. 1. Download fish datafile
The file (attached at the bottom of this page) contains three columns - date, species, and a count of the number of sightings
of that type of fish.
Some months, no fish of a certain type were seen, and there is no entry for the fish that month.
There are some comment lines which you should ignore, these lines start with #.
Someone thought that turtles were fish and entered counts for them. Ignore the turtles.
h2. 2. Create a Python script to create a single plot showing the number of each type of fish each month
i.e. the plot should have a line for each type of fish.
The script should take the name of the data file as a parameter.
If a type of fish appears more than one time in a month, add the counts together. together
h2. 3. Provide a README file
This should be is a text file called README.txt which should appear in your project's top-level directory, with your name and email and instructions on how to run your script. script
h2. 4. Put the scripts and the README file in a new repository under your bitbucket.org account
Make (make this repository private, but add at least one of us to it. Our usernames are:
* it)
Chris: @cannam@
* cannam
Luis: @lafigueira@
* lafigueira
Steve: @stevewelburn@ stevewelburn
h2. Notes:
* create the bitbucket repository as soon as you start working and commit frequently
* if you have any questions, email either Steve, Chris or Luis.