ATS_MET_2P version 0

ATS_MET_2P_v0

root type

binary record
idfield namedefinition
0mph
ascii record "MPH"size: 1247
1sph
ascii record "AATSR_SPH_short_v0"size: 1315
2dsd
ascii array[dim_0]
dim_0: $num_dsd
ascii record "DSD"size: 280
3sea_st_10_min_cell_mds
binary array[dim_0]
10-arcminute mds

dim_0: $num_dsr[0]
binary record "ATS_MET_2P_meteo_user_prod_aatsr_rec_data"size: 62

detection rule

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

bytes(/,0,8) == "PRODUCT=" and
bytes(/,9,10) == "ATS_MET_2P" and
bytes(/,95,23) == ".                      "

product variables

namesizeinitialisation
num_dsd$num_dsd = int(/mph/num_dsd)
num_ds$num_ds = 1
ds_to_dsd_index[$num_ds]$ds_to_dsd_index[0] = index(/dsd, str(./ds_name) == "SEA_ST_10_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)