Documentation
¶
Overview ¶
Package himago provides functions to download images ultimately coming from the Himawari 8 satellite. Multiple smaller images, Tiles, are downloaded and stitched together to produce a single large image.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Band ¶
type Band int
Band is an int representing the electromagnetic frequency that an image was taken.
Band Frequency Description 1 00.47µm BLUE 2 00.51µm GREEN 3 00.64µm RED 4 00.86µm Near-IR 5 01.60µm Near-IR 6 02.30µm Near-IR 7 03.90µm Short-IR 8 06.20µm Mid-IR 9 06.90µm Mid-IR 10 07.30µm Mid-IR 11 08.60µm Far-IR 12 09.60µm Far-IR 13 10.40µm Far-IR 14 11.20µm Far-IR 15 12.40µm Far-IR 16 13.30µm Far-IR
0 represents the default band which is a full-colour version combining the visible light bands (RGB)
func (*Band) Set ¶
Set will take the flag passed as a string and attempt to convert it to an int. That int is used the set the value of the Band.
type Color ¶
Color wraps a color.NRGBA for passing as a command-line flag.
type SatTime ¶
SatTime is a defines time to minute precision. Just wraps time.Time
type Tile ¶
Tile wraps an image.Image and provides helper functions to detect "no image" images.
Tiles are always the same size: 550x550 pixels
type Xy ¶
Xy represents coordinates or dimensions of an image. X and Y should always be positive integers.
type Zoom ¶
type Zoom int
Zoom is an int restricted to numbers 1-5 inclusive. A higher zoom produces a larger image but requires many more Tiles to be downloaded.
Zoom Grid Tiles Resolution 1 1x1 1 550 x 550 2 2x2 4 1100 x 1100 3 4x4 16 2200 x 2200 4 8x8 64 4400 x 4400 5 16x16 256 8800 x 8800