Exemplo n.º 1
0
    def get_watch(self):
        '''
        Function to get the possible watch type.
        Function returns nothing, but sets the following
        variables:
        
        self.watch_type - possible watch type
        
        Parameters
        ----------
        None
        
        Returns
        -------
        None
        '''
        watch_types = watch_type.possible_watch(self, use_left=False)
        self.right_watch_type = watch_types[0]

        watch_types = watch_type.possible_watch(self, use_left=True)
        self.left_watch_type = watch_types[0]

        if self.latitude < 0:
            self.watch_type = self.left_watch_type
        else:
            self.watch_type = self.right_watch_type
Exemplo n.º 2
0
 def get_watch(self):
     '''
     Function to get the possible watch type.
     Function returns nothing, but sets the following
     variables:
     
     self.watch_type - possible watch type
     self.watch_type_color - the color of type severity
     
     Parameters
     ----------
     None
     
     Returns
     -------
     None
     '''
     watch_types = watch_type.possible_watch(self)
     self.watch_type = watch_types[0][0]
     self.watch_type_color = watch_types[1][0]
Exemplo n.º 3
0
 def get_watch(self):
     '''
     Function to get the possible watch type.
     Function returns nothing, but sets the following
     variables:
     
     self.watch_type - possible watch type
     self.watch_type_color - the color of type severity
     
     Parameters
     ----------
     None
     
     Returns
     -------
     None
     '''
     watch_types = watch_type.possible_watch(self)
     self.watch_type = watch_types[0][0]
     self.watch_type_color = watch_types[1][0]
Exemplo n.º 4
0
''' Create the Sounding (Profile) Object '''