https://github.com/anowacki/seistau.jl

Add seismic travel times to your traces with Seis.jl

https://github.com/anowacki/seistau.jl

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 2 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary

Keywords

seis-jl seismology tau-p travel-times
Last synced: 11 months ago · JSON representation

Repository

Add seismic travel times to your traces with Seis.jl

Basic Info
  • Host: GitHub
  • Owner: anowacki
  • License: other
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 83 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
seis-jl seismology tau-p travel-times
Created over 7 years ago · Last pushed about 6 years ago
Metadata Files
Readme License

README.md

SeisTau.jl

Build status

Build Status Build status Coverage Status

Using

SeisTau integrates the TauPy and Seis packages, allowing one to easily use seismic travel time predictions for 1D Earth models with Seis.Traces.

SeisTau extends Seis.add_picks! so that you can add picks to your Traces like so:

```julia julia> using Seis, SeisTau

julia> t = sample_data(:array);

julia> add_picks!.(t, "PKIKP") 60-element Array{Seis.SeisDict{Union{Int64, Symbol},NamedTuple{(:time, :name),Tuple{Float32,Union{Missing, String}}}},1}: Seis.SeisDict(:A=>Seis.Pick{Float32,String}((time=1134.08, name="A")),:PKIKP=>Seis.Pick{Float32,String}((time=1126.4486, name="PKIKP")),1=>Seis.Pick{Float32,String}((time=137.35, name=missing))) ... ```

Here we have added a pick for the PKIKP phase to all of the traces at once using Julia's .-notation, broadcasting the call to add_picks! across each of the Traces in t.

You can now plot up the data aligned on this pick:

```julia julia> using Plots, Seis.Plot

julia> section(t, align="PKIKP", xlim=(-10,20), zoom=2) ```

Example record section aligned on pick

See Seis.picks for more information on access picks in Seis.

Installation

First, install Seis.jl.

Then, having chosen one of the options below:

```julia julia> ] # Pressing ']' enters pkg mode

(v1.1) pkg> add https://github.com/anowacki/TauPy.jl https://github.com/anowacki/SeisTau.jl ```

Note on Python installation

The TauPy package on which SeisTau relies uses the Obspy module obspy.taup to calculate travel times. Therefore, one needs Obspy to be installed. There are two options:

  1. Install Obspy locally if it is not already installed on your machine, then build PyCall pointing at that installation by setting the $PYTHON environment variable to the path to your python executable:
    • ENV["PYTHON"] = "python"; import Pkg; Pkg.build("PyCall")
  2. Allow PyCall to install its own private Miniconda distribution. In this case, Obspy will be automatically installed when adding TauPy above. N.B. There are intermittent problems with automatic installation via this option, so option 1 is recommended at present.

Owner

  • Name: Andy Nowacki
  • Login: anowacki
  • Kind: user

Lecturer at the School of Earth and Environment, University of Leeds, studying the Earth's deep interior.

GitHub Events

Total
Last Year

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 11
  • Total Committers: 2
  • Avg Commits per committer: 5.5
  • Development Distribution Score (DDS): 0.455
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Andy Nowacki a****i@l****k 6
Andy Nowacki a****i@b****k 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • JuliaTagBot (1)
Top Labels
Issue Labels
Pull Request Labels