This definition is based on version 9 of the GOME-2 Level 1 Product Format Specification (PFS) document (EPS-MIS-SPE-97232) and version 7D of the EPS Generic Product Format Specification (GPFS) document (EPS-GGS-SPE-096167).
binary record | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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) == " 12" and bytes(/,1075,5) == " 0" |
name | size | initialisation |
---|---|---|
num_ipr | $num_ipr = int(/MPHR/TOTAL_IPR) | |
num_geadr | $num_geadr = int(/MPHR/TOTAL_GEADR) | |
num_giadr_channels | $num_giadr_channels = unboundindex(/GIADR_Channels, int(./RECORD_HEADER/RECORD_SUBCLASS) != 4) | |
num_giadr_bands | $num_giadr_bands = unboundindex(/GIADR_Bands, int(./RECORD_HEADER/RECORD_SUBCLASS) != 5) | |
num_giadr_steps | $num_giadr_steps = unboundindex(/GIADR_Steps, int(./RECORD_HEADER/RECORD_SUBCLASS) != 6) | |
num_giadr_pmdbanddef | $num_giadr_pmdbanddef = unboundindex(/GIADR_PMDBandDef, int(./RECORD_HEADER/RECORD_SUBCLASS) != 7) | |
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]) |