Lesson 7 SU Data IO. SEGY format  SEG-Y: Society of Exploration Geophysicists Y format  SEG publication: Digital Tape Standards  Part I: 40 lines of.

Slides:



Advertisements
Similar presentations
Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Advertisements

Lecture - 2 Number systems and computer data formats
SECTION 4a Transforming Data into Information.
2-1 Chapter 2 - Data Representation Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring Computer Architecture.
©1999 Addison Wesley Longman2.1 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits,
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Floating Point Numbers
What is an instruction set?
1 RISC Machines l RISC system »instruction –standard, fixed instruction format –single-cycle execution of most instructions –memory access is available.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
COMPUTER FUNDAMENTALS David Samuel Bhatti
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Agenda Data Representation Purpose Numbering Systems Binary, Octal, Hexadecimal (Hex) Numbering System Conversions Binary to Octal, Octal to Binary Binary.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
2-1 Chapter 2 - Data Representation Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Chapter Contents.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Machine Instruction Characteristics
1 Real-World File Structures by Tom Davis Asst. Professor, Computer Science St. Edward's University 3001 South Congress Avenue Austin, Texas 78704
Chapter 2 Computer Hardware
Fundamental of Computer Architecture By Panyayot Chaikan November 01, 2003.
Binary Arithmetic & Data representation
Digital Logic Lecture 4 Binary Codes The Hashemite University Computer Engineering Department.
Dr Mohamed Menacer College of Computer Science and Engineering Taibah University CS-334: Computer.
Should our academic community be more formal in honoring true SEGY? David Okaya Univ. Southern California IEEE OBS gather read in as IBM (A) Are we overly.
Floating Point. Agenda  History  Basic Terms  General representation of floating point  Constructing a simple floating point representation  Floating.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Computer Systems Architecture Copyright © Genetic Computer School 2008 CSA 1- 0 Lesson 1 Number System.
Matlab Training Session 10: Loading Binary Data Course Website: Training Sessions.htm.
1 Lecture 2  Complement  Floating Point Number  Character Encoding.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
CWP/SU:Seismic Un*x Past, Present, and Future EAGE Workshop: Open Source Software in E & P Vienna, 11 June 2006 J ohn Stockwell, Research Associate Center.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
Computer Architecture and Organization
ACOE2511 Assembly Language for the 80X86/Pentium Intel Microprocessors Lecturer: Dr. Konstantinos Tatas.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Computer Architecture EKT 422
Chapter 3 – Variables and Arithmetic Operations. Variable Rules u Must declare all variable names –List name and type u Keep length to 31 characters –Older.
New versions of SEG-D SEG Annual Meeting – New Orleans Tuesday Oct 20, 2015 Rune Hagelund, DAECO.
GEOL882.3 Seismic Processing Systems Objective Processing Systems SEGY and similar file formats General structure of several systems.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
MTEM data formats What data do we store. Outline Images of the MTEM dictionary – a dialect of the SEGY. Comments on data files.
SAC: An Overview SAC ( “Seismic Analysis Code” ) was originally developed by LLNL An interactive program for time-series data with emphasis placed on.
New versions of SEG-D SEG Annual Meeting – Denver Tuesday Oct 28, 2014 Rune Hagelund, DAECO.
DATA REPRESENTATION 4 Y. Colette Lemard February 2009.
Characters and Strings
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Instruction Sets: Characteristics and Functions  Software and Hardware interface Machine Instruction Characteristics Types of Operands Types of Operations.
Byte Addressability Bytes are always 8 bits Word length typically ranges from 16 to 64 bits. Memory location assignments refer to successive byte locations.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
SAC: An Overview SAC ( “Seismic Analysis Code” ) was originally developed by LLNL SAC ( “Seismic Analysis Code” ) was originally developed by LLNL An interactive.
The 51-year History and Evolution of the z/OS Operating System FROM OS360 TO Z/OS Mark Pickett Collabera.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
3.1 Denary, Binary and Hexadecimal Number Systems
Data Transfer ASCII FILES.
Computer Data Types Basics of Computing.
Dr. Clincy Professor of CS
Learning Intention I will learn how computers store text.
Real-World File Structures
Understanding Binary Numbers.
Computer Architecture CST 250
Presentation transcript:

Lesson 7 SU Data IO

SEGY format  SEG-Y: Society of Exploration Geophysicists Y format  SEG publication: Digital Tape Standards  Part I: 40 lines of text with 80 characters per line (3200 byte EBCDIC, Extended Binary Coded Decimal Interchange Code)  Part II: Binary header containing information about the tape reel (400 bytes)  Part III: Actual seismic traces, each trace has 240 bytes trace header, followed by the trace data, which are in IBM floating point format (NOT IEEE format).

SU format  SU data consist of SEGY traces only.  SEGY ebcdic and binary headers are not preserved.  Applying SU commands to SEGY data will not work.

Read SEGY and Convert to SU  segyread tape=data.sgy verbose=1 endian=0 | segyclean > data1.su  DO NOT put spaces around “=” !!!  You can put spaces around “|”, “>”, etc.  Little-endian.vs. big-endian  Well-known processor architectures that use the little-endian format: x86 (including x86-64)  Well-known processors that use the big-endian format include: IBM POWER  segyclean: zero out the optional trace header fields.  One common variation of SEGY format is to store the trace data in IEEE instead of IBM format. In this case, use the “conv=0” option (segyread tape=data.sgy verbose=1 endian=0 conv=0 | segyclean > data1.su)

Convert SU to SEGY  Prepare the SEGY EBCDIC header and binary hearder  segyhdrs < data.su  Generates two files: “binary” and “header”  How to read the EBCDIC header?  How to read the binary header?  bhedtopar outpar=binary.par < binary  What are the meanings of the header’s different fields?  sukeyword jobid  segywrite tape=data.sgy verbose=1 bfile=binary hfile=header endian=0 < data.su

SU Header Manipulation  How to strip SU header?  sustrip head=data1.headers data1.bin  To look at the content of data1.bin, use “b2a data1.asc”  How to add SU header to a binary file?  suaddhead ns=2000 data2.su  supaste ns=2000 head=data1.headers data3.su

SU Header Manipulation  How to get the range of the header values?  surange < data.su  How to get the values of header words?  sugethwkey=tracl,tracr,offset,dt,ns < data.su | more  How to set the header words?  sushw key=dt a=2000 data2.out.su  How to edit header words?  suedit data.su