Skip to content

negative depths in taup velmerge #17

Description

@crotwell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions