AUX_MET_12 version 1

AUX_MET_12_02_20

This definition is based on version 2.20 of IODD AE-IF-ECMWF-L2BP-0001

root type

binary record
ADM-Aeolus Auxiliary Meteorological Data

idfield namedefinition
0mph
ascii record "MPH_v2"size: 1247
1sph
ascii record "AUX_MET_SPH_02_20"size: 591
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 288
3geo_off_nadir
binary array[dim_0]
Geolocation & AOCS data (off-nadir, one DSR / profile)

dim_0: $num_dsr[0]
binary record "AUX_MET_GEOADS"size: 24
4geo_nadir
binary array[dim_0]
Geolocation & AOCS data (nadir, one DSR / profile)

dim_0: $num_dsr[1]
binary record "AUX_MET_GEOADS"size: 24
5met_off_nadir
binary array[dim_0]
Metereological data (off-nadir, for reprocessing etc, one DSR / profile)

dim_0: $num_dsr[2]
binary record "AUX_MET_METDS_02_30"
6met_nadir
binary array[dim_0]
Metereological data (nadir, one DSR / profile)

dim_0: $num_dsr[3]
binary record "AUX_MET_METDS_02_30"

detection rule

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

bytes(/,0,12) == "PRODUCT=\"AE_" and
bytes(/,17,10) == "AUX_MET_12" and
bytes(/,95,23) == "L2B/L2C IODD Iss. 02.20"

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 4
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "Geolocation_ADS1 off-nadir  ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "Geolocation_ADS2 nadir      ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "Meteorological DS1 off-nadir");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "Meteorological DS2 nadir    ")
ds_available[$num_ds]for i = 0 to $num_ds - 1 do
$ds_available[i] = if($ds_to_dsd_index[i] != -1 and int(/dsd[$ds_to_dsd_index[i]]/ds_size) != 0, 1, 0)
ds_offset[$num_ds]for i = 0 to $num_ds - 1 do
$ds_offset[i] = 8 * int(/dsd[$ds_to_dsd_index[i]]/ds_offset)
num_dsr[$num_ds]for i = 0 to $num_ds - 1 do
$num_dsr[i] = int(/dsd[$ds_to_dsd_index[i]]/num_dsr)