GOM_STS_AX version 1

GOM_STS_AX_v1

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
3sts_general
binary array[dim_0]
General GADS

dim_0: $num_dsr[0]
binary record "GOM_STS_AX_GADS_general"size: 2066

available: $ds_available[0] != 0

bit offset: $ds_offset[0]
4sts_annotation
binary array[dim_0]
Annotation GADS

dim_0: $num_dsr[1]
binary record "GOM_CAT_AX_GADS_annotation"size: 457

available: $ds_available[1] != 0

bit offset: $ds_offset[1]
5sts_star_information
binary array[dim_0]
Star information MDS

dim_0: $num_dsr[2]
binary record "GOM_CAT_AX_MDSR_star"size: 421

available: $ds_available[2] != 0

bit offset: $ds_offset[2]
6sts_star_spectrum
binary array[dim_0]
Star spectrum MDS

dim_0: $num_dsr[3]
binary record "GOM_STS_AX_MDSR_star_spectrum_v1"size: 24211

available: $ds_available[3] != 0

bit offset: $ds_offset[3]

detection rule

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

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

or

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

or

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_STS_AX" and
bytes(/,95,23) == "PO-RS-MDA-GS-2009_3/J  "

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 4
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "STS_GENERAL                 ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "STS_ANNOTATION              ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "STS_STAR_INFORMATION        ");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "STS_STAR_SPECTRUM           ")
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)