GOME_xxx_1B version 5

GOME_xxx_1B_v5

This definition is based on version 7.0 of the GOME-2 Level 1 Product Format Specification (PFS) document (EPS-MIS-SPE-97232) and versions 6.4/6.5 of the EPS Generic Product Format Specification (GPFS) document (EPS-GGS-SPE-096167).

root type

binary record
idfield namedefinition
0MPHR
binary record "MPHR_v2"size: 3307
1SPHR
binary record "GOME2_SPHR_v2"size: 3654
2IPR
binary array[dim_0]
dim_0: $num_ipr
binary record "IPR"size: 27
3GEADR
binary array[dim_0]
dim_0: $num_geadr
binary record "GEADR"size: 120

available: $num_geadr > 0
4GIADR_Channels
binary record "GOME2_GIADR_L1_Channels_v2"size: 98
5GIADR_Bands
binary record "GOME2_GIADR_L1B_Bands_v2"size: 160
6GIADR_Steps
binary record "GOME2_GIADR_L1B_Steps"size: 620
7VEADR
binary array[dim_0]
dim_0: $num_veadr
binary record "VEADR"size: 120

available: $num_veadr > 0
8VIADR_SMR
binary array[dim_0]
dim_0: $num_viadr_smr
binary record "GOME2_VIADR_L1_SMR_v1"size: 116779
9MDR
binary array[dim_0]
dim_0: $num_mdr
binary union "GOME2_MDR_L1B_v3"

detection rule

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

bytes(/,0,8) == "\001\000\000\002\000\000\f\353" and
bytes(/,20,32) == "PRODUCT_NAME                  = " and
bytes(/,552,4) == "GOME" and
bytes(/,661,2) == "1B" and
bytes(/,3305,1) == "F" and
bytes(/,1037,5) == "    5" and
bytes(/,1075,5) == "    0"

or

bytes(/,0,8) == "\001\000\000\002\000\000\f\353" and
bytes(/,20,32) == "PRODUCT_NAME                  = " and
bytes(/,552,4) == "GOME" and
bytes(/,661,2) == "1B" and
bytes(/,3305,1) == "F" and
bytes(/,1037,5) == "    6" and
bytes(/,1075,5) == "    0"

product variables

namesizeinitialisation
num_ipr$num_ipr = int(/MPHR/TOTAL_IPR)
num_geadr$num_geadr = int(/MPHR/TOTAL_GEADR)
num_veadr$num_veadr = int(/MPHR/TOTAL_VEADR)
num_viadr_smr$num_viadr_smr = int(/MPHR/TOTAL_VIADR)
num_mdr$num_mdr = int(/MPHR/TOTAL_MDR)
mdr_bit_size[$num_mdr]for i = 0 to $num_mdr - 1 do
$mdr_bit_size[i] = bitsize(/mdr[i])