Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Error handling, warnings, flagging, etc. #30

Open
EvanBianco opened this issue Jul 11, 2016 · 1 comment
Open

Error handling, warnings, flagging, etc. #30

EvanBianco opened this issue Jul 11, 2016 · 1 comment

Comments

@EvanBianco
Copy link
Collaborator

Have ways of smart handling of inconsistent information:

potential things to watch for / flag:

  • Header information missing
  • Header information in wrong locations
  • coordinate conversion scale factor does not match integer in x and y coordinates...
  • reported sample rate or record length does not match actual, etc.
@EvanBianco
Copy link
Collaborator Author

Write tests to check for equivalency and consistency between meta-data in the trace header fields and (where appropriate) for other meta data in the file.

  • For instance, source and geophone coordinates should be the same for stacked 3D data.
  • Tests for geographical sensibility (off by a factor of 10 in coordinate scale conversion)
  • Test that number of samples matches the value stated in the header.
  • Throw warnings if CDP number, trace seq number, shotpoint number, etc., are not in their standard byte locations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant