https://github.com/pleiszenburg/earthquakes_youtube01
10 years of earthquakes / 2010-01-01 to 2019-12-31 / 1356502 events / depth exaggerated by a factor of 6
https://github.com/pleiszenburg/earthquakes_youtube01
3d-visualization earth-science earthquake-visualization earthquakes python video-rendering vizualisation
Last synced: 2 months ago
JSON representation
10 years of earthquakes / 2010-01-01 to 2019-12-31 / 1356502 events / depth exaggerated by a factor of 6
- Host: GitHub
- URL: https://github.com/pleiszenburg/earthquakes_youtube01
- Owner: pleiszenburg
- License: gpl-2.0
- Created: 2020-04-28T19:02:16.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T15:30:31.000Z (about 5 years ago)
- Last Synced: 2025-01-29T12:13:42.469Z (4 months ago)
- Topics: 3d-visualization, earth-science, earthquake-visualization, earthquakes, python, video-rendering, vizualisation
- Language: Python
- Homepage: https://youtu.be/RLHM5MQ5kAs
- Size: 24.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Earthquakes / Erdbeben 2010-2019
[](https://youtu.be/RLHM5MQ5kAs)
10 years of earthquakes / 2010-01-01 to 2019-12-31 / 1356502 events / depth exaggerated by a factor of 6
This repository documents how the video was made and enables its reproduction.
## Open Data
- earthquakes: United States Geological Survey (USGS)
- contours: Copyright © OpenStreetMap contributors / Open Database License 1.0## Open Source Software
- pycairo: 2D rendering
- custom ray-tracer: 3D to 2D
- numpy & numba: acceleration
- zarr: data handling & storage
- ffmpeg: video encoding## Rendering the video yourself
Ensure that you have the following software installed:
- `python` (3.6 or newer)
- `cairo` (plus header / development files)
- `zlib` (plus header / development files)
- `ffmpeg`
- `gcc`
- `git`Clone this repository from Github and change into its directory:
```bash
git clone https://github.com/pleiszenburg/earthquakes_youtube01.git
cd earthquakes_youtube01/
```Create a new virtual environment if desired and activate it:
```bash
python3 -m venv env
source env/bin/activate
pip install -U pip setuptools
```Now you can install the dependencies, fetch the data and render the video:
```bash
pip install -r requirements.txt
./prepare_osm.py
./prepare_usgs.py
./render_frames.py
./render_video.py
```