<HTML>
<HEAD>
   <TITLE> program s2_alm2sky (generated by f90doc) </TITLE>
  <LINK rel="stylesheet" href="stylesheet.css" type="text/css" /> </HEAD>
<H1> Program s2_alm2sky </H1>
<PRE>program s2_alm2sky

        ! Uses
    use <A HREF="s2_types_mod.html">s2_types_mod</A>
    use <A HREF="s2_sky_mod.html">s2_sky_mod</A>

        ! Calls
    call parse_options
    call s2_sky_compute_map
    call s2_sky_free
    call s2_sky_io_fits_write

        ! Variables
    character (len=S2_STRING_LEN) :: <A HREF="s2_alm2sky.html#var_filename_sky">filename_sky</A>
    character (len=S2_STRING_LEN) :: <A HREF="s2_alm2sky.html#var_filename_alm">filename_alm</A>
    type (s2_sky) :: <A HREF="s2_alm2sky.html#var_sky">sky</A>
    logical :: <A HREF="s2_alm2sky.html#var_compute_map">compute_map</A> = .false.
    integer :: <A HREF="s2_alm2sky.html#var_nside">nside</A> = 64

        ! Subroutines and functions
    subroutine <A HREF="s2_alm2sky.html#subroutine_parse_options">parse_options</A> ()

end program s2_alm2sky
</PRE>
 Read a HEALPix alm fits file and write the read map to a full s2_sky fits
 file.  Compute map if requested.
<P>
 Usage: 
   <UL>
   <LI>  [-help]: Display usage information.
   <LI>  [-alm filename_alm]: Name of map HEAPix alm fits file to read.
   <LI>  [-sky filename_sky]: Name of full s2_sky fits file to write.
   <LI>  [-compute_map compute_map]: Logical specifying whether to compute map.
   <LI>  [-nside]: HEALPix nside of map if to be computed.
   </UL>
<P>
<STRONG>Author:</STRONG> J. D. McEwen (mcewen@mrao.cam.ac.uk)
<P>
<STRONG>Version:</STRONG> 0.1 - November 2005

<HR><H2> Description of Variables </H2>
<A NAME="var_filename_sky"><H3>filename_sky</H3></A>
<PRE>character (len=S2_STRING_LEN) :: filename_sky
</PRE>
<A NAME="var_filename_alm"><H3>filename_alm</H3></A>
<PRE>character (len=S2_STRING_LEN) :: filename_alm
</PRE>
<A NAME="var_sky"><H3>sky</H3></A>
<PRE>type (s2_sky) :: sky
</PRE>
<A NAME="var_compute_map"><H3>compute_map</H3></A>
<PRE>logical :: compute_map = .false.
</PRE>
<A NAME="var_nside"><H3>nside</H3></A>
<PRE>integer :: nside = 64
</PRE>

<HR><H2> Description of Subroutines and Functions </H2>
<A NAME="subroutine_parse_options"><H3>parse_options</H3></A>
<PRE>subroutine parse_options ()
    ! Calls: getArgument
end subroutine parse_options
</PRE>
 Parse the options passed when program called.
<P>
<STRONG>Author:</STRONG> J. D. McEwen (mcewen@mrao.cam.ac.uk)
<P>
<STRONG>Version:</STRONG> 0.1 - November 2004
</HTML>
