ANSI-C program: RSAT_raw.c
NAME
  RSAT_raw - Generates MSP sensor parameter and processing
  parameter files for Radarsat StripMap mode SAR data. This program
  also reformats the raw SAR signal data to be compatible with the
  MSP. This program may also be used to concatenate multiple raw
  data frames.
SYNOPSISRSAT_raw
  <CEOS_leader> <SAR_param> <PROC_param>
  <raw_data_files> <raw_out>
| <CEOS_leader> | (input) CEOS leader file for RADARSAT data provided by CCRS | 
| <SAR_param> | (output) MSP SAR Sensor Parameter File | 
| <PROC_param> | (output) MSP Processing Parameter File | 
| <raw_data_files> | (input) Radarsat raw data file(s) to condition and concatenate | 
| <raw_out> | (output) Radarsat conditioned raw output data file | 
EXAMPLE
  RSAT_raw Bogota.lea RSAT.par pBogota.slc.par Bogota.raw
  Bogota.fix
DESCRIPTION
  RSAT_raw reads the RADARSAT raw data file(s) in CEOS format. Each
  record contains information on the spacecraft radar parameters
  for that line. These parameters are used to determine values for
  the Sensor Parameter file (usually called RSAT.par). This dffers
  from the approach with ERS and JERS because of the numerous
  Radarsat Modes including standard beam, fine beam and wide beam
  StripMap modes. For ERS and JERS there are a set of existing
  sensor parameter files in the $MSP_HOME/sensors directory.
The file header information is also used to generate the MSP Processing Parameter File. State vectors contained in the CEOS leader record are converted to earth fixed coordinates and used for geolocation of the final products. Other parameters such as the starting slant range, date, and timing information are extracted from the CEOS leader. The program also reformats the Radarsat raw data samples from two's complement binary to offset binary to be compatible with the rest of the MSP processing algorithms. The echo data records are range aligned since different records have different lengths in the raw data depending if a chirp replica has been included or not. A new replica, inserted every 8 lines during StripMap mode operation, is removed by RSAT_raw.
Multiple raw data frames may be concatenated into one large strip. The limit for the maximum length is determined by the maximum file size supported by the operating system. Given the nominal size of Radarsat data frames, the upper limit is approximately 7 frames.SEE ALSO
Users Guide, typedef_MSP.h, SAR Sensor Parameter File, MSP Processing Parameter File, SAR raw data
  (<orbit>.raw).
© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2003.
  UW, CW, last change 23-Apr-2003.