Air poluition from la Palma volcano!

I am Albert Encinas. In this wepage you will find my analysis of sulfur dioxide gas from La Palma volcano found in my three cities: Tarragona(Bonavista), Tarragona(Park), Montseny' in the weekwnd from 25 to 26 september 2021 .

Air pollution data is were obtained in the website od Generalitat de Cataluny. automatic data download

Graph created with matploblip in python

This is the code of my graph


import matplotlib.pyplot as plt

x = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48]
y = [ [1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,1,1,1,1,1,2,5,5,5,5,4,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,2,5,5,1,3,3,3,2,3,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
      [3,3,3,3,3,3,3,4,4,4,3,3,3,4,4,3,3,3,3,3,3,3,4,4,3,3,3,3,2,2,3,3,3,2,3,3,3,3,4,3,3,3,3,3,3,3,3,3] ]
labels=['Igualada', 'Montseny', 'Barcelona (Eixample)']
colors=['r','g','b']

# loop over data, labels and colors
for i in range(len(y)):
    plt.plot(x,y[i],'o-',color=colors[i],label=labels[i])
plt.title("AIR SULFUR DIOXIDE IN CATALONIA", loc='left')
plt.xlabel("Hours of weekend 25-26/09/2021")
plt.ylabel("SO2 microgram/m3")
plt.legend()
plt.show()

This is the resulting image of the previous code

Some of the project objectives are:

  1. To learn how to create a website about videogames for an Erasmus + project for my school: Institut Pompeu Fabra using Javascript and p5.js
  2. To learn how to build a mobile App using MIT App Inventor for this project
  3. To create original videogames based on traditions
  4. Our first game is a T-rex like videogame using traditional big-head from Martorell ("capgrossos" in Catalan language) and the Devil's bridge (Pont del diable in Catalan)
  5. To create Basic games using Python and the Mu editor using Pygame zero mode
  6. To study SO2 polution using Python and Matplotlib
  7. Edit the big-head images, Devil's bridge images and all images involved in the game using GIMP editor and substitute the images in the game.
  8. To learn more about HTML, CSS and Javascript, check out these tutorials and www.w3schools.com!