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

Greater Shot Ingestion Flexibility #211

Closed
markspec opened this issue May 11, 2023 · 1 comment · Fixed by #213
Closed

Greater Shot Ingestion Flexibility #211

markspec opened this issue May 11, 2023 · 1 comment · Fixed by #213
Labels
enhancement New feature or request

Comments

@markspec
Copy link
Contributor

Background

Initial work on shot ingestions flexibility was addressed in PR #180 and contains a detailed description of the problem.

Issue

Although #180 contains a solution it requires an a priori knowledge of the configuration of the headers to successfully ingest correctly.

Solution

Add an option to automatically detect files with structure similar to Type B and ingest with wrapped channels (Type A)

segy_to_mdio(  
    segy_path="prefix/shot_file.segy",  
    mdio_path_or_buffer="s3://bucket/shot_file.mdio",  
    index_bytes=(17, 137, 13),  
    index_lengths=(4, 2, 4),  
    index_names=("shot", "cable", "channel"),  
    chunksize=(8, 2, 128, 1024),  
    grid_overrides={"AutoChannelWrap": True},  
)
@srib srib added the enhancement New feature or request label May 12, 2023
@srib
Copy link
Contributor

srib commented May 12, 2023

Associated issue: #35

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 a pull request may close this issue.

2 participants