AUX_PGM_2F version 0

AUX_PGM_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_1
ascii stringsize: 65
fixed value: "expansion degrees: GSM spatial, daily variation, annual variation"

hidden: true
1newline_1
ascii string [line separator]

hidden: true
2ndegrees_spatial
ascii uint16size: 12
3ndegrees_day
ascii uint16size: 12
4ndegrees_annual_variation
ascii uint16size: 12
5newline_2
ascii string [line separator]

hidden: true
6newline_3
ascii string [line separator]

hidden: true
7header_2
ascii stringsize: 45
fixed value: "   n m_GSM m_GEO,  dailyindx,  annualindx -->"

hidden: true
8newline_4
ascii string [line separator]

hidden: true
9coefficients
ascii array[dim_0]
dim_0: $ncoeff_lines
ascii record
idfield namedefinition
0n
ascii uint16size: 4
1m_GSM
ascii int32size: 6
2m_GEO
ascii int32size: 6
3dailyindx
ascii int32size: 11
4coeff
ascii array[dim_0]
dim_0: $ncoeff_annual_variation
ascii doublesize: 10
5newline_5
ascii string [line separator]

hidden: true

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_PGM_2F"

product variables

namesizeinitialisation
ndegrees_spatial$ndegrees_spatial = int(/ndegrees_spatial)
ndegrees_day$ndegrees_day = int(/ndegrees_day)
ndegrees_annual_variation$ndegrees_annual_variation = int(/ndegrees_annual_variation)
ncoeff_spatial$ncoeff_spatial = 4 * $ndegrees_spatial * ($ndegrees_spatial + 1) * (2 * $ndegrees_spatial + 1) / 6 + 2 * $ndegrees_spatial * ($ndegrees_spatial + 1) + $ndegrees_spatial
ncoeff_day$ncoeff_day = $ndegrees_day * 2 + 1
ncoeff_annual_variation$ncoeff_annual_variation = $ndegrees_annual_variation * 2 + 1
ncoeff_lines$ncoeff_lines = $ncoeff_spatial * $ncoeff_day