This definition is based on version 3.14 of IODD AED-SD-DoRIT-L2A-025
binary record | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Level 2A Product
|
This product definition is applicable if a product matches the following rule:
bytes(/,0,12) == "PRODUCT=\"AE_" and bytes(/,17,10) == "ALD_U_N_2A" and bytes(/,95,23) == "SD-DoRIT-L2A-025 03.14" |
name | size | initialisation |
---|---|---|
num_dsd | $num_dsd = int(/mph/num_dsd) | |
num_ds | $num_ds = 17 | |
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) == "Meas_PCD_ADS "); $ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "SCA_PCD_ADS "); $ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "SCA_MLE_PCD_ADS "); $ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "AEL_PRO_PCD_ADS "); $ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "MCA_PCD_ADS "); $ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "AMD_PCD_ADS "); $ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "Group_PCD_ADS "); $ds_to_dsd_index[8] = index(/dsd, str(./ds_name) == "SCA_Optical_Properties_MDS "); $ds_to_dsd_index[9] = index(/dsd, str(./ds_name) == "SCA_MLE_MDS "); $ds_to_dsd_index[10] = index(/dsd, str(./ds_name) == "AEL_PRO_Opt_Properties_MDS "); $ds_to_dsd_index[11] = index(/dsd, str(./ds_name) == "MCA_Optical_Properties_MDS "); $ds_to_dsd_index[12] = index(/dsd, str(./ds_name) == "AMD_ADS "); $ds_to_dsd_index[13] = index(/dsd, str(./ds_name) == "Group_Optical_Properties_MDS"); $ds_to_dsd_index[14] = index(/dsd, str(./ds_name) == "Scene_Classification_ADS "); $ds_to_dsd_index[15] = index(/dsd, str(./ds_name) == "Feature_Mask_ADS "); $ds_to_dsd_index[16] = index(/dsd, str(./ds_name) == "MSP_ATB_ADS ") |
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) |
num_meas_max_brc | $num_meas_max_brc = int(/sph/num_meas_max_brc) |