GOM_TRA_1P version 0

GOM_TRA_1P_v0

root type

binary record
idfield namedefinition
0mph
ascii record "MPH"size: 1247
1sph
ascii record "GOM_TRA_LIM_1P_SPH"size: 696
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 280
3tra_summary_quality
binary array[dim_0]
Summary Quality GADS

dim_0: $num_dsr[0]
binary record "GOM_TRA_LIM_1P_GADS_summary_quality_v0"size: 110

available: $ds_available[0] != 0

bit offset: $ds_offset[0]
4tra_occultation_data
binary array[dim_0]
Occultation GADS

dim_0: $num_dsr[1]
binary record "GOM_TRA_1P_GADS_occultation_data_v0"size: 622

available: $ds_available[1] != 0

bit offset: $ds_offset[1]
5tra_nom_wav_assignment
binary array[dim_0]
Nominal wavelength GADS

dim_0: $num_dsr[2]
binary record "GOM_TRA_LIM_1P_GADS_nominal_wavelength_assignment"size: 9408

available: $ds_available[2] != 0

bit offset: $ds_offset[2]
6tra_ref_star_spectrum
binary array[dim_0]
Reference star spectrum GADS

dim_0: $num_dsr[3]
binary record "GOM_TRA_1P_GADS_reference_star_spectrum_v0"size: 9409

available: $ds_available[3] != 0

bit offset: $ds_offset[3]
7tra_ref_atm_dens_profile
binary array[dim_0]
Reference atmospheric profile

dim_0: $num_dsr[4]
binary record "GOM_TRA_1P_GADS_reference_atm_density_profile_v0"size: 419

available: $ds_available[4] != 0

bit offset: $ds_offset[4]
8tra_transmission
binary array[dim_0]
Transmissions MDS

dim_0: $num_dsr[5]
binary record "GOM_TRA_1P_MDSR_transmission_v0"size: 36985

available: $ds_available[5] != 0

bit offset: $ds_offset[5]
9tra_satu_and_sfa_data
binary array[dim_0]
SATU Data and SFA angles MDS

dim_0: $num_dsr[6]
binary record "GOM_TRA_1P_MDSR_satu_data_and_sfa_angles_v0"size: 251

available: $ds_available[6] != 0

bit offset: $ds_offset[6]
10tra_auxiliary_data
binary array[dim_0]
Auxiliary Data ADS

dim_0: $num_dsr[7]
binary record "GOM_TRA_1P_ADSR_auxiliary_data_v0"size: 4813

available: $ds_available[7] != 0

bit offset: $ds_offset[7]
11tra_geolocation
binary array[dim_0]
Geolocation ADS

dim_0: $num_dsr[8]
binary record "GOM_TRA_1P_ADSR_geolocation_v0"size: 2601

available: $ds_available[8] != 0

bit offset: $ds_offset[8]

detection rule

This product definition is applicable if a product matches the following rule:

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_TRA_1P" and
bytes(/,95,21) == "AA-BB-CCC-DD-EEEE_V/I"

or

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_TRA_1P" and
bytes(/,95,21) == "PO-RS-ACR-GS-0003_5/1"

or

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_TRA_1P" and
bytes(/,95,21) == "PO-RS-MDA-GS-2009_3/C"

or

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_TRA_1P" and
bytes(/,95,22) == "PO-RS-MDA-GS2009_10_3G"

or

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_TRA_1P" and
bytes(/,95,22) == "PO-RS-MDA-GS2009_10_3H"

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 9
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "TRA_SUMMARY_QUALITY         ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "TRA_OCCULTATION_DATA        ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "TRA_NOM_WAV_ASSIGNMENT      ");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "TRA_REF_STAR_SPECTRUM       ");
$ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "TRA_REF_ATM_DENS_PROFILE    ");
$ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "TRA_TRANSMISSION            ");
$ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "TRA_SATU_AND_SFA_DATA       ");
$ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "TRA_AUXILIARY_DATA          ");
$ds_to_dsd_index[8] = index(/dsd, str(./ds_name) == "TRA_GEOLOCATION             ")
ds_available[$num_ds]for i = 0 to $num_ds - 1 do
$ds_available[i] = if($ds_to_dsd_index[i] != -1 and !(bytes(/dsd[$ds_to_dsd_index[i]]/filename,8) == "NOT USED"), 1, 0)
ds_offset[$num_ds]for i = 0 to $num_ds - 1 do
$ds_offset[i] = 8 * int(/dsd[$ds_to_dsd_index[i]]/ds_offset)
num_dsr[$num_ds]for i = 0 to $num_ds - 1 do
$num_dsr[i] = int(/dsd[$ds_to_dsd_index[i]]/num_dsr)