binary record | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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,21) == "AA-BB-CCC-DD-EEEE_V/I" or bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "GOM_NL__2P" and bytes(/,95,21) == "PO-RS-ACR-GS-0003_5/1" or bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "GOM_NL__2P" and bytes(/,95,21) == "PO-RS-MDA-GS-2009_3/C" or bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "GOM_NL__2P" and bytes(/,95,22) == "PO-RS-MDA-GS2009_10_3G" or bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "GOM_NL__2P" and bytes(/,95,22) == "PO-RS-MDA-GS2009_10_3H" |
name | size | initialisation |
---|---|---|
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_TURBULENCE "); $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) |