Local definition 13: Wave 2D spectra direction and frequency

Octets Key Type Contents
41 localDefinitionNumber unsigned ECMWF local GRIB use definition identifier. 13 = Wave 2D spectra direction and frequency.
42 class codetable Class
43 type codetable Type
44-45 stream codetable Stream
46-49 experimentVersionNumber ksec1expver Version number or experiment identifier. (4 ASCII characters, right justified)
50 perturbationNumber unsigned As for MARS labelling (eg set to zero, or ensemble forecast number if appropriate)
51 numberOfForecastsInEnsemble unsigned As for MARS labelling (eg set to zero, or total number in ensembles if appropriate)
52 directionNumber unsigned Direction number
53 frequencyNumber unsigned Frequency number
54 numberOfDirections unsigned Total number of directions (Nd)
55 numberOfFrequencies unsigned Total number of frequencies (Nf)
56-59 directionScalingFactor unsigned Integer scaling factor applied to directions in following list of direction definitions (4-byte integer)
60-63 frequencyScalingFactor unsigned Integer scaling factor applied to frequencies in following list of frequency definitions (4-byte integer)
64 localFlag codetable Flag to show inclusions in the header: 0 = system and method are not included 1 = system and method are included 2 = system, method, reference date, climate date (from) and climate date (to) are included 3 = all information in 2 leg information for variable resolution systems are included 4 = all of 3 above plus 4DVar window info
65-66 systemNumber unsigned System number (65535 = missing)
67-68 methodNumber unsigned Method number (65535 = missing)
69-72 referenceDate unsigned Reference date (YYYYMMDD)
73-76 climateDateFrom unsigned Climate date - from (YYYYMMDD)
77-80 climateDateTo unsigned Climate date - to (YYYYMMDD)
81-84 legBaseDate unsigned Base time of this leg (YYYYMMDD)
85-86 legBaseTime unsigned Base time of this leg (HHMM)
87 legNumber unsigned Leg number
88 oceanAtmosphereCoupling unsigned Ocean - Atmosphere coupling: 0 = unspecified 1 = uncoupled 2 = coupled
89-90 offsetToEndOf4DvarWindow unsigned Offset to end of 4DVar Window (hours)
91-92 lengthOf4DvarWindow unsigned Length of 4Dvar Window (hours)
93-100 Spare (set to zero)
101->(100+Nd*4) scaledDirections unsigned List of Nd scaled directions (4-byte integers)
(101+Nd*4)->(100+Nd*4+Nf*4) scaledFrequencies unsigned List of Nf scaled frequencies (4-byte integers)