Program s2_map2sky

program s2_map2sky

        ! 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_io_fits_write

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

        ! Subroutines and functions
    subroutine parse_options ()

end program s2_map2sky
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 - April 2005


Description of Variables

filename_sky

character (len=S2_STRING_LEN) :: filename_sky

filename_map

character (len=S2_STRING_LEN) :: filename_map

sky

type (s2_sky) :: sky

ext

integer :: ext = 1

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