Skip to content

Commit 9001433

Browse files
author
product1
committed
updates for moving Release 1 (Python 2.7 code) to GitHub
1 parent 1f2be75 commit 9001433

File tree

5 files changed

+30
-31
lines changed

5 files changed

+30
-31
lines changed

INSTALL.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
----------------------------------------------------------------------------------------------------------------------------------------
1111

12-
- install Python on your computer
12+
- install Python 2.7 on your computer
1313

1414
- additional required Python modules are:
1515
. matplotlib
@@ -19,6 +19,5 @@
1919
https://github.com/obspy/obspy/wiki has detailed information on
2020
installing the latest stable version of ObsPy on various operating systems
2121

22-
- untar the bundle where you want to install (installing all Noise
23-
Toolkit bundles under the same directory is recommended)
22+
- download the package to the destination directory
2423

ME.README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
http://www.gnu.org/
2626

2727
You should have received a copy of the GNU Affero General Public License
28-
along with this program. If not, see <http://www.gnu.org/licenses/>.
28+
along with this program. If not, see http://www.gnu.org/licenses/.
2929

3030
DESCRIPTION:
3131

32-
This bundle contains 3 Python scripts to:
32+
This bundle contains three Python 2.7 scripts to:
3333
- calculate power of each PSD window over selected bins (period bands)
3434
- calculate median power for a given window length from the computed PSD powers
3535
- plot temporal variation of the median power
@@ -40,21 +40,21 @@
4040

4141
RUNNING THE SCRIPTS:
4242

43-
See the bundle SeisCode Wiki page for instructions and examples:
44-
https://seiscode.iris.washington.edu/projects/noise-toolkit-microseism-energy-me-bundle/wiki
43+
See the bundle Wiki page for instructions and examples:
44+
https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-Microseism-Energy-(ME)-bundle
4545

4646
INPUT DATA
4747

