code: def metar(wxdata: MetarData, units: Units) -> MetarTrans:
      
      translations = shared(wxdata, units)
      translations['wind'] = wind(wxdata.wind_direction, wxdata.wind_speed,
                                  wxdata.wind_gust, wxdata.wind_variable_direction,
                                  units.wind_speed)
      translations['temperature'] = temperature(wxdata.temperature, units.temperature)
      translations['dewpoint'] = temperature(wxdata.dewpoint, units.temperature)
      translations['remarks'] = remarks.translate(wxdata.remarks)  # type: ignore
      return MetarTrans(**translations)
docs: Translate the results of metar.parse
  
      Keys: Wind, Visibility, Clouds, Temperature, Dewpoint, Altimeter, Other