Find the answer to your Linux question:
Results 1 to 2 of 2
I have some files which I need for input.So from od -h fd01.picks: 0000000 0000 1800 4040 0000 0000 0000 003f 0000 0000020 0000 0000 cc3c cdcc ffff ffff 0000 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    44

    reading binary file:od -h output


    I have some files which I need for input.So from od -h fd01.picks:
    0000000 0000 1800 4040 0000 0000 0000 003f 0000
    0000020 0000 0000 cc3c cdcc ffff ffff 0000 1800
    0000040 0000 1800 803f 0000 0000 0000 233c 0ad7
    0000060 e23e 0610 cc3c cdcc 0000 0100 0000 1800
    0000100 0000 1800 0040 0000 0000 0000 233c 0ad7
    0000120 6b3e 6112 cc3c cdcc 0000 0100 0000 1800
    0000140 0000 1800 6040 0000 0000 0000 233c 0ad7
    0000160 2f3e 1393 cc3c cdcc 0000 0100 0000 1800
    0000200 0000 1800 9040 0000 0000 0000 233c 0ad7
    0000220 aa3e 2e34 cc3c cdcc 0000 0100 0000 1800
    0000240 0000 1800 b040 0000 0000 0000 233c 0ad7
    0000260 f73e 2645 cc3c cdcc 0000 0100 0000 1800
    0000300 0000 1800 d040 0000 0000 0000 233c 0ad7
    How do I interpret this?
    Is it int*2,or real*4?
    What is the record length?
    Any links for this?

  2. #2
    Just Joined!
    Join Date
    Jul 2008
    Posts
    93
    It is what it is, determined by the program that wrote the files. In the absence of further information all that anyone could do is guess.

    Do you know anything more about the data? There are some patterns to it, such as the 233c 0ad7 every 16 words after the first 16, and also cc3c cdcc every 16 words.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •