AUX_OWV_1B version 6

AUX_OWV_1B_04_12

This definition is based on version 4/12 of IODD ADM-IC-52-1666

root type

binary record "Level_1B_Product_04_12"
Level 1B Wind Measurement Product

idfield namedefinition
0mph
ascii record "MPH_v3"size: 1247
1sph
ascii record "Level_1B_SPH_04_03"size: 1706
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 288
3geolocation
binary array[dim_0]
Geolocation ADS

dim_0: $num_dsr[0]
binary record "Level_1B_Geolocation_ADSR_04_09"

available: $ds_available[0] != 0

bit offset: $ds_offset[0]
4product_confidence_data
binary array[dim_0]
Product Confidence Data ADS

dim_0: $num_dsr[1]
binary record "Level_1B_Product_Confidence_Data_ADSR_04_12"

available: $ds_available[1] != 0

bit offset: $ds_offset[1]
5ground_wind_detection
binary array[dim_0]
Ground Wind Correction ADS

dim_0: $num_dsr[2]
binary record "Level_1B_Ground_Wind_Detection_ADSR_04_09"

available: $ds_available[2] != 0

bit offset: $ds_offset[2]
6measurement
binary array[dim_0]
Measurement ADS

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

available: $ds_available[3] != 0

bit offset: $ds_offset[3]
7mie_core_params
binary array[dim_0]
Mie core parameters ADS

dim_0: $num_dsr[4]
binary record "Level_1B_Mie_Core_Params_ADSR_04_08"size: 191

available: $ds_available[4] != 0

bit offset: $ds_offset[4]
8calibration_characterization_data
binary array[dim_0]
Calibration Characterization Data ADS

dim_0: $num_dsr[5]
binary record "Level_1B_Calibration_Characterization_Data_GADSR_04_12"

available: $ds_available[5] != 0

bit offset: $ds_offset[5]
9useful_signal
binary array[dim_0]
Useful Signal MDS

dim_0: $num_dsr[6]
binary record "Level_1B_Useful_Signal_MDSR"

available: $ds_available[6] != 0

bit offset: $ds_offset[6]
10wind_velocity
binary array[dim_0]
Wind Velocity MDS

dim_0: $num_dsr[7]
binary record "Level_1B_Wind_Velocity_MDSR_04_11"

available: $ds_available[7] != 0

bit offset: $ds_offset[7]

detection rule

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

bytes(/,0,12) == "PRODUCT=\"AE_" and
bytes(/,17,10) == "AUX_OWV_1B" and
bytes(/,95,23) == "521666_IODD_4_12       "

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 8
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "Geolocation_ADS             ");
$ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "Product_Confidence_Data_ADS ");
$ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "Ground_Wind_Detection_ADS   ");
$ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "Measurement_ADS             ");
$ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "Mie_Core_Params_GADS        ");
$ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "Calibration_Char_GADS       ");
$ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "Useful_Signal_MDS           ");
$ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "Wind_Velocity_MDS           ")
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)