[Previous]
[Next]
NAME:
SI_TO_CGS
PURPOSE:
Convert quantities from SI to CGS or the other way around
CATEGORY:
Solar-B utilities software
CALLING SEQUENCE:
si_to_cgs, inval, outval, unit = unit, quant = quant, /reverse
INPUTS:
inval: Input value (default in the SI system)
KEYWORD PARAMETERS:
unit: String describing unit of output value
(e.g. [W m-2 sr-1] for intensity)
quant: String describing what quantity inval/outval is.
Default quantity is intensity. Other allowed quantities: None at the moment.
reverse: Set this keyword to convert from CGS to SI
OUTPUTS:
outval: Ouput value (e.g intensity in CGS units)
CALLS:
COMMON BLOCKS:
PROCEDURE:
RESTRICTIONS:
So far only intensity implemented.
MODIFICATION HISTORY:
07-Sep-2005: Written by Oivind Wikstol
[Previous]
[Next]
NAME:
SOLB_PLOT_POINTING
PROJECT
SOLAR-B
EXPLANATION
Given a Solar-B pointing file, the pointing positions throughout the
time period covered by the file are plotted on top of a solar grid,
with the grid giving longitude and latitude positions.
INPUTS
FILENAME The name of a Solar-B pointing file.
OUTPUTS
Makes a plot that is sent to the screen.
CALLS
SOLB_READ_REPOINT, PLOT_HELIO
HISTORY
Ver.1, 22-Jun-2006, Peter Young
CALLS:
[Previous]
[Next]
NAME:
SOLB_READ_REPOINT
PROJECT
SOLAR-B
EXPLANATION
Reads the Solar-B re-pointing plan file (text format) into an IDL
structure.
The re-pointing file is prepared by the Chief Planner and distributed
to the Chief Observers of each Solar-B instrument.
INPUTS
FNAME The name of re-pointing file.
OUTPUTS
REPOINT A structure containg the pointing information. The tags are:
.timeline A structure (see below)
.curves A structure (see below)
.ncurves Integer. The number of different sets of tracking
curves contained in the file.
.tstart String. The start time of the time period covered
by the re-pointing file.
.tend String. The end time of the time period covered
by the re-pointing file.
TIMELINE. This is a structure containing the timeline from the
file. It is an array with size of the same number of elements
in the timeline. The tags are:
.t String. The time at which the event takes place.
.tai Double. The time in TAI units.
.activity String. Describes the activity taking place.
.tc Integer. The tracking curve associated with the change.
.lon Float. The longitude (degrees) of the offset/position
associated with the event.
.lat Float. The latitude (degrees) of the offset/position
associated with the event.
CURVES. This is a structure containing the sets of tracking
curves. It is an array of the same number of elements as the
number of sets of tracking curves. The tags are:
.tracks A structure containing the data for each tracking
curve. (See below.)
.valid_from The time from which the tracking curve set is
valid. If set to '' then the tracking curve set is
the initial one.
.status If set to 0 then the tracking curve set is the
initial one. Otherwise set to 1.
TRACKS. This is a structure containing the sets of tracking
curves. It is an array of size the number of tracking curves
tabulated (usually 4).
.n Integer. The tracking curve number (1-4).
.t String. The reference time for the tracking curve.
.tai Double. the reference time in TAI units.
.long Float. The reference longitude (degrees).
.lat Float. The reference latitude (degrees).
.x Float. The heliocentric X-coordinate corresponding to
(long,lat).
.y Float. The heliocentric Y-coordinate corresponding to
(long,lat).
.rot_rate Float. The rotation rate in degrees/second.
PROGRAMMING NOTES
The pointing files consist of two main sections. The first is a timeline
identifying when re-pointings or memory uploads take place. The next
section consists of tabulations of tracking curve parameters for each
memory upload. There is always one more set of tracking curve parameters
than there are memory uploads, as there needs to be a previous set
corresponding to the end of the previous plan period.
The present routine has been written to read the three Example files
that were distributed to the MODA group on 19-Jun-2006.
HISTORY
Ver. 1, 20-Jun-2006, Peter Young
CALLS:
CALLED BY
SOLB_PLOT_POINTING [1], SOLB_PLOT_POINTING [2], SOLB_SPACECRAFT_POINTING [1]
SOLB_SPACECRAFT_POINTING [2]
[Previous]
[Next]
NAME:
SOLB_SPACECRAFT_POINTING()
PROJECT
SOLAR-B
EXPLANATION
Given a Solar-B instrument pointing file and a reference time, this
routine will calculate the heliocentric coordinates in arcseconds.
INPUTS
FNAME The name of a Solar-B pointing file.
T The reference time in a standard format accepted by ANYTIM.PRO.
OUTPUTS
A 2 element array, giving the (X,Y) heliocentric coordinates in
arcseconds.
CALLING SEQUENCE
IDL> xy=solb_spacecraft_pointing(filename,t)
EXAMPLE
IDL> xy=solb_spacecraft_pointing(filename,'2006/10/11 20:00')
CALLS
SOLB_READ_REPOINT, LONLAT2XY, ANYTIM
HISTORY
Ver.1, 22-Jun-2006, Peter Young
CALLS:
CALLED BY
SOLB_PLOT_POINTING [1], SOLB_PLOT_POINTING [2]
[Previous]
[Next]
string3(i)
make a string of i, 3 characters padded from left with 0
if i gt 999, same number of characters as needed
CALLED BY
EIS_CAL__DEFINE [1], EIS_CAL__DEFINE [2], EIS_MOVIE_PREP [1]
EIS_MOVIE_PREP [2], XIMOVIE [1], XIMOVIE [2], XIMOVIE [4]
[Previous]
[Next]
NAME:
SUMER_FF
PURPOSE:
Convert quantities from SI to CGS or the other way around
CATEGORY:
Solar-B utilities software
CALLING SEQUENCE:
si_to_cgs, inval, outval, unit = unit, quant = quant, reverse = reverse
INPUTS:
inval: Input value (default in the SI system)
KEYWORD PARAMETERS:
unit: String describing unit of output value
(e.g. [W m-2 sr-1] for intensity)
quant: String describing what quantity inval/outval is.
Default quantity is intensity. Other allowed quantities: None at the moment.
reverse: Set this keyword to convert from CGS to SI
OUTPUTS:
outval: Ouput value (e.g intensity in CGS units)
CALLS:
COMMON BLOCKS:
PROCEDURE:
RESTRICTIONS:
So far only intensity implemented.
MODIFICATION HISTORY:
07-Sep-2005: Written by Oivind Wikstol