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

add method to load newer sxscatalog files #204

Merged
merged 19 commits into from
Oct 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gw_eccentricity/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,8 @@ def load_sxs_catalogformat(**kwargs):
"used to eavaluate the zero ecc waveform.")

# Check file format
if "Strain_N" in kwargs["filepath"]:
matches = re.findall(r"Strain_N\d.h5", kwargs["filepath"])
if len(matches) == 1:
vijayvarma392 marked this conversation as resolved.
Show resolved Hide resolved
# find the extrapolation order from file name and check if
# it is consistent with the value provided via kwargs.
# If they are not consistent, raise warnings and ignore
Expand Down