code: def fix_bad_headers(self):
          
          # WCSLIB doesn't like "nonstandard" units
          unit = self.header.get('CUNIT1', 'deg')
          if unit.upper() == 'DEGREE':
              # self.header.update('CUNIT1', 'deg')
              self.header['CUNIT1'] = 'deg'
          unit = self.header.get('CUNIT2', 'deg')
          if unit.upper() == 'DEGREE':
              # self.header.update('CUNIT2', 'deg')
              self.header['CUNIT2'] = 'deg'
docs: Fix up bad headers that cause problems for the wrapped WCS
          module.
  
          Subclass can override this method to fix up issues with the
          header for problem FITS files.