59  assignment 1

This assignment comes right after the first session, where we discussed resampling. Read the whole instructions.

59.1 task

Go to the IMS website, and choose another weather station we have not worked with yet. Download 10-minute data for a full year, any year.

Make 3 graphs:

  1. Daily maximum humidity. Bonus: add another line to the graph, the daily minimum humidity.
  2. The number of rainy days for each month.
  3. For each day of the year, show the number of hours when global solar radiation was above, on average, the threshold 10 W/m^2. Now add another line, for the threshold 500 W/m^2.

Make 5 more graphs (total of 8 graphs) of whatever you find interesting. You have the liberty to explore various facets of your dataset that capture your interest. It’s essential, however, to maintain a focus on resampling. Each of your plots should effectively showcase and emphasize different aspects or techniques of resampling in your data analysis. To ensure diversity in your visualizations, avoid repetitive themes; for instance, if your first plot illustrates daily wind speed, then your second plot should not simply be a monthly resampling of wind speed. Aim for variety and innovation in each plot to fully explore the potential of resampling in data visualization.

You must download this Jupyter Notebook template. Create a zip file with your Jupyter notebook and with the .csv you used. Upload this zip file to the moodle task we created.

59.2 guidelines

  1. Always name the axes and add units when relevant.
  2. Always give a title to the plot.
  3. Make sure that all axis tick labels (the numbers/dates on the axes) are readable.
  4. Include a legend if you have multiple lines, colors, or groups.
  5. Use appropriate scales for the axes (linear, logarithmic, etc.) depending on the data’s nature.
  6. Ensure that the plot is adequately sized for all elements to be clear and visible.
  7. Choose colors and markers that are distinguishable, especially for plots with multiple elements.
  8. If applicable, include error bars to indicate the variability or uncertainty in the data.
  9. Use grid lines sparingly; they should not overshadow the data.

59.3 evaluation

All your assignments will be evaluated according to the following criteria:

  • Presentation. How the graphs look, labels, general organization, markdown, clean code.
  • Discussion. This is where you explain what you did, what you found out, etc.
  • Depth of analysis. You can analyze/explore the data with different levels of complexity, this is where we take that into consideration.
  • Replicability: Your code runs flawlessly.
  • Code commenting. Explain in your code what you are doing, this is good for everyone, especially for yourself!
  • Bonus: for originality, creative problem solving, or notable analysis.