\section{Software for Ground-Based and Other Satellites (GBO)}

\subsection{Accessing Ground-Based FITS Images}

All Ground-Based images that are stored in the Yohkoh database use the
FITS file format. \index{FITS files}

%%\subsubsection{Directory and File Organization}

%%\input uguide_gbofits.tex

\subsubsection{RFITS}

RFITS reads a standard format FITS file by typing: \index{FITS files}
%
\idlinputa{img = rfits(infil, header=header)} \index{RFITS}
%
where {\it img} is the image, {\it infil} is the input file name, and $head$ is
the string array with the data header in it.  It is possible to use
the $/SCALE$ option to convert the data into some physical units.  For
example, the magnetogram data would be converted to gauss.
%
\idlinputd{img = rfits('/yd0/gbo92\_37/gkm920907.1442', head=head, /scale)}
%

\subsubsection{GBO\_MASK}
\index{masking GBO images}
\index{correcting GBO images}
\index{GBO, masking lettering}

The routine GBO\_MASK can be used to mask out the writing that appears
on some of the ground-based images.  It is important to perform this step
before using the ``contaminated'' image for limb fitting.  A sample call
is:
%
\idlinputd{img = gbo\_mask(img)}\index{GBO\_MASK}

\subsection{Accessing GOES Data}

\subsubsection{PR\_GEV}

The GOES event log files are available with the Yohkoh database.  To get a
printout of the X-ray events for a given day, use something like:
%
\idlinputa{pr\_gev,'2-nov-92'}\index{PR\_GEV}
%
See the User's Guide for a sample printout.

\subsubsection{PLOT\_GOES}

PLOT\_GOES routine will plot the GOES one minute light curve data.  The 
following are a few examples:
%
\idlinputa{plot\_goes, '2-nov-92'}	\index{PLOT\_GOES}
\idlinputb{plot\_goes, '2-nov-92', '4-nov-92'}
%
The default is to plot 24 hours of data.  See the User's Guide for a sample plot.
%
\subsection{Accessing GRO BATSE Data}

\subsubsection{PR\_GBE}

The BATSE event log files are available with the Yohkoh database.  To get a
printout of the X-ray events for a given day, use something like:
%
\idlinputa{pr\_gbe,'15-nov-91}\index{PR\_GBE}
%
See the User's Guide for an example.

\subsubsection{PLOT\_GBL}

BATSE light curves can be produced using PLOT\_GBL.  It is possible to
specify the time span or to specify an event.  Some sample calls are:
%
\idlinputa{plot\_gbl, '15-nov-91 22:00', '15-nov-91 23:00'}\index{PLOT\_GBL}	
\idlinputb{plot\_gbl, event=1901}
%
See the User's Guide for a sample plot.
