fields

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAverageStaticPressure

func ReadAverageStaticPressure(data []byte) (bool, uint32)

func ReadRadioHeightV0

func ReadRadioHeightV0(data []byte) (bool, uint32)

func ReadRadioHeightV1

func ReadRadioHeightV1(data []byte) (bool, uint32)

func ReadStaticAirTemperatureV0

func ReadStaticAirTemperatureV0(data []byte) (bool, float32)

func ReadStaticAirTemperatureV1

func ReadStaticAirTemperatureV1(data []byte) (bool, float32)

func ReadTurbulenceV1

func ReadTurbulenceV1(data []byte) (bool, float32, float32, byte)

Types

type HazardLevel

type HazardLevel byte

HazardLevel is the level of the hazard

Specified in Doc 9871 / Table A-2-69

const (
	// HLNil indicates Nil.
	HLNil HazardLevel = 0
	// HLLight indicates Light.
	HLLight HazardLevel = 1
	// HLModerate indicates Moderate.
	HLModerate HazardLevel = 2
	// HLSevere indicates Severe.
	HLSevere HazardLevel = 3
)

func ReadIcingV0

func ReadIcingV0(data []byte) (bool, HazardLevel)

func ReadIcingV1

func ReadIcingV1(data []byte) (bool, HazardLevel)

func ReadMicroBurstV0

func ReadMicroBurstV0(data []byte) (bool, HazardLevel)

func ReadMicroBurstV1

func ReadMicroBurstV1(data []byte) (bool, HazardLevel)

func ReadTurbulenceV0

func ReadTurbulenceV0(data []byte) (bool, HazardLevel)

func ReadWakeVortexV0

func ReadWakeVortexV0(data []byte) (bool, HazardLevel)

func ReadWakeVortexV1

func ReadWakeVortexV1(data []byte) (bool, HazardLevel)

func ReadWindShearV0

func ReadWindShearV0(data []byte) (bool, HazardLevel)

func ReadWindShearV1

func ReadWindShearV1(data []byte) (bool, HazardLevel)

func (HazardLevel) ToString

func (hl HazardLevel) ToString() string

ToString returns a basic, but readable, representation of the field

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL