This definition is based on version 6.4 (V2L baseline) of the GOME-2 Level 1 Product Format Specification (PFS) document (EPS-MIS-SPE-97232) and version 6.4 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) == "1A" and bytes(/,3305,1) == "F" and bytes(/,1037,5) == " 4" and bytes(/,1075,5) == " 5" |
name | size | initialisation |
---|---|---|
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_dark | $num_viadr_dark = 1; $num_viadr_dark = unboundindex(/VIADR_Dark, int(./RECORD_HEADER/RECORD_CLASS) != 7 or int(./RECORD_HEADER/RECORD_SUBCLASS) != 1) | |
num_viadr_ppg | $num_viadr_ppg = 1; $num_viadr_ppg = unboundindex(/VIADR_PPG, int(./RECORD_HEADER/RECORD_CLASS) != 7 or int(./RECORD_HEADER/RECORD_SUBCLASS) != 2) | |
num_viadr_etalon | $num_viadr_etalon = 1; $num_viadr_etalon = unboundindex(/VIADR_Etalon, int(./RECORD_HEADER/RECORD_CLASS) != 7 or int(./RECORD_HEADER/RECORD_SUBCLASS) != 3) | |
num_viadr_spec | $num_viadr_spec = 1; $num_viadr_spec = unboundindex(/VIADR_Spec, int(./RECORD_HEADER/RECORD_CLASS) != 7 or int(./RECORD_HEADER/RECORD_SUBCLASS) != 4) | |
num_viadr_smr | $num_viadr_smr = 1; $num_viadr_smr = unboundindex(/VIADR_SMR, int(./RECORD_HEADER/RECORD_CLASS) != 7 or int(./RECORD_HEADER/RECORD_SUBCLASS) != 5) | |
num_mdr | $num_mdr = int(/MPHR/TOTAL_MDR) | |
rec_length | [10] | for i = 0 to 9 do $rec_length[i] = int(/GIADR_Bands/NUMBER_OF_PIXELS[i]) |
mdr_bit_size | [$num_mdr] | for i = 0 to $num_mdr - 1 do $mdr_bit_size[i] = bitsize(/mdr[i]) |