4. DATA SET FILE FORMAT DEFINITION

TABLE 4.1 SAR DATA FILE - FILE DESCRIPTOR RECORD (FIXED SEGMENT)

FIELD  BYTES    FORMAT  DESCRIPTION                                               CONTENT      

1      1-4      B4      Record sequence number                                        (1)
2      5        Bl      1-st record sub-type code                                    (63)
3      6        Bl      Record type code                                            (192)
4      7        Bl      2-nd record sub-type code                                    (18)
5      8        Bl      3-rd record sub-type code                                    (18)
6      9-12     B4      Length of this record                                     (16012)   
7      13-14    A2      ASCII/EBCDIC flag                                              A$ 
8      15-16    A2      blanks                                                         $$   
9      17-28    A12     Format control document ID for this data file format CEOS-SAR-CCT 
10     29-30    A2      Format control document revision level                         $B 
11     31-32    A2      File design descriptor revision letter                         $B
12     33-44    A12     Generating software release and revision level           <......>  
13     45-48    I4      File number                                                  $$$2
14     49-64    A16     File name                                        ERS1.SAR.PRIIMGY  
15     65-68    A4      Record sequence and location type flag                       FSEQ 
16     69-76    I8      Sequence number location                                 $$$$$$$1
17     77-80    I4      Sequence number field length                                 $$$4  
18     81-84    A4      Record code and location type flag                           FTYP 
19     85-92    I8      Record code location                                     $$$$$$$5
20     93-96    I4      Record code field length                                     $$$4 
21     97-100   A4      Record length and location type flag                         FLGT 
22     101-108  I8      Record length location                                   $$$$$$$9 
23     109-112  I4      Record length field length                                   $$$4 
24     113      Al      Reserved                                                 <$....$>  
25     114      Al      Reserved                                                 <$....$>
26     115      Al      Reserved                                                 <$....$> 
27     116      Al      Reserved                                                 <$....$>  
28     117-180  A64     Reserved segment                                         <$....$> 

TABLE 4.2 SAR DATA IMAGERY OPTIONS FILE FILE DESCRIPTOR RECORD VARIABLE SEGMENT

FIELD  BYTES    FORMAT  DESCRIPTION                                               CONTENT                                      
                                                                      

29     181-186  I6      Number of SAR DATA records  (nominal)                      $$8200
30     187-192  I6      SAR DATA record length (bytes)                             $16012
31     193-216  A24     Reserved (blanks)                                        <$....$>                                        
                                                      

                        SAMPLE GROUP DATA                                                    

32     217-220  I4      Number of bits per sample                                    $$16
33     221-224  I4      Number of samples per data group  (or pixels)                $$$1 
34     225-228  I4      Number of bytes per data group (or pixel)                    $$$1
35     229-232  A4      Justification and order of samples within data group         

                        SAR RELATED DATA IN THE RECORD            
                                                                 
36     233-236  I4      Number of SAR channels in this file                          $$$1
37     237-244  I8      Number of lines per data set   (nominal)                 $$$$8200 
38     245-248  I4      Number of left border pixels per line                        $$$0
39     249-256  I8      Total number of data groups per line per SAR channel     $$$$8000 
40     257-260  I4      Number of right border pixels per line                       $$$0 
41     261-264  I4      Number of top border lines                                   $$$0 
42     265-268  I4      Number of bottom border lines                                $$$0 
43     269-272  A4      Interleaving indicator                                       BSQ$ 
                                                                                            
                        RECORD DATA IN THE FILE                                              
                                                                                             
44     273-274  I2      Number of physical records per line                            $1
45     275-276  I2      Number of physical records per multi-channel line              $$ 
46     277-280  I4      Number of bytes of prefix data per record                    $$$0
47     281-288  I8      Number of bytes of SAR data (or pixel data) per record   $$$16000
                        (nominal)            
48     289-292  I4      Number of bytes of suffix data per record                    $$$0
49-55  293-340  A48     reserved                                                 <$....$>
56     341-368  A28     blanks                                                   <$....$>
57-60  369-400  A32     reserved                                                 <$....$> 
61     401-428  A28     SAR Data format type identifier              UNSIGNED$INTEGER$..$ 
62     429-432  A4      SAR Data format type code                                    UI2$
63     433-436  I4      Number of left fill bits within pixel                        $$$0 
64     437-440  I4      Number of right fill bits within pixel                       $$$0 
65     441-448  I8      Maximum data range of pixel                              $$$65535 
66     449-EOR  A15564  spare                                                    <$....$>

TABLE 5.1 IMAGERY OPTIONS FILE - PROCESSED DATA RECORD

FIELD  BYTES       FORMAT  DESCRIPTION                                  CONTENT   
                                                                               
1      1-4         B4      Record sequence number                       (n)       
2      5           Bl      1-st record sub-type code                    (50)        
3      6           Bl      Record type code                             (11)        
4      7           Bl      2-nd record sub-type code                    (31)        
5      8           Bl      3-rd record sub-type code                    (20)        
6      9-12        B4      Length of this record     (nominal)          (16012)   
7      13-14       B2      first sample of image line                   (n)       
8      15-16       B2      second sample of image line                  (n)       
.      .....    ..      ............................                 ..........
 
5006   16011-16012 B2      last sample of image line                    (n)