Conversation
…er-point helpers These shared utilities underpin multi-depth static GF interpolation and later synthesis of finite faults and arbitrary receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
…r arbitrary receivers STGRNLIB now stores the model and distance ordering so syn can interpolate source/receiver depth, accept Coulomb-format finite faults, and write grid or point layouts; strain/stress/rotation consume the new syn output. Co-authored-by: Cursor <cursoragent@cursor.com>
…r postprocess CLI/Python tests now exercise strictly ascending depths, -R/-Q/-C synthesis, C–Python syn comparison, and strain/stress/rotation on the new layouts. Co-authored-by: Cursor <cursoragent@cursor.com>
Read source-layer velocities from library variables and index single-depth channels as [depsrc, deprcv, north] instead of the old 2D [0] slice. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend the static Green's function workflow from a single source/receiver depth to a 4-D STGRNLIB library (
depsrc × deprcv × north × east), then synthesize displacement by interpolating in distance and depth. Synthesis can use a point source, Coulomb-format finite faults (-C), or arbitrary receiver points (-Q). Strain / stress / rotation post-processing follows the new grid and point layouts.Python
PyModel1D.compute_static_grn/compute_static_synexpose the same options.grt static greenfnwrites a 4-D NetCDF STGRNLIB (strictly ascending depths and-Rdistances; model matrix stored for later interpolation).grt static syninterpolates GF in epicentral distance (and depth when needed);-Csubdivides faults (OpenMP over subfaults);-Qfornorth east depthpoints;-ederivatives for later tensors.static strain/stress/rotationaccept both grid and point syn output.-R/-Q/-Csyn, C–Python comparison, and tensor post-process.