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 QC for SEG-Y ingestion based on trace density. #246

Merged
merged 5 commits into from
Aug 7, 2023

Conversation

markspec
Copy link
Contributor

This PR will prevent possible OOM errors due to nonsensical indexing for segy ingestion. The error will provide the user with insight on the issue by returning information on the requested grid shape which should inform the user on why the ingestion is problematic. Th update will produce warnings if the total grid size is greater than two times the number of traces and raise an exception if the trace density on the proposed grid is less than 1%.

@codecov-commenter
Copy link

Codecov Report

Merging #246 (54fab5e) into main (5216791) will decrease coverage by 0.07%.
The diff coverage is 76.47%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   84.27%   84.21%   -0.07%     
==========================================
  Files          46       46              
  Lines        2016     2033      +17     
  Branches      325      328       +3     
==========================================
+ Hits         1699     1712      +13     
- Misses        281      284       +3     
- Partials       36       37       +1     
Impacted Files Coverage Δ
src/mdio/converters/segy.py 76.28% <76.47%> (+0.03%) ⬆️

@tasansal tasansal changed the title Add QC for segy ingestion based on trace density. Add QC for SEG-Y ingestion based on trace density. Aug 7, 2023
@tasansal tasansal self-requested a review August 7, 2023 16:59
@tasansal tasansal added the enhancement New feature or request label Aug 7, 2023
@tasansal tasansal merged commit 8a5d3b4 into TGSAI:main Aug 7, 2023
9 checks passed
@markspec markspec deleted the 245-trace-density-error branch August 30, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants