Skip to content

Incorrect result in get_seismic_cube_meta_list end-point #962

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

Open
jorgenherje opened this issue May 7, 2025 · 0 comments
Open

Incorrect result in get_seismic_cube_meta_list end-point #962

jorgenherje opened this issue May 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jorgenherje
Copy link
Collaborator

The end-point get_seismic_cube_meta_list gives inconsistent result. For some reason the end-point provides correct number of objects, but some attributes are missing and others are duplicated.

Testing 3 fetches with Drogon gave following results:

Expected Drogon: 
{
    'amplitude_depth': 3,
    'amplitude_far_2x_depth': 1, 
    'amplitude_far_2x_time': 1,
    'amplitude_far_depth': 1,
    'amplitude_far_time': 1,
    'amplitude_near_2x_depth': 1, 
    'amplitude_near_2x_time': 1,
    'amplitude_near_depth': 1, 
    'amplitude_near_time': 1, 
    'relai_depth': 3
}

Drogon Seismic attributes:
[
    run1: {
        'amplitude_depth': 4,
        'amplitude_far_2x_depth': 1, 
        'amplitude_far_time': 2,
        'amplitude_near_2x_depth': 1, 
        'amplitude_near_2x_time': 1,
        'amplitude_near_depth': 1, 
        'amplitude_near_time': 1, 
        'relai_depth': 3
    },
    run2: {
        'amplitude_depth': 5, 
        'amplitude_far_depth': 1,
        'amplitude_far_time': 2, 
        'amplitude_near_2x_time': 1, 
        'amplitude_near_depth': 2,
        'amplitude_near_time': 1,
        'relai_depth': 2
    },
    run3: {
        'amplitude_depth': 3, 
        'amplitude_far_2x_time': 1,
        'amplitude_far_depth': 2, 
        'amplitude_far_time': 3, 
        'amplitude_near_2x_time': 1,
        'amplitude_near_depth': 1,
        'amplitude_near_time': 1, 
        'relai_depth': 2
    },
]
@jorgenherje jorgenherje added the bug Something isn't working label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant