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_sky2almRead 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
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
subroutine parse_options () ! Calls: getArgument end subroutine parse_optionsParse the options passed when program called.
Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)
Version: 0.1 - November 2004