Turkey/Syria Earthquake Live Knowledge Update & Charity Guide

Today’s Earthquakes in Turkey

Sunday, 12 March 2023:

Turkey has had: (M1.5 or greater)

  • 2 earthquakes in the past 24 hours
  • 15 earthquakes in the past 7 days
  • 130 earthquakes in the past 30 days
  • 416 earthquakes in the past 365 days

The largest earthquake in Turkey:

Earthquakes in Turkey Sunday, 12 March 2023

Inside Turkey’s post-earthquake homelessness crisis – BBC News:

Earthquake survivors are living on the streets in Turkey, one month on from the devastating earthquakes that killed more than 50,000 people across southern Turkey and northern Syria.

Past Events

  • A magnitude 7.8 earthquake struck overnight near Nurdağı, Turkey on February 6 at 01:17 UTC. This is one of the most powerful earthquakes ever recorded in this region, killing more than 22,000 people and devastating a densely populated region of southern Turkey and northern Syria.
  • This post summarizes the Turkey/Syria Earthquake Live Knowledge & Charity Guide. This is an attempt to create a state-of-the-art lesson plan that would outline ways to help both local people and the international community understand the crisis and how they can make a tangible impact.
Turkey/Syria earthquake: 4-phase mechanism explained.

Table of Contents:

  1. Headlines
  2. Jay Patton online
  3. USGS Portal
  4. Turkey Aftershocks 10/02/23
  5. Plotly Weekly Animation
  6. Embed Socials
  7. FAQ
  8. Explore More
  9. Charity Guide

Rescue teams treat animals saved from the rubble of Turkey quakes:

Amid the immense human suffering caused by the earthquakes, animals have been hugely affected, too. 


Jay Patton online

USGS Portal

Turkey Aftershocks 10/02/23

Connecting to US Geological Survey API.

Checking connection... Result code: 200.
It's OK! Receiving data...

USGS Magnitude 2.5+ Earthquakes
Past Day

46 events recorded

Turkey Events:

Magnitude: 4.8 Event time: 2023-02-10 05:50:24   Epicenter:  15 km SSW of Yeşilyurt, Turkey
Magnitude: 4.4 Event time: 2023-02-10 03:03:42   Epicenter:  7 km NNW of Çelikhan, Turkey
Magnitude: 4.2 Event time: 2023-02-09 23:06:39   Epicenter:  21 km SE of Hasanbeyli, Turkey
Magnitude: 4.1 Event time: 2023-02-09 22:46:29   Epicenter:  8 km E of Nurdağı, Turkey

Plotly Weekly Animation

Let’s import the libraries

import pandas as pd
import numpy as np

import plotly.graph_objects as go
import plotly.express as px

and define the following functions

def subarea_extractor(x):
return x[0]

def area_extractor(x):
return x[-1]

def fetch_date(time):
return str(time).split(‘ ‘)[0]

def fetch_weekday(time):
date = fetch_date(time)
return date + ‘ – ‘ + str(time.weekday())

def fetch_hour(time):
t = str(time).split(‘ ‘)
return t[0] + ‘ – ‘ + t[1].split(‘:’)[0]

def fetch_quakes_data(manner=’daily’, bbox=’Worldwide’, mag_thresh=2):
url_link = ‘https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/{}.csv’

if (manner == 'weekly'):
    data_link = url_link.format('all_week')
elif (manner == 'monthly'):
    data_link = url_link.format('all_month')
    data_link = url_link.format('all_day')

eqdf = pd.read_csv(filepath_or_buffer=data_link)
eqdf = eqdf[['time', 'latitude', 'longitude', 'mag', 'place']]

place_list = eqdf['place'].str.split(', ')
eqdf['sub_area'] = place_list.apply(func=subarea_extractor)
eqdf['area'] = place_list.apply(func=area_extractor)
eqdf = eqdf.drop(columns=['place'], axis=1)

