Format longitude to fit the image name

def _format_lon(self, lon):
        ''' Format longitude to fit the image name '''

        lonf = self._map_center('long', lon)
        st = str(lonf).split('.')
        loncenter = ''.join(("{0:0>3}".format(st[0]), st[1]))
        return loncenter