earth

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package earth finds files and snapshots by terrestrial coordinates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(name string, get web.Web,
	query Query) ([]*celestialdata.Product, error)

Find lists the products from one named source. It takes terrestrial coordinates in degrees and refuses boxes that cross the antimeridian.

Types

type Query

type Query struct {
	Bounds *[4]float64
	Point  *[2]float64
	Text   string
	Most   int
}

Query locates products on Earth. Bounds is west, south, east, north. Point is latitude, longitude. Text filters GIBS layers by name or title. Most caps catalog results and defaults to 10.

type Source

type Source struct {
	Name, Title, Reference, Queries string
}

Source describes one catalog entry. Queries contains the inputs taken by its adapter, or is empty when the catalog only has a reference.

func Sources

func Sources() []Source

Sources lists the catalog without asking the network.

Jump to

Keyboard shortcuts

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