<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def metar(self) -> str: """ Builds a METAR string from a MIZ file A lots of information is inferred from what information we have available in DCS. There constraints in the way MIZ files are built, with precipitations for example. Returns: METAR string """

        metar = f'{self._icao} ' \
                f'{self._time} ' \
                f'{self._wind} ' \
                f'{self._visibility} ' \
                f'{self._precipitations} ' \
                f'{self._clouds} ' \
                f'{self._temperature} ' \
                f'{self._pressure} ' \
                f'{self._qualifier}'
        return re.sub(' +', ' ', metar)