Path: blob/main/tests/docs/manuscript/ipynb-full/notebooks/data-screening.ipynb
3589 views
Kernel: Python 3 (ipykernel)
title: Data Screening description: Screening and filtering data from the IGN catalog down to the relevant events for La Palma authors:
name: Steve Purves orcid: 0000-0002-0760-5497
Load and review the data, check that dates are loaded properly and filter data down to the events in La Palma only. The dataset itself contains all recent IGN earthquake data for Spanish territory.
In [1]:
In [2]:
Out[2]:
In [3]:
Out[3]:
In [4]:
Out[4]:
Filter down to La Palma events only
Also some rows seem to be missing depth measurements, (see differences in the count for columns above) - take only rows with valid depths
In [5]:
Out[5]:
In [6]:
Out[6]:
Spatial Plot
Scatter plot the spatial locations of events
In [7]:
Out[7]:
/opt/anaconda3/envs/py3/lib/python3.9/site-packages/matplotlib/collections.py:967: RuntimeWarning: invalid value encountered in sqrt
scale = np.sqrt(self._sizes) * dpi / 72.0 * self._factor
Timeline Plot
Scatter plot the event time series and look for any quantization issues. Have times & dates been loaded correctly?
In [8]:
Out[8]:
In [9]:
In [10]: