Program s2_skyerror

program s2_skyerror

        ! Uses
    use s2_types_mod
    use s2_sky_mod
    use s2_error_mod

        ! Calls
    call parse_options
    call s2_error
    call s2_sky_free

        ! Variables
    character (len=*), parameter :: MAP_FILE = 'map'
    character (len=*), parameter :: SKY_FILE = 'sky'
    integer :: file_type = S2_SKY_FILE_TYPE_MAP
    integer :: ext = 1
    character (len=S2_STRING_LEN) :: filename1
    character (len=S2_STRING_LEN) :: filename2
    character (len=S2_STRING_LEN) :: file_type_str = MAP_FILE
    type (s2_sky) :: sky1
    type (s2_sky) :: sky2
    real (kind=s2_sp) :: er

        ! Subroutines and functions
    subroutine parse_options ()

end program s2_skyerror
Compute error between two sky maps.

Usage:

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

Version: 0.1 - April 2007


Description of Variables

MAP_FILE

character (len=*), parameter :: MAP_FILE = 'map'

SKY_FILE

character (len=*), parameter :: SKY_FILE = 'sky'

file_type

integer :: file_type = S2_SKY_FILE_TYPE_MAP

ext

integer :: ext = 1

filename1

character (len=S2_STRING_LEN) :: filename1

filename2

character (len=S2_STRING_LEN) :: filename2

file_type_str

character (len=S2_STRING_LEN) :: file_type_str = MAP_FILE

sky1

type (s2_sky) :: sky1

sky2

type (s2_sky) :: sky2

er

real (kind=s2_sp) :: er

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