HK_BAOCS1A version 1

HK_BAOCS1A_v1

This definition is based on version 3.7 of the Level 1a Product Definition SW-ID-GMV-GS-0003 amended by SW-PDGSE-60 and SW-PDGSE-116

root type

binary record
idfield namedefinition
0MDR_MAG_HK
binary array[dim_0]
dim_0: $num_dsr1
binary record "MDR_MAG_HK"size: 56
1MDR_THRU_HK
binary array[dim_0]
dim_0: $num_dsr2
binary record "MDR_THRU_HK_v1"size: 88
2MDR_PROP_HK
binary array[dim_0]
dim_0: $num_dsr3
binary record "MDR_PROP_HK"size: 68
3MDR_ASMINFO_HK
binary array[dim_0]
dim_0: $num_dsr4
binary record "MDR_ASMINFO_HK"size: 18

detection rule

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

substr(0, 3, filename()) == "SW_" and
substr(8, 10, filename()) == "HK_BAOCS1A" and
substr(51, 2, filename()) == "04"

or

substr(0, 3, filename()) == "SW_" and
substr(8, 10, filename()) == "HK_BAOCS1A" and
substr(51, 2, filename()) == "05"

or

substr(0, 3, filename()) == "SW_" and
substr(8, 10, filename()) == "HK_BAOCS1A" and
substr(51, 2, filename()) == "06"

or

substr(0, 3, filename()) == "SW_" and
substr(8, 10, filename()) == "HK_BAOCS1A" and
substr(51, 2, filename()) == "07"

product variables

namesizeinitialisation
num_dsr1$num_dsr1 = unboundindex(/MDR_MAG_HK, byteoffset(.) + 2 >= filesize() or int(./MDR_ID) != 801)
num_dsr2$num_dsr2 = unboundindex(/MDR_THRU_HK, byteoffset(.) + 2 >= filesize() or int(./MDR_ID) != 802)
num_dsr3$num_dsr3 = unboundindex(/MDR_PROP_HK, byteoffset(.) + 2 >= filesize() or int(./MDR_ID) != 803)
num_dsr4$num_dsr4 = unboundindex(/MDR_ASMINFO_HK, byteoffset(.) + 2 >= filesize() or int(./MDR_ID) != 804)