...
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 Tool | Brief Description | Quick Link |
---|---|---|
Station Metadata | Retrieves metadata stored in SEED format | http://service.iris.edu/fdsnws/station/1/ |
Data Select | Retrieves time series data in miniSEED format | http://service.iris.edu/fdsnws/dataselect/1/ |
Time Series | Similar to the above Data Select but with additional features | http://service.iris.edu/irisws/timeseries/1/ |
Channel Descriptor | Provides the definition of a channel code | https://ds.iris.edu/ds/nodes/dmc/tools/data_channels/#??? |
Availability | Returns the miniSEED data for availability of data | https://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/Azimuth | Calculate the distance, azimuth, and back-azimuth between 2 locations | http://service.iris.edu/irisws/distaz/1/ |
Earth Model | Service for Earth Models | http://service.iris.edu/irisws/earth-model/1/ |
...
Ocean Networks Canada Instruments - NV Network
...
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.
Station Descriptions
Station Channel Naming Description
...
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 Codes | Description |
---|---|
N/E/Z |
|
1/2/3 |
|
...
Retrieving Data from IRIS - Web Service Links
...
Convert to .MAT File for MATLAB
- The following commands will convert a Stream object defined above into a .mat file for MATLAB. To begin, import a new method in Python that allows to save to .mat format. This is called with the following and the documentation is here: https://docs.scipy.org/doc/scipy/reference/tutorial/io.html
import scipy.io as sio
- Next, find the waveform data to save into the file based on the Stream object
sio.savemat('MatlabTester_ENHR2.mat', {station1[0].stats.channel : station1[0].data,
...
station1[1].stats.channel : station1[1].data,
station1[2].stats.channel : station1[2].data})
Note |
---|
NOTE: There is another method to save data in ObsPy to a .mat file, but this method will keep all the data in one .mat file more organized. The ObsPy way can be found here: https://docs.obspy.org/tutorial/code_snippets/export_seismograms_to_matlab.html |
...
sio.savemat(‘[NameOfFile].mat’, {dictionary of station data})
...
- Basic breakdown of this function:
sio.savemat(‘[NameOfFile].mat’, {dictionary of station data})
- A Python dictionary is declared with the curly brackets and has 2 parts: the name of the data array, and the data array itself; both separated by a colon. So the call would be {‘name’:[data]}.
- When there are multiple channels/traces in the stream, they are saved in multiple parameter calls, that is why there are 3 different lines. The station[0].stats.channel finds the channel name for the [0] trace in the station1 Stream object, while the station1[0].data assigns the corresponding data.
...
- This can be done for as many channels
...
- as are saved in the Stream object. You can normally click through the object in the variable explorer in Spyder to see how many there are to add to the dictionary list.
- The result of all this will be a .mat file with one variable per channel named for the value found
...
- in station1[#].stats.channel
Note |
---|
NOTE: There is another method to save data in ObsPy to a .mat file, but the above method will keep all the data in one .mat file more organized. The ObsPy way can be found here: https://docs.obspy.org/tutorial/code_snippets/export_seismograms_to_matlab.html |
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! |
...