GOM_NL__2P version 2

GOM_NL__2P_v2

root type

binary record
idfield namedefinition
0mph
ascii record "MPH"size: 1247
1sph
ascii record "GOM_NL__2P_SPH"size: 876
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 280
3nl_summary_quality
binary array[dim_0]
Summary Quality GADS

dim_0: $num_dsr[0]
binary record "GOM_NL__2P_GADS_summary_quality_v2"size: 153

available: $ds_available[0] != 0

bit offset: $ds_offset[0]
4nl_local_species_density
binary array[dim_0]
Local species density MDS

dim_0: $num_dsr[1]
binary record "GOM_NL__2P_MDSR_local_species_density_v2"size: 81

available: $ds_available[1] != 0

bit offset: $ds_offset[1]
5nl_tangent_line_density
binary array[dim_0]
Tangent line density of species MDS

dim_0: $num_dsr[2]
binary record "GOM_NL__2P_MDSR_tangent_line_density_v1"size: 81

available: $ds_available[2] != 0

bit offset: $ds_offset[2]
6nl_aerosols
binary array[dim_0]
Aerosols MDS

dim_0: $num_dsr[3]
binary record "GOM_NL__2P_MDSR_aerosols"size: 97

available: $ds_available[3] != 0

bit offset: $ds_offset[3]
7nl_high_res_temperature
binary array[dim_0]
High resolution temperature MDS

dim_0: $num_dsr[4]
binary record "GOM_NL__2P_MDSR_high_resolution_temperature"size: 253

available: $ds_available[4] != 0

bit offset: $ds_offset[4]
8nl_geolocation
binary array[dim_0]
Geolocation ADS

dim_0: $num_dsr[5]
binary record "GOM_NL__2P_ADSR_geolocation_v1"size: 94

available: $ds_available[5] != 0

bit offset: $ds_offset[5]
9nl_accuracy_estimation
binary array[dim_0]
Accuracy estimation ADS

dim_0: $num_dsr[6]
binary record "GOM_NL__2P_ADSR_accuracy_estimation"size: 671

available: $ds_available[6] != 0

bit offset: $ds_offset[6]

detection rule

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

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "GOM_NL__2P" and
bytes(/,95,23) == "PO-RS-MDA-GS-2009_3/K  "

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 7
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "NL_SUMMARY_QUALITY          ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "NL_LOCAL_SPECIES_DENSITY    ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "NL_TANGENT_LINE_DENSITY     ");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "NL_AEROSOLS                 ");
$ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "NL_HIGH_RES_TEMPERATURE     ");
$ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "NL_GEOLOCATION              ");
$ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "NL_ACCURACY_ESTIMATION      ")
ds_available[$num_ds]for i = 0 to $num_ds - 1 do
$ds_available[i] = if($ds_to_dsd_index[i] != -1 and !(bytes(/dsd[$ds_to_dsd_index[i]]/filename,8) == "NOT USED"), 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)