irsa

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: 8 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 irsa finds what NASA's infrared archive at IPAC holds near a place on the sky. Glimpse finds the Spitzer GLIMPSE survey's mosaics. Catalogue names the rows of one of the archive's tables as a CSV file.

Index

Constants

View Source
const (

	// GlimpseII is the folder of GLIMPSE II's 1.2 arcsecond mosaics. The
	// survey's other image sets are kept in folders laid out the same way.
	GlimpseII = "https://irsa.ipac.caltech.edu/data/SPITZER/GLIMPSE/" +
		"images/II/1.2_mosaics_v3.5/"
)

The places the archive's tables and images are kept.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalogue

type Catalogue struct {
	// contains filtered or unexported fields
}

Catalogue is one of the archive's tables.

func NewCatalogue

func NewCatalogue(name, columns string) (*Catalogue, error)

NewCatalogue is a table of the archive's with the columns to ask it for, as ADQL writes them. It refuses no table and no columns. Tables whose name cannot be a file's are refused when their rows are named.

func (*Catalogue) Find

func (catalogue *Catalogue) Find(near *celestialdata.Near) (
	[]*celestialdata.Product, error)

Find is one file: the table's rows within the circle, in CSV. Nothing is asked of the archive until the file is fetched.

func (*Catalogue) Name

func (catalogue *Catalogue) Name() string

Name is the adapter's name as the command line takes it: the table's.

type Glimpse

type Glimpse struct {
	// contains filtered or unexported fields
}

Glimpse is a folder of GLIMPSE mosaics.

func NewGlimpse

func NewGlimpse(get web.Web, folder string) (*Glimpse, error)

NewGlimpse is the mosaics in a folder laid out as GlimpseII is, asked through get. It refuses no web, and a folder that does not end in a slash.

func (*Glimpse) Find

func (glimpse *Glimpse) Find(near *celestialdata.Near) (
	[]*celestialdata.Product, error)

Find is the mosaics of every tile the circle reaches, in each band the folder holds.

func (*Glimpse) Name

func (glimpse *Glimpse) Name() string

Name is the adapter's name as the command line takes it.

Jump to

Keyboard shortcuts

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