Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

What is IRIS?

IRISImage Added is a consortium of over 100 US universities dedicated to the operation of science facilities for the acquisition, management, and distribution of seismological data. The following instructions show you how to see our seismic data on the IRIS website. Ocean Networks Canada (ONC) has offshore seismometers streaming near real-time data to IRIS in addition to stored autonomous instrument data. Further details on all of the instruments that are part of the ONC network (Network Code: NV) can be found here: IRIS Data for NV Network.

IRIS Web Services

IRIS has a number of web services that can be used to search, plot, and interact with their data. The full link to all of these tools can be found here: IRIS Web Services


Key Service Tools - Quick Look Up

The following table highlights key web services for either searching data within IRIS or for handy tools for studying earthquakes or time series data. More detailed information can be found at the IRIS Web Service link above.

Service ToolBrief DescriptionQuick Link
Station MetadataRetrieves metadata stored in SEED formathttp://service.iris.edu/fdsnws/station/1/
Data SelectRetrieves time series data in miniSEED formathttp://service.iris.edu/fdsnws/dataselect/1/
Time SeriesSimilar to the above Data Select but with additional featureshttp://service.iris.edu/irisws/timeseries/1/
Channel DescriptorProvides the definition of a channel codehttps://ds.iris.edu/ds/nodes/dmc/tools/data_channels/#???
AvailabilityReturns the miniSEED data for availability of datahttps://service.iris.edu/fdsnws/availability/1/
Travel Time

Calculator for determining the travel times and ray parameters for seismic phases through a 1D spherical earth model.

http://service.iris.edu/irisws/traveltime/1/
Distance/AzimuthCalculate the distance, azimuth, and back-azimuth between 2 locationshttp://service.iris.edu/irisws/distaz/1/
Earth ModelService for Earth Modelshttp://service.iris.edu/irisws/earth-model/1/

...

Ocean Networks Canada Instruments - NV Network

Station Locations

ONC currently has 14 different stations streaming to IRIS from distributed locations across the Cascadia Subduction Zone within the NV network off the west coast of Vancouver Island, British Columbia. The screenshot below was taken from IRIS's interactive map tool for the network which can be found here: Interactive Map Tool.

Image Added 

Station Descriptions

New Links

...

Station CodeSiteQuick Link
BACME

Barkley Canyon MidEast

...

...

...

Station Channel Naming Description

High frequency and low frequency data are available from the NV network. Low frequency (below 8hz) can be accessed at near real-time from IRIS. Data at higher frequencies can be made available but may be delayed when they are uploaded to IRIS due to military screening.

Channel codes are denoted by three characters that describes the sensor type, the frequency range, and the orientation following the SEED channel definitions (full manual found here: SEED Appendix). Refer to the Channel Descriptor web service link mentioned above to get a full definition on what the sensor type and frequency range portions of the channel code mean. Orientation codes in the NV network can be described as follows:

Orientation CodesDescription
N/E/Z
  • N refers to the channel aligned to the North
  • refers to the channel aligned to the East
  • Z refers to the channel aligned Vertically
1/2/3
  • refers to the channel aligned to the North; however, the alignment is off axis by more than 5 degrees (azimuth less than 355 degrees or greater than 5 degrees).
  • refers to the channel aligned to the Easthowever, the alignment is off axis by more than 5 degrees (azimuth less than 85 degrees or greater than 95 degrees).
  • refers to the channel aligned Verticallyhowever, the alignment is off axis by more than 5 degrees(tilt is greater than 5 degrees off vertical).

...

Retrieving Data from IRIS - Web Service Links

Time Series Builder

Below is a screenshot of the time series builder. Any of the stations that have available data in IRIS can be filtered and plotted using this tool. Refer to the metadata aggregator page for a specific station to look for search parameters to input into the time series builder. By changing the Format tab, you can generate either a time series for the count data (plot) or download the miniSEED data that generates that plot (miniSEED). Other interesting files to download are CSV file or audio files from the waveform data; do this by clicking the permalink URL that is generated in the yellow box at the bottom.

Image Added

How to Interpret the Time Axis

Below is the waveform generated from the above search. This plot shows the BN1 channel from the ENHR station for 25Hz data from January 1st, 2019 between 00:00 (midnight) and 01:00.

