ARTS built-in documentation server

Workspace Method sunsAddSingleFromGridAtLocation

Description

Extracts a sun spectrum measured at the given location
adds it to suns.

The method allows to obtain the sun spectrum by
interpolation from a field of such data. 
The sun spectrum is expected to be stored as
irradiance.
It is coverted to the irradiance at the suns photosphere.

Unit:        GriddedField2: [W m-2 Hz-1]
                 Vector f_grid[Hz]
                 Vector stokes_dim[1]

Dimensions: [f_grid, stokes_dim]

This method performs an interpolation onto the f_grid.
The point of f_grid that are outside the data frequency grid
are initialized according to planck's law of the temperature variable.
Hence, a temperature of 0 means 0s the edges of the f_grid.

Authors: Jon Petersen

Synopsis

sunsAddSingleFromGridAtLocation( suns, suns_do, f_grid, stokes_dim, refellipsoid, sun_spectrum_raw, radius, distance, temperature, zenith, azimuth, description, location_latitude, location_longitude, location_altitude )

Variables

OUT+INsuns(ArrayOfSun)Array of Sun.
OUTsuns_do(Index)Flag to activate the sun(s).
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
INstokes_dim(Index)The dimensionality of the Stokes vector (1-4).
INrefellipsoid(Vector)Reference ellipsoid.
GINsun_spectrum_raw(GriddedField2)Raw data for monochromatic irradiance spectra.
GINradius(Numeric, Default: 6.963242e8)The radius of the sun in meter. Default is the radius of our Sun.
GINdistance(Numeric, Default: 1.495978707e11)The distance between the location and the center of the sun in meter. Default value is set to 1 a.u.
GINtemperature(Numeric, Default: -1)The temperature of the padding if the f_grid is outside the sun spectrum data. Choose 0 for 0 at the edges or a effective temperature for a padding using plack's law.
GINzenith(Numeric, Default: 0)Zenith angle of the sun in the sky.
GINazimuth(Numeric, Default: 0)Azimuthal angle of the sun in the sky.
GINdescription(String, Default: "Sun spectrum from Griddedfield.")The description of the sun.
GINlocation_latitude(Numeric, Default: 0)The latitude of the sun spectrum measurement.
GINlocation_longitude(Numeric, Default: 0)The longitude of the sun spectrum measurement.
GINlocation_altitude(Numeric, Default: 1e5)The altitude of the sun spectrum measurement.