-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
If a model contains a layer with Vs = 0 (for example, a water or ocean layer), PyGRT will raise an error by default:
[grt] Error! In model file, line 1, Vs==0.0 is not supported.
To enable support for liquid layers, you must explicitly allow them by setting the allowLiquid=True parameter when creating the model:
pymod = pygrt.PyModel1D(model, 2.0, 0.0, allowLiquid=True)
This option instructs PyGRT to treat layers with zero shear-wave velocity as liquid media rather than invalid model entries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working