AUX_F10_2F version 0

AUX_F10_2F

This definition is based on version 2H of the Product Specification for L2 Products and Auxiliary Products SW-DS-DTU-GS-0001

root type

ascii record
idfield namedefinition
0header
ascii array[dim_0]
dim_0: $num_header_lines
ascii record
idfield namedefinition
0line
ascii string [line]
1newline
ascii string [line separator]

hidden: true
1data
ascii array[dim_0]
dim_0: $num_rows
ascii record
idfield namedefinition
0year
ascii uint16size: 4
1space_1
ascii charsize: 1
fixed value: " "

hidden: true
2month
ascii uint8size: 2
3space_2
ascii charsize: 1
fixed value: " "

hidden: true
4day
ascii uint8size: 2
5space_3
ascii stringsize: 2
fixed value: "  "

hidden: true
6radio_flux
ascii uint16size: 3
7space_4
ascii stringsize: 4
fixed value: "    "

hidden: true
8sunspot_number
ascii uint16size: 3
9space_5
ascii stringsize: 5
fixed value: "     "

hidden: true
10sunspot_area
ascii uint16size: 4
11space_6
ascii stringsize: 6
fixed value: "      "

hidden: true
12new_regions
ascii uint8size: 1
13space_7
ascii stringsize: 4
fixed value: "    "

hidden: true
14solar_mean_field
ascii int16size: 4
15space_8
ascii stringsize: 3
fixed value: "   "

hidden: true
16xray_bkgd_flux
ascii stringsize: 4
17space_9
ascii stringsize: 2
fixed value: "  "

hidden: true
18xray_c
ascii int8size: 2
19space_10
ascii charsize: 1
fixed value: " "

hidden: true
20xray_m
ascii int8size: 2
21space_11
ascii charsize: 1
fixed value: " "

hidden: true
22xray_x
ascii int8size: 2
23space_12
ascii charsize: 1
fixed value: " "

hidden: true
24xray_s
ascii int8size: 2
25space_13
ascii charsize: 1
fixed value: " "

hidden: true
26optical_1
ascii int8size: 2
27space_14
ascii charsize: 1
fixed value: " "

hidden: true
28optical_2
ascii int8size: 2
29space_15
ascii charsize: 1
fixed value: " "

hidden: true
30optical_3
ascii int8size: 2
31newline
ascii string [line separator]

hidden: true

bit offset: $table_offset

detection rule

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

substr(0, 3, filename()) == "SW_" and
substr(8, 10, filename()) == "AUX_F10_2F"

product variables

namesizeinitialisation
table_line_index$table_line_index = index(asciiline, str(., 1) == "1" or str(., 1) == "2")
num_header_lines$num_header_lines = if($table_line_index >= 0, $table_line_index, numelements(asciiline))
table_offset$table_offset = if($table_line_index >= 0, bitoffset(asciiline[$table_line_index]), 8 * (filesize() - 1))
num_rows$num_rows = numelements(asciiline) - $num_header_lines