A METAR is an actual observed weather report, issued for a specific aerodrome, normally every 30 or 60 minutes. A TAF (Terminal Aerodrome Forecast) is a forecast of expected conditions at an aerodrome, covering a set validity period - usually 9, 24 or 30 hours depending on the airfield.
A METAR gives, in order: station identifier, date/time (as a six-figure group, day then hour and minute UTC, ending in Z), wind direction and speed, visibility, present weather, cloud, temperature and dew point, and QNH. CAVOK replaces visibility, weather and cloud groups when visibility is 10km or more, no cloud below 5000ft (or below the highest minimum sector altitude if higher) and no cumulonimbus or towering cumulus, and no significant weather present.
Wind is given as a three-figure true direction plus a two or three-figure speed in knots, for example 24012KT. Gusts are shown with a G, for example 24012G22KT. Visibility is given in metres up to 9999 (meaning 10km or more) then in whole kilometres. A variable wind direction is shown when the direction varies by 60 degrees or more and speed is above 3kt, coded as VRB.
Cloud is reported in oktas using FEW (1-2 oktas), SCT (3-4), BKN (5-7) and OVC (8), followed by height in hundreds of feet above the aerodrome. NSC means no significant cloud below 5000ft (or MSA) and no CB/TCU. NCD means no cloud detected by an automated station.
TAFs use change groups to show expected variation: BECMG (becoming - a gradual permanent change over a stated period), TEMPO (temporary - fluctuations lasting under an hour at a time, and in total less than half the period), and PROB30 or PROB40 (a probability of 30% or 40% that stated conditions will occur, often combined with TEMPO). FM (from) marks a rapid, significant change and starts a completely new set of conditions from that time.
Don't confuse BECMG (gradual, permanent) with TEMPO (temporary, fluctuating) - BECMG conditions are expected to persist once reached, TEMPO ones come and go. Don't forget CAVOK has strict criteria - all three conditions (visibility, cloud, weather) must be met, not just one. Remember METAR times are actual observation times, TAF times define a validity period, not certainty. Always read wind, visibility and cloud direction of change (e.g. improving vs deteriorating) from the sequence of groups, not just the first one given.
A TAF can be amended (TAF AMD) when actual or expected conditions differ significantly from the original forecast, and a corrected METAR is issued as METAR COR if an error is found in the original.