GithubHelp home page GithubHelp logo

Time-to-depth conversion of SRF about seispy HOT 5 OPEN

xumi1993 avatar xumi1993 commented on June 13, 2024
Time-to-depth conversion of SRF

from seispy.

Comments (5)

xumi1993 avatar xumi1993 commented on June 13, 2024

Is there any errors in the S-wave time-to-depth conversion? Theoretically, Both Ps and Sp phases have the same procedure on this function.

from seispy.

Wufaxing avatar Wufaxing commented on June 13, 2024

yes, I use LQT to calculate SRFs, when I run rf2depth ccp.cfg, it only search files with comp of R
wyb@Wufatian:/mnt/c/Users/22247/Desktop/all_SRF/SRF_1.0$ rf2depth ccp.cfg
Traceback (most recent call last):
File "/home/wyb/.local/bin/rf2depth", line 8, in
sys.exit(rf2depth())
File "/home/wyb/.local/lib/python3.8/site-packages/seispy/rf2depth_makedata.py", line 182, in rf2depth
makedata(cpara)
File "/home/wyb/.local/lib/python3.8/site-packages/seispy/rf2depth_makedata.py", line 77, in makedata
stadatar = RFStation(rfpath, only_r=True)
File "/home/wyb/.local/lib/python3.8/site-packages/seispy/rfcorrect.py", line 56, in init
self.read_sample(data_path)
File "/home/wyb/.local/lib/python3.8/site-packages/seispy/rfcorrect.py", line 76, in read_sample
raise FileNotFoundError('No such files with comp of {} in {}'.format(self.comp, data_path))
FileNotFoundError: No such files with comp of R in ./RFresult/TB01

from seispy.

xumi1993 avatar xumi1993 commented on June 13, 2024

Thanks for reporting this. I'm in holiday now, I'll debug this after back to work at January.

from seispy.

JouSF-1409 avatar JouSF-1409 commented on June 13, 2024

I'm developing S receiver function ccp stacking via seispy during this time and may know this one.

This is partially due to class RFStation and it's api. It needs a sample trace to init RFStation and collect neccessary information like stla, stlo .etc.
Unfortunately, rf2depth didn't leave space for different comp. So by default, seispy is searching xxx_Rxxx.sac file rather than xxx_Lxxx.sac.

It's a little bit awkward time point, since I am working on ccp moduel right now to add S receiver function support and it requires weeks to write, run and go through a set of test.

Here's a couple of suggestions:

  1. Take a deeper look into rf2depth function
  2. write a py script to do rf2depth rather than rf2depth in commnad.

from seispy.

xumi1993 avatar xumi1993 commented on June 13, 2024

Hi all
In current version, I have written an API for read L component in RFStation as below

RFStation('path/to/SRF', prime_comp='L')

But this function hasn't been embedded into rf2depth. In the future, the 'rf2depth' will search components order by R, Q, L and Z.

from seispy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.