GOM.LVL13_EXTRACTED version 2

GOME_L1_EXTRACTED_v2

root type

ascii record
idfield namedefinition
0gsi
ascii record "GSI1_v2"
1pir
ascii record "PIR"size: 38

available: $pir_available != 0
2ls1
ascii string [line separator]

hidden: true

available: $pir_available != 0
3ersi
ascii record "ERSI"

available: $ersi_available != 0
4sfs
ascii record "SFS"

available: $sfs_cdr_available != 0
5cdr
ascii array[4]
Channel Data Records
ascii record "CDR"

available: $sfs_cdr_available != 0
6efs
ascii record "EFS"

available: $efs_egp_available != 0
7egp
ascii array[dim_0]
Earthshine Ground Pixels

dim_0: $num_egp
ascii record "EGP_v2"

available: $efs_egp_available != 0
8smfs
ascii record "SMFS"

available: $smfs_smmd_available != 0
9smmd
ascii array[dim_0]
Sun/Moon Measurement Data

dim_0: $num_smmd
ascii record "SMMD"

available: $smfs_smmd_available != 0

detection rule

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

bytes(/,0,2) == "/*" and
regex(" GDP Level 0-to-1 Extracting", bytes(/,1024)) and
regex("\\* Product Format Version 2 \\*", bytes(/,1024))

product variables

namesizeinitialisation
pir_available$pir_available = 1;
$pir_available = if(bytes(/pir,5) == "E2GOM", 1, 0)
ersi_available$ersi_available = 1;
$ersi_available = if(bytes(/ersi,15) == "ERS Information", 1, 0)
sfs_cdr_available$sfs_cdr_available = 1;
$sfs_cdr_available = if(bytes(/sfs,14) == "Solar Spectrum", 1, 0)
efs_egp_available$efs_egp_available = 1;
$efs_egp_available = if(bytes(/efs,19) == "Earthshine Spectrum", 1, 0)
smfs_smmd_available$smfs_smmd_available = 1;
$smfs_smmd_available = if(bytes(/efs,17) == "Sunshine Spectrum" or bytes(/efs,18) == "Moonshine Spectrum", 1, 0)
num_egp$num_egp = int(/efs/num_ground)
num_smmd$num_smmd = int(/smfs/num_measurements)
egp_pdr_available$egp_pdr_available = 1;
$egp_pdr_available = if(bytes(/egp[0]/pdr,3) == "PMD", 1, 0)