SCI_FM2_AX version 0

SCI_FM2_AX

root type

binary record
idfield namedefinition
0mph
ascii record "MPH"size: 1247
1sph
ascii record "Auxiliary_Data_SPH"size: 98
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 280
3fm_gome_cs_o3
binary array[dim_0]
GOME O3 Reference Spectra GADS

dim_0: $num_dsr[0]
binary record "SCI_FM2_AX_GADS_o3"

available: $ds_available[0] != 0

bit offset: $ds_offset[0]
4fm_gome_cs_no2
binary array[dim_0]
GOME NO2 Reference Spectra GADS

dim_0: $num_dsr[1]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[1] != 0

bit offset: $ds_offset[1]
5fm_gome_ring
binary array[dim_0]
GOME Theoretical Ring Reference Spectra GADS

dim_0: $num_dsr[2]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[2] != 0

bit offset: $ds_offset[2]
6fm_scia_cs_o3
binary array[dim_0]
Sciamachy O3 Reference Spectra GADS

dim_0: $num_dsr[3]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[3] != 0

bit offset: $ds_offset[3]
7fm_scia_cs_no2
binary array[dim_0]
Sciamachy NO2 Reference Spectra GADS

dim_0: $num_dsr[4]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[4] != 0

bit offset: $ds_offset[4]
8fm_scia_cs_bro
binary array[dim_0]
Sciamachy BrO Reference Spectra GADS

dim_0: $num_dsr[5]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[5] != 0

bit offset: $ds_offset[5]
9fm_scia_cs_so2
binary array[dim_0]
Sciamachy SO2 Reference Spectra GADS

dim_0: $num_dsr[6]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[6] != 0

bit offset: $ds_offset[6]
10fm_scia_cs_hcho
binary array[dim_0]
Sciamachy HCHO Reference Spectra GADS

dim_0: $num_dsr[7]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[7] != 0

bit offset: $ds_offset[7]
11fm_scia_cs_oclo
binary array[dim_0]
Sciamachy OClO Reference Spectra GADS

dim_0: $num_dsr[8]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[8] != 0

bit offset: $ds_offset[8]
12fm_scia_cs_no
binary array[dim_0]
Sciamachy NO Reference Spectra GADS

dim_0: $num_dsr[9]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[9] != 0

bit offset: $ds_offset[9]
13fm_scia_cs_o2
binary array[dim_0]
Sciamachy O2 Reference Spectra GADS

dim_0: $num_dsr[10]
binary record "SCI_CS2_BL2_FM2_UC2_AX_GADS"

available: $ds_available[10] != 0

bit offset: $ds_offset[10]

detection rule

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

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "SCI_FM2_AX"

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 11
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "FM_GOME_CS_O3               ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "FM_GOME_CS_NO2              ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "FM_GOME_RING                ");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_O3               ");
$ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_NO2              ");
$ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_BRO              ");
$ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_SO2              ");
$ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_HCHO             ");
$ds_to_dsd_index[8] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_OCLO             ");
$ds_to_dsd_index[9] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_NO               ");
$ds_to_dsd_index[10] = index(/dsd, str(./ds_name) == "FM_SCIA_CS_O2               ")
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)