def METHOD_NAME(self, header, fobj=None):
    self.header = {}
    self.header.update(header.items())
    self.fix_bad_headers()
    try:
        # reconstruct a pyfits header
        hdr = pyfits.Header(header.items())
        self.logger.debug("Trying to make astLib wcs object")
        self.wcs = astWCS.WCS(hdr, mode='pyfits')
        self.coordsys = self.get_coord_system_name(self.header)
        self.logger.debug("Coordinate system is: %s" % (self.coordsys))
    except Exception as e:
        self.logger.error("Error making WCS object: %s" % (str(e)))
        self.wcs = None