Plotting earthquake data
To check the code using pylint:
pylint --rcfile=./pylint.rc plotearthquake_post.py
How to run?
./plotearthquake_post.py -markersize 10 -npoints 300 -usgsdata "./USGSData/USGS_Turkey_1900_2017_over6.csv"
To generate the time-lapse, need to follow :
- Need to obtain snapshots for each time instant, i.e. npoints should be changing from
1
tolength(data)
where data is read from the.csv
file - Also, need to obtain snapshots for different markersizes so that a zooming in effect is visible, I used markersizes from 5 to 60 with steps of 5, (i.e.
5:5:60
) - Since the names of the files are dumped accordingly, you can use Blender or any other time-lapse tool to create the final time-lapse