ascii record | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This product definition is applicable if a product matches the following rule:
bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "SCI_KD1_AX" |
name | size | initialisation |
---|---|---|
num_dsd | $num_dsd = int(/mph/num_dsd) | |
num_ds | $num_ds = 39 | |
ds_to_dsd_index | [$num_ds] | $ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "_BRDF_s "); $ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "_BRDF_p "); $ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "_ELEV_s "); $ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "_ELEV_p "); $ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "_ETA_NAD "); $ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "_XI_NAD "); $ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "_OBM_s_p "); $ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "_ETA_LIMB "); $ds_to_dsd_index[8] = index(/dsd, str(./ds_name) == "_ZETA_LIMB "); $ds_to_dsd_index[9] = index(/dsd, str(./ds_name) == "_EL_AZ_p "); $ds_to_dsd_index[10] = index(/dsd, str(./ds_name) == "_EL_AZ_s "); $ds_to_dsd_index[11] = index(/dsd, str(./ds_name) == "_OMEGA_LIMB "); $ds_to_dsd_index[12] = index(/dsd, str(./ds_name) == "_KAPPA_LIMB "); $ds_to_dsd_index[13] = index(/dsd, str(./ds_name) == "_XI_LIMB "); $ds_to_dsd_index[14] = index(/dsd, str(./ds_name) == "_SIGMA_LIMB "); $ds_to_dsd_index[15] = index(/dsd, str(./ds_name) == "_PSI_LIMB "); $ds_to_dsd_index[16] = index(/dsd, str(./ds_name) == "_TAU_LIMB "); $ds_to_dsd_index[17] = index(/dsd, str(./ds_name) == "_SIGMA_NAD "); $ds_to_dsd_index[18] = index(/dsd, str(./ds_name) == "_PSI_NAD "); $ds_to_dsd_index[19] = index(/dsd, str(./ds_name) == "_TAU_NAD "); $ds_to_dsd_index[20] = index(/dsd, str(./ds_name) == "_OMEGA_NAD "); $ds_to_dsd_index[21] = index(/dsd, str(./ds_name) == "_KAPPA_NAD "); $ds_to_dsd_index[22] = index(/dsd, str(./ds_name) == "_ZETA_NAD "); $ds_to_dsd_index[23] = index(/dsd, str(./ds_name) == "_STRAY_UNIFORM "); $ds_to_dsd_index[24] = index(/dsd, str(./ds_name) == "_STRAY_GHOST "); $ds_to_dsd_index[25] = index(/dsd, str(./ds_name) == "_STRAY_CH1 "); $ds_to_dsd_index[26] = index(/dsd, str(./ds_name) == "_SPEC_LINE "); $ds_to_dsd_index[27] = index(/dsd, str(./ds_name) == "_SLIT_F "); $ds_to_dsd_index[28] = index(/dsd, str(./ds_name) == "_SMALL_AP_SLIT_F "); $ds_to_dsd_index[29] = index(/dsd, str(./ds_name) == "_ABS_RAD "); $ds_to_dsd_index[30] = index(/dsd, str(./ds_name) == "_ABS_IRR "); $ds_to_dsd_index[31] = index(/dsd, str(./ds_name) == "_NDF "); $ds_to_dsd_index[32] = index(/dsd, str(./ds_name) == "_NDF_s_p "); $ds_to_dsd_index[33] = index(/dsd, str(./ds_name) == "_MEM_EFFECT_COEF "); $ds_to_dsd_index[34] = index(/dsd, str(./ds_name) == "_PMD_CROSS_COEF "); $ds_to_dsd_index[35] = index(/dsd, str(./ds_name) == "_BAD_PIXEL_MASK "); $ds_to_dsd_index[36] = index(/dsd, str(./ds_name) == "_REF_WLS "); $ds_to_dsd_index[37] = index(/dsd, str(./ds_name) == "_FRAUNH_LINE "); $ds_to_dsd_index[38] = index(/dsd, str(./ds_name) == "_NON_LIN ") |
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] = if($ds_available[i] != 0, 8 * int(/dsd[$ds_to_dsd_index[i]]/ds_offset), -1) |
ds_size | [$num_ds] | for i = 0 to $num_ds - 1 do $ds_size[i] = if($ds_available[i] != 0, 8 * int(/dsd[$ds_to_dsd_index[i]]/ds_size), -1) |
num_dsr | [$num_ds] | for i = 0 to $num_ds - 1 do $num_dsr[i] = if($ds_available[i] != 0, int(/dsd[$ds_to_dsd_index[i]]/num_dsr), -1) |