-
Notifications
You must be signed in to change notification settings - Fork 2
Input parameters
This page goes over the input_parameters.yaml file, and the different options for each section.
This section describes the stations that will be used for array analysis. It follows the general FDSN format.
- Network of seismic data.
- Examples: "9C", "AK", "IU"
- Station to be used. If similar name, use *.
- Examples: "POM*", "KD*", "2A*"
- Location to be used. If unsure, use *.
- Examples: "*", "10"
- Channel to do analysis on.
- Examples: "SHZ", "DHZ", "BHZ"
- Obspy client to use.
- Examples: "IRIS", "EARTHSCOPE", "GEOFON"
This section goes over station specific attributes that can be tuned for specific use cases.
- Minimum number of stations needed for array analysis. If there are not enough stations available for an earthquake, it will skip that event.
- Examples: 10, 3
- List of stations to remove. If no stations to remove, leave as empty list.
- Examples: ["POM06", "POM07", "POM18"], []
- List of stations to keep, removes all other stations not specified. Will keep all stations if empty list.
- Examples: ["POM02", "POM09","POM04"], []
- Array name for use in saving data and reference in the future.
- Examples: "POM", "Kodiak"
- Whether or not to use events for the entire length of the deployment, based on data availability from inventory. If false, will use specified starttime and endtime in the Earthquakes section.
- Examples: true, false
- Path to inventory if it is stored locally. If not on local machine, use nan
- Examples: './path_to_inv', nan
- Whether or not to save the data at the end of the script. If true, will save to working directory. If false, will not save.
- Examples: true, false
- Whether or not to save the station information (lat, lon, elev) for all stations.
- Examples: true, false
This section goes over pulling waveforms locally, how to save mseeds locally, and how to specify the length of the data file.
- Whether to save mseed data to local machine. If true, will save to mseed path.
- Examples: true, false
- Path for previously stored .mseed files or where to save new mseeds.
- Examples: './path_to_mseeds'
- Length of the mseed (in seconds) to be used for analysis. The mseed will be centered on the expected arrival time of the p-wave. For example, if you specified 120, this will be a 120 second record with the expected p-arrival 60 seconds into the record. The length of the mseed should be long enough to allow for the specified STA/LTA method to stabilize before the earthquake arrival.
- Examples: 120, 60
This section helps specify what earthquakes to do array analysis over and the velocity model for doing slowness analysis.
- Minimum magnitude of earthquakes to search for in USGS catalog.
- Examples: 3.0, 6.0
- Max radius of search area from array in kilometers.
- Examples: 300, 600
- Velocity model to be used for catalog slowness calculation. Uses TauP notation and preloaded examples. Can also use a local velocity model, but need to add to your conda environment directly.
- Examples: 'ak135', 'iasp91'
- Start time of time-range to search for earthquakes and station data in UTC format. Dictates time range for earthquake seach if use_full_deployment = false.
- Examples: "2025-10-01T01:00:00", "2014-03-08"
- End time of time-range to search for earthquakes and station data in UTC format.
- Examples: "2025-10-01T01:00:00", "2014-03-20"
This section specifies aspects of the array analysis to be performed.
- Specifies what array algorithm to use options are: "ls", "lts", "fk".
- Examples: "LS", "LTS", "FK"
- Minimum frequency used for bandpass filter prior to array analysis (Hz). If wanting to test several frequency bands at once, use a list. List should be same length as freq_max.
- Examples: 2, 8.6, [0.1,0.5,1]
- Maximum frequency used for bandpass filter prior to array analysis (Hz). If wanting to test multiple frequency bands at once, use a list. List should be same length as freq_min.
- Examples: 10, 20, [10,15,20]
- Length of window to do array analysis over (seconds). If wanting to test multiple window lengths at once, use a list.
- Examples: 0.5, 4, [0.5, 1, 2]
- Step between array analysis windows (seconds). Value should be less than the window length to allow for overlap.
- Examples: 0.25, 0.5
- Time relative to the trigger time to start the array analysis window (seconds). If the window should start before the STA/LTA trigger, the value should be negative. If after, it should be positive.
- Examples: -1, 1
This section defines aspects of the STA/LTA trigger used for determining array analysis window.
- How to determine where to do array analysis. Options: 'trigger': uses STA/LTA trigger as indicator to start array analysis window; 'power': picks out the max mdccm/absolute power from the p-tolerance window.
- Examples: 'trigger', 'power'
- Seconds around the expected p-arrival to try and associate groups of STA/LTA triggers. The value input is a +/- value. For example, a value of 5 will mean trigger groups will be searched in a 10s window centered on the expected p-arrival.
- Examples: 5, 10
- Specifies how to handle instance where there are multiple trigger times in the ptolerance window. Options: 'closest': picks the trigger time that is closest to the expected p-arrival; 'peak': picks the trigger time that has the highest signal-to-noise ratio in the p-tolerance window; 'first': picks the first trigger time in the p-tolerance window.
- Examples: 'closest', 'peak', 'first'
- Specifies how to handle case where there are no triggers in the first p-tolerance window. Options: 'max mdccm': picks out the value with the highest beam power/cross-correlation coefficient; 'taup': picks out the expected p-arrival time from the 1D travel time module TauP in Obspy.
- Examples: 'max mdccm', 'taup'
- Minimum frequency of bandpass filter prior to STA/LTA trigger.
- Examples: 2, 0.5
- Maximum frequency of bandpass filter prior to STA/LTA trigger.
- Examples: 10, 20
- Length of the short-term-average window (STA) of the STA/LTA in seconds.
- Examples: 2.5, 0.05
- Length of the long-term-average window (LTA) of the STA/LTA in seconds. Needs to be longer than the short window.
- Examples: 5, 30
- STA/LTA ratio threshold to label a 'trigger'. If exceeded, the trigger window will be turned on.
- Examples: 2.5, 20
- STA/LTA ratio threshold to turn off a trigger window if it is already on. Helps give sense of longevity of a signal.
- Examples: 1, 5
This section goes over FK specific input parameters. This parameters follow the Obspy FK array processing routine.
- Lower limit of the slowness grid in x.
- Examples: -1.0
- Upper limit of the slowness grid in x.
- Examples: 1.0
- Lower limit of the slowness grid in y.
- Examples: -1.0
- Upper limit of the slowness grid in y.
- Examples: 1.0
- Slowness step (grid size).
- Examples: 0.03
- Threshold for semblance.
- Examples: -1e9
- Threshold for velocity.
- Examples: -1e9
- Type of timestamp to use.
- Examples: 'mlabday', 'julsec'
- Do prewhitening. Options: 1, 0
- Examples: 0
Different plots for viewing the data. The maps are made using Pygmt.
- Whether or not to plot the earthquake map of events used.
- Examples: true, false
- Whether or not to plot the backazimuth error as a function of source azimuth.
- Examples: true, false
- Whether or not to plot the slowness error as a function of source azimuth.
- Examples: true, false
- Whether or not to plot the backazimuth errors on a map. Dots are catalog earthquake locations and vectors show the direction of the array measured backazimuth. The length of the vector corresponds to the amount of error.
- Examples: true, false
- Whether or not to plot the slowness errors on a map. Vectors pointing up are a positive error, vectors pointing down are a negative error. The length of vector corresponds to the amount of error.
- Examples: true, false
- Whether or not to save figures once plotted.
- Examples: true, false
- Path to put the figures that are being saved.
- Examples: './path_to_save_figures/'