Science at the cutting edge is not infallible-and no one ever claimed it was.
But there is a difference between science at the frontier--where things are uncertain (or it wouldn't be the frontier) and established scientific facts.
With regard to global warming, we are talking about established science. 10-20 years ago that was not the case--but it is now.
Specifically:
1) The statement "global warming is happening" is not subject to debate. It is based on a set of measurments--repeatedly confirmed--that show temperatures are rising. That is observed fact--and will not change, regardless of our theoretical understanding of the phenomenon.
2) A multitude of causes for the current global warming were proposed. The only one that turned out to be correct was the sharp rise in atmospheric CO2--and the only additional source (beyond normal natural sources which have been constant) is human burning of fossil fulels--and, to a smaller extent, some other human activities. Again, this is observed fact-repeatedly confirmed. It will not change. There is no debate.
3) The assertation that "meterologists cannot predict the weather 20-50 years from now" is not correct. There are numerous instances in which precise short-term predictions are impossible--but long term trends can be predicted accurately. This is one of them. Here is an analogous example that illustrates how this works (though not the specific methodology, of course):
Take population changes. A demographer looks at a particular population and, among other things, makes predictions about how that population will change. Now, if he/she predicts that the population fo a given block in a city (currently with a population of 100) will be 110 5 ears from now, the odds the prediction will be correct are pretty lousy. There's too many small variables that would make little difference to the population of the entire city that would make a big difference to that one block. Someone might buy a lot and build an apartment building 4 years hence--jumping the population to 200.
But--if that demographer looks at all the large trends of growth, that affect the entire city, and predicts that in 5 years the population willl rise from 1 to 1.1 million, the odds are very high he will be very close--his prediction will be accurate.
The biggest difference between my example and the situation with global warming is that the level of certainty with global warming is far, far higher.
Just to dispel a few myths:
>what about volcanoes? A: the level of gases from volcanos has remaineed constant on average over the last two centuries (and, FYI, volcanic activity tends to cool,not warm, the Earth anyway). But the point is that effect has been--and remains--constant. Therefore, it has no net effect on temperature changes.
>The sun is causing global warming. A: for that to be the cause, there would have to be a sustained (for decades) rise in solar output (whhich is not the case; variations "skeptics" keep harping on are short term.). In addition, the amount of additional heat from the sun would have to be enough to account for the rise in solar output--and even the maximum variations observed are nowhere near that great.
>Global warming occurs naturally. A: of course it does--the first question scientists asked--25 years ago and more--was "is this a natural phenomenon?" The answer turned out to be no. That was far from certain at first. But it is certain now. And the corallory argemet: its natural because past warming trends have been natural"--is invalid. That's like saying because some forest fires are natural, no forest fires are caused by careless campers.
BTW: I'm answering you at length becaue the tone of your post shows some indication you may be open-minded enough to learn some of the real science that is involved. Please do not mistake it for a debate position--it isn't . It is an opportunity for you to learn, if you are willing to do so.