def setUpClass(cls):
        # Madrid:
        LEMD_lon = convert_dms_to_dec(3, 34, 2.47, 'W')
        LEMD_lat = convert_dms_to_dec(40, 29, 37.62, 'N')
        # Tokyo:
        RJAA_lon = convert_dms_to_dec(140, 23, 17.66, 'E')
        RJAA_lat = convert_dms_to_dec(35, 46, 24.78, 'N')

        cls.ortographic = ComputeOrto([LEMD_lon, LEMD_lat], [RJAA_lon, RJAA_lat], 100)
Example #2
0
    def setUpClass(cls):
        # San Francisco:
        KSFO_lon = convert_dms_to_dec(122, 22, 31, 'W')
        KSFO_lat = convert_dms_to_dec(37, 37, 8, 'N')
        # Madrid:
        LEMD_lon = convert_dms_to_dec(3, 33, 39, 'W')
        LEMD_lat = convert_dms_to_dec(40, 28, 20, 'N')

        cls.ortographic = ComputeOrto([KSFO_lon, KSFO_lat],
                                      [LEMD_lon, LEMD_lat], 100)