MATFeb2013AssessedExercise » History » Version 8
Chris Cannam, 2013-02-08 02:27 PM
1 | 1 | Chris Cannam | h1. MAT Software Carpentry Feb 2013 - Assessed Exercise |
---|---|---|---|
2 | 1 | Chris Cannam | |
3 | 7 | Chris Cannam | h2. Deadline |
4 | 7 | Chris Cannam | |
5 | 7 | Chris Cannam | Deadline is *Monday 18th Feb at 5pm* |
6 | 6 | Chris Cannam | |
7 | 3 | Chris Cannam | h2. 1. Download fish datafile |
8 | 1 | Chris Cannam | |
9 | 3 | Chris Cannam | The file (attached at the bottom of this page) contains three columns - date, species, and a count of the number of sightings |
10 | 5 | Chris Cannam | of that type of fish. |
11 | 1 | Chris Cannam | |
12 | 2 | Chris Cannam | Some months, no fish of a certain type were seen, and there is no entry for the fish that month. |
13 | 2 | Chris Cannam | There are some comment lines which you should ignore, these lines start with #. |
14 | 2 | Chris Cannam | Someone thought that turtles were fish and entered counts for them. Ignore the turtles. |
15 | 2 | Chris Cannam | |
16 | 3 | Chris Cannam | h2. 2. Create a Python script to create a single plot showing the number of each type of fish each month |
17 | 1 | Chris Cannam | |
18 | 2 | Chris Cannam | i.e. the plot should have a line for each type of fish. |
19 | 1 | Chris Cannam | The script should take the name of the data file as a parameter. |
20 | 6 | Chris Cannam | If a type of fish appears more than one time in a month, add the counts together. |
21 | 4 | Chris Cannam | |
22 | 1 | Chris Cannam | h2. 3. Provide a README file |
23 | 4 | Chris Cannam | |
24 | 6 | Chris Cannam | This should be 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. |
25 | 1 | Chris Cannam | |
26 | 1 | Chris Cannam | h2. 4. Put the scripts and the README file in a new repository under your bitbucket.org account |
27 | 3 | Chris Cannam | |
28 | 6 | Chris Cannam | Make this repository private, but add at least one of us to it. Our usernames are: |
29 | 6 | Chris Cannam | |
30 | 6 | Chris Cannam | * Chris: @cannam@ |
31 | 6 | Chris Cannam | * Luis: @lafigueira@ |
32 | 6 | Chris Cannam | * Steve: @stevewelburn@ |
33 | 1 | Chris Cannam | |
34 | 1 | Chris Cannam | h2. Notes: |
35 | 2 | Chris Cannam | |
36 | 2 | Chris Cannam | * create the bitbucket repository as soon as you start working and commit frequently |
37 | 8 | Chris Cannam | * if you have any questions, email either Steve (stephen.welburn), Chris (chris.cannam) or Luis (luis.figueira) -- all email addresses are @eecs.qmul.ac.uk. |