Sun

class pyarts.arts.Sun

A single sun.

Each sun is described by a struct with its spectral irradiance, radius distance from center of planet to center of sun, latitude in the sky of the planet, and longitude in the sky of the planet. Optionally, a free-form text description of the sun may be available.

__init__(self: pyarts.arts.Sun) None

Empty sun

Methods

__init__(self)

Empty sun

fromxml(file)

Create Sun from file

readxml(self, file)

Read Sun from file

savexml(self, file[, type, clobber])

Saves Sun to file

Attributes

description

String Sun description

distance

float Sun distance

latitude

float Sun latitude

longitude

float Sun longitude

radius

float Sun radius

spectrum

Matrix Sun spectrum, spectral irradiance at the position of the sun