Image Added

The time axis is presented according to the Julian Day Calendar. Notice in the above illustration that the time axis of the plot is indicated as 2019 001, where 001 stands for January 1st, 2019 according to the Julian day calendar. (The date indicated in the plot header is also a good guide to relate the Julian day indicated in the time axis to the day of the month).

...

Retrieving Data from IRIS - ObsPy (Python)

What is ObsPy?

ObsPy is an open-source project dedicated to provide a Python framework for processing seismological data. It provides parsers for common file formats and seismological signal processing routines which allow the manipulation of seismological time series (see Beyreuther et al. 2010, Megies et al. 2011, Krischer et al. 2015). The goal of the ObsPy project is to facilitate rapid application development for seismology. ObsPy documentation can be found on their website: Obspy Home.

Checking Data in IRIS

Refer again to the metadata aggregator for the NV network to show all the sample rates, stations, channels, etc… that Ocean Networks Canada has available in IRIS (http://ds.iris.edu/mda/NV/) in addition to the availability builder above to see if there is data for a given search time.

This will tell you what data are present in IRIS for each channel. Enter the NV network code, the station you are interested in (ENHR as an example), and then click the permalink in the yellow box at the bottom. This will open a new tab that lists all of the available data and will look something like this:

Image Added

Time is listed as UTC format; for every Networks-Station entry in this list, data are present and stored in IRIS between the “earliest” and “latest” times. In the web service, you can further refine your search between certain sample rates, location codes, date ranges, channels, etc. 

Tip
If you want to search for the three axes in IRIS (N ,E, and Z) of one specific channel, you can set the channel parameter to be something like BN*. This will return the search results for only the BNE, BNN, and BNZ channels. If you try a search that returns an error, go back and double check your search criteria. If everything you entered is correct, then Ocean Networks Canada may not have data stored in IRIS for that channel or specific search.

...

Installing ObsPy

The following steps assume ObsPy has been installed correctly on your computer. The following steps were performed on a Windows 10 machine with Anaconda and Spyder for access to Python. One suggestion is to follow the directions on the ObsPy page to set ObsPy up as a separate environment. The directions to install ObsPy in Anaconda as an environment can be found here: https://github.com/obspy/obspy/wiki/Installation-via-Anaconda. Otherwise, ObsPy can be installed like other Python packages with PyPi here: https://pypi.org/project/obspy/.

Once everything is installed, configured and running, a script can be written to start downloading waveform data in Python! Below is some basic information to get started accessing waveforms. Data can be further manipulated and plotted with a multitude of tools offered by ObsPy. Refer to the ObsPy Home for more information on these tools.

Downloading from IRIS with Obspy

Install Necessary Packages to Python

    • Use the following packages/imports when looking at waveform data:

import obspy

import numpy as np

from obspy.clients.fdsn import Client

from obspy import UTCDateTime

from obspy import read

import matplotlib.pyplot as plt

from matplotlib.pyplot import figure

import pandas as pd

    • If all of these import correctly, you can begin accessing data. If not, try doing pip installs to get the packages installed in your environment correctly.

Define the Client and Timeline

    • The client is ‘IRIS’ so define a client variable in this way:

client = Client("IRIS")

    • Define some variables for the time you want to search. For this, its easiest to use UTCDateTime from ObsPy as it’ll do all the time format converting automatically. More information on how to use this can be found here: https://docs.obspy.org/packages/autogen/obspy.core.utcdatetime.UTCDateTime.html. For the following example, set two time variables (a start and end time) for a 1-hour duration on January 1st, 2019.

t1 = UTCDateTime(2019, 01, 01, 0, 0, 0)

t2 = UTCDateTime(2019, 01, 01, 1, 0, 0)

Tip
 IRIS and ObsPy work in UTC time so keep this in mind when searching

...

...

Wiki Markup
{toc}

----
h2. Step-by-step Instructions for Accessing NEPTUNE Canada Seismic Data in IRIS

[IRIS|http://www.iris.edu] is a consortium of over 100 US universities dedicated to the operation of science facilities for the acquisition, management, and distribution of seismological data. The following instructions show you how to see our seismic data on the IRIS website. ([instruments:Step-by-step instructions in a PDF document|^iris_instructions.pdf], [Poster|workshop:Posters^IRIS_WebServices_20110531.pdf] on IRIS webservices presented at NEPTUNE Canada workshop in 2011)

h3. Using the IRIS Link Builder

Link: [http://www.iris.edu/ws/timeseries/builder|http://www.iris.edu/ws/timeseries/builder]

h4. Network Information

[This page|http://www.iris.edu/mda/NV] gives an overview over the NEPTUNE Canada seismometers and their current status. It also links to an interactive [map|http://www.iris.edu/gmap/NV] .

* Network: NV
* Stations (currently available)
** NCBC at [Barkley Canyon|http://www.neptunecanada.ca/sensors-instruments/locations/barkley.dot]
** NC89 at [ODP 889|http://www.neptunecanada.ca/sensors-instruments/instrument-platforms/instrument-platforms.dot?inode=28012]
** NC27 at [ODP 1027|http://www.neptunecanada.ca/sensors-instruments/instrument-platforms/instrument-platforms.dot?inode=29591]
** KEMF at [Main Endeavour Field|http://www.neptunecanada.ca/sensors-instruments/instrument-platforms/instrument-platforms.dot?inode=29840] (MEF)
** NCHR at [Endeavour North|http://www.neptunecanada.ca/sensors-instruments/instrument-platforms/instrument-platforms.dot?inode=29567]

The following illustrations show the builder screen I developed for each NEPTUNE Canada station that shows an October 21-22 event.
* We often view the low-frequency (*L*) channels because they show all data (military screening does not happen for low frequency channels)
* We also often use *Z* to view vertical movements, but you may also wish to view *E* (east-west movement) and *N* (north-south movement) data as well.

h4. Station KEMF

!iris_kemf.png|align=center,border=1,width=600pxpxpxpx!
Note the selections in the red box. The link to the plot is created for you -- all you need to do is to click the link at the bottom to get the plot from our short-period seismometer at Main Endeavour Field.

!kemf_oct21_event.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}This is the resulting plot generated by the IRIS link builder shown above._{center}

h4. Station NC27

!nc27_iris.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}Settings in the the red box are used to generate a plot of data from our NC27 broadband seismometer (located at ODP 1027). _{center}


!nc27_oct21_event.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}This is the resulting plot generated by the IRIS link builder shown above._{center}

h4. Station NC89

\!nc89_iris.png\|align=center,border=1,width=600px
{center}{_}Settings in the the red box are used to generate a plot of data from our NC89 broadband seismometer (located at ODP 889)._{center}


!nc89_oct21_event.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}This is the resulting plot generated by the IRIS link builder shown above._{center}

h4. Station NCHR

!nchr_iris.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}Settings in the the red box are used to generate a plot of data from our NCHR short-period seismometer (located at ODP 889)._{center}


!nchr_oct21_event.png|align=center,border=1,width=600pxpxpxpx!
{center}{_}This is the resulting plot generated by the IRIS link builder shown above._{center}

h4. How to Interpret the Time Axis

Time axis is presented according to the [Julian Day Calender|http://landdb1.nascom.nasa.gov/browse/calendar.html].
Notice in the following illustration that the time axis of the plot is indicated as 2011 294 06, where 294 stand for 21st October 2011 according to the Julian day calendar. (The date indicated in the plot header is also a good guide to relate the Julian day indicated in the time axis to the day of the month)

!iris_time_axis.png|align=center,border=1,width=600pxpxpxpx!

h3. Station Description

The following IRIS link provides station descriptions and information on available channels. This page is also accessible via the IRIS link listed under the "connected data sets" in the [Ocean 2.0 data search|http://dmas.uvic.ca/DataSearch].

[http://www.iris.edu/servlet/quackquery/budFileSelector.do?file=NC27.NV..HHZ.2011.299&schema=BUD|http://www.iris.edu/servlet/quackquery/budFileSelector.do?file=NC27.NV..HHZ.2011.299&schema=BUD]

h4. Network Information

* Network: NV
* Stations (currently available): KEMF, NC27, NC89, NCBC, NCHR

!iris_network_info.png|align=center,border=1!

...