File:Earthquakes by month in Italy.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 796 × 600 pixels. Other resolutions: 319 × 240 pixels | 637 × 480 pixels | 812 × 612 pixels.
Original file (812 × 612 pixels, file size: 24 KB, MIME type: image/png)
File information
Structured data
Captions
Summary
[edit]DescriptionEarthquakes by month in Italy.png |
English: Earthquakes in Italy, subdivided by month in which they happened. Data from http://csi.rm.ingv.it/ catalogue, containing shocks measured from 1981 to 2002.
Italiano: Terremoti in Italia, suddivisi in base al mese in cui sono accaduti. Dati dal catalogo http://csi.rm.ingv.it/ , contenente sismi misurati dal 1981 al 2002. |
Date | |
Source |
Own work This plot was created with Matplotlib. |
Author | Toobaz |
Created with the following script, imported in "ipython -pylab":
import re
data = open("1981-2002.sum")
html=data.read()
banana = html.split('\n')
banana.pop()
fette = [fetta.split(' ') for fetta in banana]
mesi = []
for fetta in fette:
mesi.append(fetta[0][2:4])
mesidiz = {}
for mese in range(13):
# il mese 0 indica quelle che non lo hanno specificato
mesidiz[mese] = 0
def intero(testo):
try:
return int(testo)
except:
print testo
# Mese sconosciuto
return 0
for mese in mesi:
mesidiz[intero(mese)] += 1
mesilista = [][mese] for mese in range(13)]
media = sum(mesilista[1:])/12
mesidiff = [][mese] - media for mese in range(13)]
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 23:33, 23 April 2009 | 812 × 612 (24 KB) | Toobaz (talk | contribs) | {{Information |Description={{en|1=Earthquakes in Italy, subdivided by month in which they happened. Data from http://csi.rm.ingv.it/ catalogue, containing shocks measured from 1981 to 2002.}} {{it|1=Terremoti in Italia, suddivisi in base al mese in cui so |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on it.wikipedia.org