4848
The input PSD file should have the same format as:
49-
- output of the Noise Toolkit ntk_extractPsdHour.py script (see NTK PSD/PDF bundle, https://seiscode.iris.washington.edu/projects/noise-toolkit-pdf-psd-bundle)
49+
- output of the Noise Toolkit ntk_extractPsdHour.py script (see NTK PSD/PDF bundle, https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-PDF-PSD-bundle)
5050
or
5151
- PQLX's "exPSDhour script" (see http://pubs.usgs.gov/of/2010/1292/pdf/OF10-1292.pdf)
5252

5353
NOTES
5454

5555
- for more information:
5656
. visit IRIS DMC Noise Toolkit Data Product web page at: http://ds.iris.edu/ds/products/noise-toolkit/
57-
. visit product's Wiki page (https://seiscode.iris.washington.edu/projects/noise-toolkit-microseism-energy-me-bundle/wiki)
57+
. visit product's Wiki page (https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-Microseism-Energy-(ME)-bundle)
5858

5959
HISTORY
6060

POLAR.README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
DESCRIPTION:
3131

32-
This bundle contains a series of Python scripts to:
32+
This bundle contains a series of Python 2.7 scripts to:
3333
- read waveforms for given network/station/location/channels from local files
3434
- request/read waveforms for given network/station/location/channels using the obspy FDSN client
3535
- compute and populate an hourly "Polarization database"
@@ -43,15 +43,15 @@
4343
RUNNING THE SCRIPTS:
4444

4545
see the bundle SeisCode Wiki page for instructions and examples:
46-
https://seiscode.iris.washington.edu/projects/noise-toolkit-polarization-attributes-bundle/wiki
46+
https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-Polarization-Attributes-bundle
4747

4848
NOTES
4949

5050
- for more information:
5151
.visit data product's web page at:
5252
http://ds.iris.edu/ds/products/noise-toolkit-polarization/
5353
.visit data product's Wiki page at:
54-
https://seiscode.iris.washington.edu/projects/noise-toolkit-polarization-attributes-bundle/wiki
54+
https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-Polarization-Attributes-bundle
5555
- the "DeprecationWarning: Development and maintenance efforts will focus on the new obspy.fdsn client....." message
5656
that you receive from the script is caused by script loading the IRIS module and should not affect the run
5757

PSD.README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
DESCRIPTION:
3131

32-
This bundle contains a series of Python scripts to:
32+
This bundle contains a series of Python 2.7 scripts to:
3333
- read waveforms for given network/station/location/channels from local files
3434
- request/read waveforms for given network/station/location/channels using the obspy FDSN client
3535
- compute and populate an hourly "PSD database"
@@ -43,15 +43,15 @@
4343
RUNNING THE SCRIPTS:
4444

4545
see the bundle SeisCode Wiki page for instructions and examples:
46-
https://seiscode.iris.washington.edu/projects/noise-toolkit-pdf-psd-bundle/wiki
46+
https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-PDF-PSD-bundle
4747

4848
NOTES
4949

5050
- for more information:
5151
.visit data product's web page at:
5252
http://ds.iris.edu/ds/products/noise-toolkit-pdf-psd/
5353
.visit data product's Wiki page at:
54-
https://seiscode.iris.washington.edu/projects/noise-toolkit-pdf-psd-bundle/wiki
54+
https://github.com/iris-edu/noise-toolkit/wiki/Noise-Toolkit-PDF-PSD-bundle
5555
- the "DeprecationWarning: Development and maintenance efforts will focus on the new obspy.fdsn client....." message
5656
that you receive from the script is caused by script loading the IRIS module, as described below for the infrasound stations, and should not
5757
affect the run

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Data Products Team\
44
Noise Toolkit (NTK)\
55

6-
2020-02-24
7-
V.2020.055
6+
2020-10-28
7+
R.1.0 for Python 2.7
88

99
------------------------------------------------------------------------------------------------------------------------
1010

@@ -20,33 +20,33 @@ This repository is the new home for the Noise Toolkit on seiscode (https://seisc
2020
**DESCRIPTION:**
2121

2222
The IRIS DMC Noise Toolkit data product is a collection of three open-source bundles that provide relatively simple
23-
Python/ObsPy code bundles to:
23+
Python 2.7 /ObsPy code bundles to:
2424

2525
- compute power spectral density (PSD) of station waveform data using customized parameters (Noise Toolkit PDF/PSD bundle)
2626
- compute microseism energy from PSDs at different frequency bands (Noise Toolkit Microseism Energy bundle)
2727
- perform frequency dependent polarization analysis of the waveform data (Noise Toolkit Polarization Analysis bundle)
2828

2929
**PDF/PSD bundle**
3030

31-
The PDF/PSD bundle provides three highly configurable Python scripts to calculate waveform spectra in Python/ObsPyP. Although this package takes advantage of FDSN Web service client for ObsPy to retrieve necessary waveform data, but it also allows users to process waveform data from their local files. This package provides PSD file collections similar to popular PQLX package (McNamara and Boaz, 2005) and therefore it is compatible with existing user programs (see the Wiki page). The scripts included in this bundle are:
31+
The PDF/PSD bundle provides three highly configurable Python 2.7 scripts to calculate waveform spectra in Python/ObsPyP. Although this package takes advantage of FDSN Web service client for ObsPy to retrieve necessary waveform data, but it also allows users to process waveform data from their local files. This package provides PSD file collections similar to popular PQLX package (McNamara and Boaz, 2005) and therefore it is compatible with existing user programs (see the Wiki page). The scripts included in this bundle are:
3232

33-
- ntk_computePSD.py - a Python script to request waveforms and response data for given station(s) using the ObsPy FDSN client OR to read user's waveform data files (in SAC, MSEED, CSS, etc. format), compute PSDs and populate a file-based PSD database
34-
- ntk_extractPsdHour.py - a Python script to extract PSDs for a given channel and bounding parameters from the PSD database. The output is similar to PQLX's exPSDhour script
35-
- ntk_binPsdDay.py - a Python script to bin PSD's to daily files for a given channel and bounding parameters.
33+
- ntk_computePSD.py - a Python 2.7 script to request waveforms and response data for given station(s) using the ObsPy FDSN client OR to read user's waveform data files (in SAC, MSEED, CSS, etc. format), compute PSDs and populate a file-based PSD database
34+
- ntk_extractPsdHour.py - a Python 2.7 script to extract PSDs for a given channel and bounding parameters from the PSD database. The output is similar to PQLX's exPSDhour script
35+
- ntk_binPsdDay.py - a Python 2.7 script to bin PSD's to daily files for a given channel and bounding parameters.
3636

3737
**Microseism Energy (ME) bundle**
3838

39-
Microseism Energy (ME) bundle is a collection of three Python scripts that are configurable and allow users to conveniently calculate and plot microseism energy temporal variations in the period band of interest using the available PSD values. By default, the bundle is configured to to calculate ME over 1-5 s band, targeting smaller local storms for coastal stations, 5-10 s for the secondary microseisms, 11-30 s for the primary microseisms and the 50-200 s band for the Earth hum using PSDs of three-component broadband seismic data (BH channels). The stored microseism energy values will be smoothed using a median sliding time window (e.g. 6 hours, 12 hours, 1 day, 4 days, and 16 days, etc.).
39+
Microseism Energy (ME) bundle is a collection of three Python 2.7 scripts that are configurable and allow users to conveniently calculate and plot microseism energy temporal variations in the period band of interest using the available PSD values. By default, the bundle is configured to to calculate ME over 1-5 s band, targeting smaller local storms for coastal stations, 5-10 s for the secondary microseisms, 11-30 s for the primary microseisms and the 50-200 s band for the Earth hum using PSDs of three-component broadband seismic data (BH channels). The stored microseism energy values will be smoothed using a median sliding time window (e.g. 6 hours, 12 hours, 1 day, 4 days, and 16 days, etc.).
4040

4141
The scripts included in this bundle are:
4242

43-
- ntk_computePower.py – a Python script to calculate power of each PSD window (by default 1 hour) over selected bin period bands
44-
- ntk_medianPower.py – a Python script to calculates median power from the PSD powers (by default hourly PSD power) using a sliding window of a given length (e.g., 12 hours)
45-
- ntk_plotPower.py – a Python script to plot median powers computed from a series of PSD powers
43+
- ntk_computePower.py – a Python 2.7 script to calculate power of each PSD window (by default 1 hour) over selected bin period bands
44+
- ntk_medianPower.py – a Python 2.7 script to calculates median power from the PSD powers (by default hourly PSD power) using a sliding window of a given length (e.g., 12 hours)
45+
- ntk_plotPower.py – a Python 2.7 script to plot median powers computed from a series of PSD powers
4646

4747
PSDs of seismic station waveform data needed for computation of the microseism energy are available from IRIS DMC via:
4848

49-
- Noise Toolkit PDF-PSD bundle — an open-source Python script bundle to compute PSDs
49+
- Noise Toolkit PDF-PSD bundle — an open-source Python 2.7 script bundle to compute PSDs
5050
- PSDs computed by IRIS’s MUSTANG noise-psd Web Service (http://service.iris.edu/mustang/noise-psd/1/)
5151

5252
**Polarization Attributes (POLAR) bundle**
@@ -60,11 +60,11 @@ The Polarization bundle of the Noise Toolkit is based on the eigen-decomposition
6060
o phase difference between the vertical and principal horizontal components (Φ VH)
6161
o phase difference between the horizontal components (Φ HH)
6262

63-
This bundle is composed of three Python scripts:
63+
This bundle is composed of three Python 2.7 scripts:
6464

65-
- ntk_computePolarization.py – an ObsPy script to calculate polarization parameters for a given station and time window
66-
- ntk_extractPolarHour.py – a Python script to extract polarization parameters for the given channels and bounding parameters
67-
- ntk_binPolarDay.py – a Python script to bin polarization attributes to daily files for a given channel tag and bounding parameters
65+
- ntk_computePolarization.py – an Python 2.7 script to calculate polarization parameters for a given station and time window
66+
- ntk_extractPolarHour.py – a Python 2.7 script to extract polarization parameters for the given channels and bounding parameters
67+
- ntk_binPolarDay.py – a Python 2.7 script to bin polarization attributes to daily files for a given channel tag and bounding parameters
6868

6969
**CHANGES:**
7070

0 commit comments

Comments
 (0)