This definition is based on version 3/K of the ENVISAT AATSR product specification PO-RS-MDA-GS-2009 Vol7
binary record | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This product definition is applicable if a product matches the following rule:
bytes(/,0,8) == "PRODUCT=" and bytes(/,9,10) == "AT1_AR__2P" |
name | size | initialisation |
---|---|---|
num_dsd | $num_dsd = int(/mph/num_dsd) | |
num_ds | $num_ds = 16 | |
ds_to_dsd_index | [$num_ds] | $ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "SEA_ST_50_KM_CELL_MDS "); $ds_to_dsd_index[1] = index(/dsd, str(./ds_name) == "SEA_ST_17_KM_CELL_MDS "); $ds_to_dsd_index[2] = index(/dsd, str(./ds_name) == "SEA_ST_10_MIN_CELL_MDS "); $ds_to_dsd_index[3] = index(/dsd, str(./ds_name) == "SEA_ST_30_MIN_CELL_MDS "); $ds_to_dsd_index[4] = index(/dsd, str(./ds_name) == "LAND_ST_50_KM_CELL_MDS "); $ds_to_dsd_index[5] = index(/dsd, str(./ds_name) == "LAND_ST_17_KM_CELL_MDS "); $ds_to_dsd_index[6] = index(/dsd, str(./ds_name) == "LAND_ST_10_MIN_CELL_MDS "); $ds_to_dsd_index[7] = index(/dsd, str(./ds_name) == "LAND_ST_30_MIN_CELL_MDS "); $ds_to_dsd_index[8] = index(/dsd, str(./ds_name) == "BT_TOA_LAND_50_KM_CELL_MDS "); $ds_to_dsd_index[9] = index(/dsd, str(./ds_name) == "BT_TOA_LAND_17_KM_CELL_MDS "); $ds_to_dsd_index[10] = index(/dsd, str(./ds_name) == "BT_TOA_LAND_10_MIN_CELL_MDS "); $ds_to_dsd_index[11] = index(/dsd, str(./ds_name) == "BT_TOA_LAND_30_MIN_CELL_MDS "); $ds_to_dsd_index[12] = index(/dsd, str(./ds_name) == "BT_TOA_SEA_50_KM_CELL_MDS "); $ds_to_dsd_index[13] = index(/dsd, str(./ds_name) == "BT_TOA_SEA_17_KM_CELL_MDS "); $ds_to_dsd_index[14] = index(/dsd, str(./ds_name) == "BT_TOA_SEA_10_MIN_CELL_MDS "); $ds_to_dsd_index[15] = index(/dsd, str(./ds_name) == "BT_TOA_SEA_30_MIN_CELL_MDS ") |
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) |