Program s2_sky2alm

program s2_sky2alm

        ! Uses
    use s2_types_mod
    use s2_sky_mod

        ! Calls
    call parse_options
    call s2_sky_compute_alm
    call s2_sky_free
    call s2_sky_write_alm_file

        ! Variables
    character (len=S2_STRING_LEN) :: filename_sky
    character (len=S2_STRING_LEN) :: filename_alm
    type (s2_sky) :: sky
    logical :: compute_alm = .false.
    integer :: lmax = 128
    integer :: mmax = 128

        ! Subroutines and functions
    subroutine parse_options ()

end program s2_sky2alm
Read a HEALPix map fits file and write the read map to a full s2_sky fits file.

Usage:

Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)

Version: 0.1 - November 2005


Description of Variables

filename_sky

character (len=S2_STRING_LEN) :: filename_sky

filename_alm

character (len=S2_STRING_LEN) :: filename_alm

sky

type (s2_sky) :: sky

compute_alm

logical :: compute_alm = .false.

lmax

integer :: lmax = 128

mmax

integer :: mmax = 128

Description of Subroutines and Functions

parse_options

subroutine parse_options ()
    ! Calls: getArgument
end subroutine parse_options
Parse the options passed when program called.

Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)

Version: 0.1 - November 2004