if isinstance(mag_thresh, int) and (mag_thresh > 0):
    eqdf = eqdf[eqdf['mag'] >= mag_thresh]
    eqdf = eqdf[eqdf['mag'] > 0]

if bbox in eqdf['area'].to_list():
    eqdf = eqdf[eqdf['area'] == bbox]
    max_mag = eqdf['mag'].max()
    center_lat = eqdf[eqdf['mag'] == max_mag]['latitude'].values[0]
    center_lon = eqdf[eqdf['mag'] == max_mag]['longitude'].values[0]
    center_lat, center_lon = [54, 15]

eqdf['time'] = pd.to_datetime(eqdf['time'])

if (manner == 'weekly'):
    new_col = 'weekday'
    eqdf[new_col] = eqdf['time'].apply(func=fetch_weekday)
elif (manner == 'monthly'):
    new_col = 'date'
    eqdf[new_col] = eqdf['time'].apply(func=fetch_date)
    new_col = 'hours'
    eqdf[new_col] = eqdf['time'].apply(func=fetch_hour)

eqdf = eqdf.sort_values(by='time')

return eqdf, center_lat, center_lon

def visualize_quakes_data(manner=’daily’, bbox=’Worldwide’, mag_thresh=2):
eqdf, clat, clon = fetch_quakes_data(manner=manner, bbox=bbox, mag_thresh=mag_thresh)

if (manner == 'monthly'):
    af = 'date'
elif (manner == 'weekly'):
    af = 'weekday'
    af = 'hours'

zoom = 3 if bbox != 'Worldwide' else 1

fig = px.scatter_mapbox(
    center=dict(lat=clat, lon=clon),
    # color_continuous_scale=px.colors.cyclical.IceFire,
    title='{} Earthquakes - {}; mag - {}'.format(manner.title(), bbox, mag_thresh)

    margin=dict(l=0, r=0, t=40, b=0)

return None

Let’s call the weekly animation

visualize_quakes_data(manner=’weekly’, mag_thresh=None)

Main Foreshock:

Turkey earthquakes 2023-02-03

The Quiet Before the Quake:

Turkey earthquakes 2023-02-04
Turkey earthquakes 2023-02-05

Main Earthquake:

Turkey earthquakes 2023-02-06


Turkey earthquakes 2023-02-07
Turkey earthquakes 2023-02-08
Turkey earthquakes 2023-02-09
Turkey earthquakes 2023-02-10

Embed Socials


An earthquake is caused by what’s known as a “sudden slip” on a fault line.

The Earth’s tectonic plates are always moving, but they can get stuck at their edges due to friction, the United States Geological Survey (USGS) says.

It’s when this stress at the edge overcomes the friction that an earthquake occurs, releasing energy in waves that travel through the Earth’s crust and cause the shakes that we feel on the surface.

Expect aftershocks hours, days, or weeks after the main quake.Aftershocks can cause building damage and falling debris that could injure you.Avoid open flames in damaged buildings.Earthquakes can damage gas lines, so don’t use lighters or matches.If you live near the coast, stay away from the beach.Earthquakes can cause dangerous tsunamis and flooding.Drive carefully and plan alternative routes.Structural damage and traffic light outages may make it difficult to get to your destination.

  • What is strike-slip fault?

Explore More

Hands-Off USGS Webscraping of Earthquakes- Worldwide (24 Hours)

Charity Guide

  • CharityWatch
  • CharityNavigator
  • Highly Rated Charities
  • UN agencies, including its children’s fund, UNICEF, directly accept donations
  • Oxfam, an international organisation that combats poverty, and Doctors Without Borders, a global medical relief organisation, have also launched appeals for funds
  • The Syrian Civil Defence, a rescue group also known as the White Helmets that operates in opposition-held parts of Syria, have launched a GoFundMe appeal for aid to help their efforts in the rebel-controlled areas.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: