internal

package
v0.0.0-...-17f9360 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(link ImageLink, dir string, wg *sync.WaitGroup) error
func ExtractImgLinks(n *html.Node, links map[Band][]ImageLink) map[Band][]ImageLink

Types

type Band

type Band string
const (
	HeavyRainfall           Band = "hrp"
	Infrared                Band = "b13"
	Visible                 Band = "b03"
	WaterVapor              Band = "b08"
	ShortWaveIR             Band = "b07"
	DayMicrophysicsRGB      Band = "dms"
	NightMicrophysicsRGB    Band = "ngt"
	DustRGB                 Band = "dst"
	AirmassRGB              Band = "arm"
	DaySnowFogRGB           Band = "dsl"
	NaturalColorRGB         Band = "dnc"
	TrueColorRGBEnhanced    Band = "tre"
	TrueColorReproduction   Band = "trm"
	DayConvectiveStormRGB   Band = "cve"
	Sandwich                Band = "snd"
	VisibleAndInfrared      Band = "vis"
	VisibleAndInfraredNight Band = "irv"
)
type ImageLink struct {
	Band Band
	Link string
}
func NewImageLink(b Band, link string) *ImageLink

func (ImageLink) FileName

func (i ImageLink) FileName() string

func (ImageLink) SequenceNum

func (i ImageLink) SequenceNum() (string, error)

Jump to

Keyboard shortcuts

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