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

Do not even try to upload sesimic data that does not have data.vertical_domain #106

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

rwiker
Copy link
Collaborator

@rwiker rwiker commented Nov 22, 2024

Seismic data (seismic cubes) are converted into OpenVDS format and uploaded into a dedicated storage account. The conversion process needs information about the data; specifically, the value of data.vertical_domain should be either depth or time, and the sample_unit parameter of the conversion command is then accordingly set to either m (metres) or ms (milliseconds).

If data.vertical_domain is missing (or set to something other than depth or time) we cannot perform the conversion into OpenVDS, and we do not try to upload the object.

Copy link
Member

@perolavsvendsen perolavsvendsen left a comment

Choose a reason for hiding this comment

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

Some comments, also: Put some information in the PR about why we do this and what it solves (for posterity)?

@rwiker rwiker force-pushed the feature/extra-validation-for-cubes branch from b6ef9b5 to 4d5ad5c Compare November 22, 2024 12:15
Copy link
Contributor

@equinor-ruaj equinor-ruaj left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@perolavsvendsen perolavsvendsen left a comment

Choose a reason for hiding this comment

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

👌

@rwiker rwiker merged commit 66a9f9b into main Nov 25, 2024
6 checks passed
@rwiker rwiker deleted the feature/extra-validation-for-cubes branch November 25, 2024 06:56
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