code: def get_l(self):
          
  
          try:
  
              return self.l.value
  
          except AttributeError:
  
              # Transform from L,B to R.A., Dec
  
              return self.sky_coord.transform_to('galactic').l.value
docs: Get Galactic Longitude (l) corresponding to the current position
  
          :return: Galactic Longitude