Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

negative depths in taup velmerge #17

Open
crotwell opened this issue Mar 11, 2022 · 0 comments
Open

negative depths in taup velmerge #17

crotwell opened this issue Mar 11, 2022 · 0 comments

Comments

@crotwell
Copy link
Owner

merging a crustal model with negative depths (from elevation) throws error:

Error starting tool: velmerge edu.sc.seis.TauP.NoSuchLayerException: TauP Exception: VelocityModel Exception: No layer contains radius -0.3 in this velocity model.
edu.sc.seis.TauP.NoSuchLayerException: TauP Exception: VelocityModel Exception: No layer contains radius -0.3 in this velocity model.
at edu.sc.seis.TauP.VelocityModel.layerNumberBelow(VelocityModel.java:353)
at edu.sc.seis.TauP.VelocityModel.replaceLayers(VelocityModel.java:474)
at edu.sc.seis.TauP.TauP_VelocityMerge.start(TauP_VelocityMerge.java:38)
at edu.sc.seis.TauP.ToolRun.main(ToolRun.java:134)

Maybe should increase "radius of earth" to compensate, or redo layers in crustal model to make all depths positive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant