AUX_PSM_2F version 0

AUX_PSM_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: 47
fixed value: "expansion degrees: SM spatial, daily variation "

hidden: true
1newline_1
ascii string [line separator]

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

hidden: true
5newline_3
ascii string [line separator]

hidden: true
6header_2
ascii stringsize: 40
fixed value: "   n,  m_SM, m_GEO,  dailyindx,    coeff"

hidden: true
7newline_4
ascii string [line separator]

hidden: true
8coefficients
ascii array[dim_0]
dim_0: $ncoeff
ascii record
idfield namedefinition
0n
ascii uint16size: 4
1m_SM
ascii int32size: 6
2m_GEO
ascii int32size: 7
3dailyindx
ascii int32size: 11
4coeff
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_PSM_2F"

product variables

namesizeinitialisation
ndegrees_spatial$ndegrees_spatial = int(/ndegrees_spatial)
ndegrees_day$ndegrees_day = int(/ndegrees_day)
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$ncoeff = $ncoeff_spatial * $ncoeff_day