Skip to content

added the option for CPS and FK green's tensors to be in dispacement#338

Open
rwalkerlewis wants to merge 5 commits into
mtuqorg:masterfrom
rwalkerlewis:CPS_Fix
Open

added the option for CPS and FK green's tensors to be in dispacement#338
rwalkerlewis wants to merge 5 commits into
mtuqorg:masterfrom
rwalkerlewis:CPS_Fix

Conversation

@rwalkerlewis

Copy link
Copy Markdown
Member

Quick fix to address issue #336

rwalkerlewis and others added 5 commits November 20, 2025 21:50
The CI was failing because the 'tables' package (PyTables) requires
HDF5 development headers to build from source. Added libhdf5-dev and
pkg-config to the system dependencies installation step.

Co-authored-by: langleyreview <langleyreview@gmail.com>
The CI was using Python 3.14 (very new) which may cause compatibility
issues with some packages. Pinning to Python 3.11 which is a stable
version that should work well with all dependencies.

Co-authored-by: langleyreview <langleyreview@gmail.com>

@Jinyin-Hu Jinyin-Hu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Robert,

Thanks for the modifications. Sorry for being late to have a look at this fix. I'm gaining experiences with github.

Given CPS and FK output velocity by default, It seems the fix should be:
if 'type:velocity' not in self.tags and 'type:displacement' not in self.tags:
self.tags += ['type:velocity']

In the current modifications, I found it is 'or' to connect two conditions. This also applies for FK, and also the current version of Specfem3D.

if so, all them need to change from 'or' to 'and'.

Many thanks,
Jinyin

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

Successfully merging this pull request may close these issues.

3 participants