Documentation ¶
Index ¶
- Variables
- type Header
- func (xh *Header) Compression() int
- func (xh *Header) Filename() string
- func (xh *Header) GetTemperatureLUT() []float32
- func (xh *Header) IsCompressed() bool
- func (xh *Header) IsFalseColorPiece() bool
- func (xh *Header) IsFullDisk() bool
- func (xh *Header) Product() *PacketData.NOAAProduct
- func (xh *Header) SetHeader(record Structs.BaseRecord)
- func (xh *Header) SubProduct() *PacketData.NOAASubProduct
- func (xh *Header) ToBaseNameString() string
- func (xh *Header) ToJSON() string
- func (xh *Header) ToNameString() string
Constants ¶
This section is empty.
Variables ¶
View Source
var VCID2Name = map[int]string{
0: "Admin Text",
1: "Mesoscale",
2: "GOES-ABI",
6: "GOES15",
7: "GOES-ABI",
8: "GOES-ABI",
9: "GOES-ABI",
13: "GOES-ABI",
14: "GOES-ABI",
15: "GOES-ABI",
17: "GOES17",
20: "EMWIN",
21: "EMWIN",
22: "EMWIN",
23: "NWS",
24: "NHC",
25: "GOES16-JPG",
26: "INTL",
30: "DCS",
31: "DCS",
32: "DCS",
60: "Himawari",
63: "IDLE",
}
VCID2Name are GOES 16/17/18 VCIDs names
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { AncillaryHeader *Structs.AncillaryText AnnotationHeader *Structs.AnnotationRecord DCSFilenameHeader *Structs.DCSFilenameRecord HeaderStructuredHeader *Structs.HeaderStructuredRecord ImageDataFunctionHeader *Structs.ImageDataFunctionRecord ImageStructureHeader *Structs.ImageStructureRecord NOAASpecificHeader *Structs.NOAASpecificRecord PrimaryHeader *Structs.PrimaryRecord RiceCompressionHeader *Structs.RiceCompressionRecord SegmentIdentificationHeader *Structs.SegmentIdentificationRecord TimestampHeader *Structs.TimestampRecord UnknownHeaders []*Structs.UnknownHeader AllHeaders []Structs.BaseRecord `json:"-"` // Non XRIT Headers - Auxiliary stuff TemperatureLUT []float32 ImageDataFunctionHash string }
func MakeFromJSON ¶
func MakeXRITHeader ¶
func MakeXRITHeader() *Header
func MakeXRITHeaderWithHeaders ¶
func MakeXRITHeaderWithHeaders(records []Structs.BaseRecord) *Header
func MemoryParseFile ¶
func (*Header) Compression ¶
func (*Header) GetTemperatureLUT ¶ added in v0.5.2
GetTemperatureLUT returns a LUT for converting pixel value (index) to degrees kelvin. Returns nil in case of no ImageDataFunctionHeader available
func (*Header) IsCompressed ¶
func (*Header) IsFalseColorPiece ¶
func (*Header) IsFullDisk ¶
func (*Header) Product ¶
func (xh *Header) Product() *PacketData.NOAAProduct
func (*Header) SetHeader ¶
func (xh *Header) SetHeader(record Structs.BaseRecord)
func (*Header) SubProduct ¶
func (xh *Header) SubProduct() *PacketData.NOAASubProduct
func (*Header) ToBaseNameString ¶ added in v0.5.2
func (*Header) ToNameString ¶
Directories ¶
Path | Synopsis |
---|---|
Geo Geographic Conversion Tools Based on: http://www.cgms-info.org/documents/pdf_cgms_03.pdf
|
Geo Geographic Conversion Tools Based on: http://www.cgms-info.org/documents/pdf_cgms_03.pdf |
Click to show internal directories.
Click to hide internal directories.