04 September 2009

One dimensional climate models

Some time back, I described the simplest meaningful climate model, and then gave a brief survey of the 16 climate models.

The next 4 I'll take up are the 4 1 dimensional climate models. These are the models that vary only in longitude, only time, only in latitude, or only in the vertical. It'll be in that order. This turns out to be the order of difficulty, and the order of interest. It isn't until the vertical that we'll get to how exactly it is that the greenhouse effect works.

On the other hand, with the model in latitude we'll see some powerful statements about the fact that energy has to move from the equator towards the pole. Not just the fact, but how much, and how it changes with latitude.

In the model with only time, we can look a little more at things we were thinking towards with the simplest model -- what happens if the solar output varies, or if the earth's albedo does. More is involved, and required, than just that. We'll have to start paying attention to how energy is taken up in the atmosphere, ocean, ice, and land. Not a very large amount of attention -- we can't tell the difference between the poles and the equator, or upper vs. lower atmosphere or ocean. But it's a start.

But for now, let's look at the simplest model in longitude only. As with any of our models, they start with the conservation of energy. The energy coming in is, as before, from the sun. How much energy arrives does not depend on what longitude we're at. Remember, even though the sun rises in the east and sets in the west -- east and west being matters of longitude -- the sun does eventually rise everywhere.

Energy coming in has to be balanced by energy going out. If it weren't, things would be changing over time and there is no time in this model. One part of the energy going out is the solar energy that gets bounced straight out. This fraction is called the albedo. Now albedo is something that can depend on longitude. For instance, land is more reflective than ocean. And along, say, 30 E, the earth is mostly land, while along, say 170 W, it is almost entirely ocean. Clouds can be anywhere. So ... we arrive at one of those unpleasant realities -- we have to get some data.

Normal business. The process arrives at telling us that we need to find averaged albedo over time (say some years) and all latitudes for each longitude. (We don't have to average over elevation because albedo is defined as the energy bounced out -- from whatever level of the atmosphere -- divided by the energy coming in.)

Once we have that, we can compute the temperatures at each longitude that will permit us to balance, with terrestrial radiation out, the incoming energy. These temperatures should be something like the blackbody temperature of the earth we found in the simplest model. But they'll vary some.

The next piece of data we'll need are the observed blackbody temperatures, by longitude. Then we'll compare the simplest model to the observations.

One thing which is possible, and we'll be looking for in our comparison, is that now we've added longitude, a new thing can happen. In the simplest model, the energy coming in had to be balanced, right there, by energy going out. Now that we have longitude, it's possible for energy to shift from one longitude to another. The Gulf Stream and North Atlantic Currents, for instance, move a lot of energy from west to east. If no energy is being transported, on the average, then the temperature for a longitude will be just what we expect. If there's a mismatch, energy has to be getting moved from one longitude to another.

I haven't collected the data yet, so I don't really know how it will turn out. I expect that clouds will cover the albedo differences between land and ocean to a fair extent, so the temperatures we'll compute will be fairly constant. I also expect that heat transport by longitude will be small -- the Gulf Stream's eastward warm current is balanced at least partly by a cool current (relative to local temperatures, that is!) at the equator.

On the other hand, I haven't looked at the data yet, so there is room for surprise. That'll be fun. Means we get to learn more than we expected.

02 September 2009

Models and Modelling

"All models are wrong. Some models are useful." George Box

Box was a modeller, and the sentiment is widely spread among modellers of all kinds. This might be a surprise to many, who imagine that modellers think they're producing gospel. The reality is, we modellers all acknowledge the first statement. We are more interested in the second -- Some models are useful.

But let's back up a bit. What is a model? In figuring out some of this, we'll see how it is that models can be imperfect, but still useful.

There are several sorts of model, is one thing to remember. On fashion runways or covers of magazines, we'll see fashion models. In hobby shops, we can get a model spacecraft or car. We could head more towards science, and find a laboratory model, or a biological model animal, statistical model, a process model, numerical model, and so on.

Common to the models is that they have some limited purpose. A fashion model is to display some fashion to advantage -- making the dress/skirt/make up/... look good. She's not to be considered an attempt to represent all women accurately. The model spacecraft is not intended to reach the moon. But you can learn something about how a spacecraft is constructed by assembling one, and the result will look like the real thing.

In talking about a laboratory model, read that as being a laboratory experiment. You hope that the set up you arrange in the lab is an accurate representation of what you're trying to study. The lab is never exactly the real thing, but if you're trying to study, say, how much a beam flexes when a weight is put in the middle, you might be able to get pretty close. If you want to know the stability of a full-size bridge with full size beams and welds and rivets assembled by real people, it'll be more a challenge -- represent the 1000 meter bridge inside your lab that's only 10 meters long. It won't be exact, but it can be good enough. Historical note for the younger set: Major bridges like the Golden Gate Bridge, Brooklyn Bridge, Tower Bridge, and such, were designed and built based on scale models like this. The Roman Aqueducts designed over 2000 years ago, still stand, and never came near a computer. They were all derived from models, not a single one of which was entirely correct.

In studying diseases, biologists use model animals. They're real animals of course. They're being used a models to study the human disease. Lab rats and such aren't humans. But, after extensive testing was done, it was discovered that the rats for some diseases, and other animals for other diseases, reacted closely enough to how humans did. Not exactly the same. But closely enough that the early experiments and tests of early ideas could be done on the rats rather than on people. The model is wrong, but useful.

Statistical models seem to be the sort that the most people are most familiar with. My note Does CO2 correlate with temperature arrives at a statistical model, for instance -- that for each 100 ppm CO2 rises, temperature rises by 1 K. It's an only marginally useful model, but useful enough to show a connection between the two variables, and an approximate order of magnitude of the size. As I mentioned then, this is not how the climate really is modelled. A good statistical model is the relationship between exercise and heart disease. A statistical model, derived from a long term study of people over decades, showed that the probability of heart disease declined as people did more aerobic exercise. Being statistical, it can't guarantee that if you walk 5 miles a week instead of 0 you'll decrease your heart disease chances by exactly X%. But it does provide strong support that you're better off if you cover 5 miles instead of 0. Digressing a second: Same study was (and is still part of) the support of the 20-25 miles per week running or walking or equivalent (30-40 km/week) suggestion for health. The good news being that while 20 is better than 10, 10 is better than 5, and 5 is way better than 0. (As always, before starting check with your doctor about your particular situation, especially if you're older, have a history of heart problems already, or are seriously overweight). This model is wrong -- it won't tell you how much better, and in some cases your own results might be a worsening. But it's useful -- most people will be better off, many by a large amount, if they exercise.

Process models started as lab experiments, but also are done in numerical models. Either way, the method is to strip out everything in the universe except for exactly and only the thing you want to study. Galileo, in studying the motion of bodies under gravity stripped the system, and slowed it down, by going to the process model of balls rolling down sloping planes. He did not fire arrows, cannon balls, use birds, or bricks, etc.. Simplified to just the ball rolling down the plane. The model was wrong -- it excluded many forces that act on birds, bricks, and all. But it was useful -- it told him something about how gravity worked. Especially, it told him that gravity didn't care about how big the ball was, it accelerated by the same rules. In climate, we might use a process model that included only how radiation travelled up and down through the atmosphere. It would specify everything else -- the winds, clouds, where the sun was, what the temperature of the surface was, and so on. Such process models are used to try to understand, for instance, what is important about clouds -- is it the number of cloud droplets, their size, some combination, ...? As a climate model, it would be wrong. But it's useful to help us design our cloud observing systems.

Numerical models, actually we need to expand this to 'general computational models' as the statistical, process, and even some disease models now, are done as computational models. These general models attempt to model relatively thoroughly (not as a process model) much of what goes on in the system of interest. An important feature being that electronic computers are not essential. The first numerical weather prediction was done by pencil, paper, and sometimes an adding machine -- more than 25 years before the first electronic computer. Bridges, cars, and planes are now also modelled in this way, in addition or instead of scale models. Again, all of them are wrong -- they all leave out things that the real system has, or treat them in ways simpler (easier to compute) than the real thing. But all can be useful -- they let us try 'what if' experiments much faster and cheaper than building scale models. Or, in the case of climate, they make it possible to try out the 'what if' at all. We just don't have any spare planets to run experiments on.

Several sorts of models, but one underlying theme -- all wrong, but they can be useful. In coming weeks, I'll be turning to some highly simplified models for the climate. The first round will be the four 1-dimensional models. Two are not very useful at all, and two will be extremely educational. These are 4 of the 16 climate models.

28 August 2009

Catching up

Catching up with posts, comments, and things in general since coming back from vacation.

New comments in:
What is scientific literacy?

Summary 1 of Simplest Climate Model

John Mashey: Now that I'm back, any time you're ready to send or post about your K-scale, I'm ready to look or post.

From the trip: Mountain goats keeping cool on some remnant snow/ice at Logan Pass. The rise is a glacial moraine -- bunches of junk, mostly loose rock, the glacier had pushed out ahead when it was larger.

17 August 2009

Off to the glaciers

By the time you see this, I'll be on my way to see some glaciers. Family vacation time. If I have a network connection, I might post some pictures. Otherwise, see you at the end of August.

14 August 2009

Science Jabberwocky

Twas brillig and the slithy toves
did gyre and gimble in the wabe.
All mimsy were the borogoves
and the mome raths, outgrabe.

Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!


... The start of Jabberwocky by Lewis Carroll. No, I'm not going to try to persuade you that there are some deep underlying scientific meanings behind it.

Rather, it provides some suggestions on how to read science in areas that you're not familiar with. I have to confess that in areas outside mine, there seems to be a terrible array of words no more obvious than 'brillig' and 'slithy'. And words that look familiar, like 'gyre and gimble', but which don't look like they are supposed to mean what I'm used to them meaning.

Still, even with most of the words being unfamiliar, we can read this can know quite a lot. That's part, after all, of what makes Jabberwocky readable at all. So, let's take line by line, work our way through, and see what we can extract even from intentional nonsense.

1) Twas brillig and the slithy toves
a) Brillig probably means something about the weather. We might expect 'twas sunny' (or cloudy, etc.) in a poetic start.
b) toves are things that can be slithy. We don't know what either of the terms is, but we can get that far. Probably there are also non-slithy toves. Poetry doesn't follow the rules of scientific writing, but usually you won't see a modifier (slithy) unless it's possible for the thing to not be that way.

2) did gyre and gimble in the wabe.
a) normally gyre and gimble would mean something about spinning. A gyre is a rotating mass of fluid, a gimble is a sort of bearing that permits pivoting -- but both would be nouns, and in this case they're clearly verbs. The toves are gyring and gimbling, or at least they did gyre and gimble. Pretty often when a noun is turned to a verb, it doesn't mean exactly what it used to. And, when it's applied to something that we don't know, we should tread cautiously about it having acquired a different meaning than we're used to. English is nothing if not free with having multiple meanings for words.
b) wabe ... probably some kind of place. We might be unsurprised with 'field' 'park' or the like here. On the other hand, it could also be more of an event -- a party, ballgame. Or could even be abstract ('the ether', 'the astral plane').

3)All mimsy were the borogoves
a) Borogoves are things that can be mimsy
b) Mimsiness occupies some kind of range, from not mimsy at all, to all mimsy. These particular borogoves are all mimsy. I can just see the scientific writing here: "We examined a sample (N = 30) of borgoves, and found their average mimsiness to be 45% with a range of 30 to 95% mimsy." Replace borogove with 'meteorological station' and mimsiness with 'completeness' and there's many a paper on the subject.

4) and the mome raths, outgrabe.
a) likewise, raths can be mome. There are some non-mome raths out there probably.
b) further, raths, or at least mome raths, can be outgrabe.
c) We might also guess that raths and borogoves have some tendency to be near each other.

5) Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!

a) Beware the Jabberwock. Easy enough; if you see a jabberwock, beware.
b) Jabberwocks are things that have jaws and claws. These are probably either why you should beware of a jabberwock, or how it is that you'll identify one. (They could also spit venom, but you won't know that until it's too late. The jaws and claws should be obvious much earlier.)

6) Beware the Jubjub bird, and shun
The frumious Bandersnatch!

a) Ok, there's a Jubjub, which is some kind of bird. It'd be nice to know what one looks like, so that we can properly beware.
b) More interesting, and helpful, is 'shun the frumious Bandersnatch'
i) Bandersnatches are things than can be frumious, and generally are (compare 'shun the poisonous rattlesnake' -- all rattlesnakes are poisonous, but in giving a warning, we do much more often use the redundant modifiers)
ii) we should shun them. Now this is interesting. Jabberwocks and Jubjubs, we should beware, but Bandersnatches we should shun. Shun is a social word, meaning we should not socialize with Bandersnatches. We would not say 'shun the poisonous rattlesnake', it'd be 'beware', 'flee', and the like. Shunning, we'd do with someone who was socially unacceptable 'shun the bore', 'shun the self-involved', and so on. Bandersnatches, apparently, are some kind of social creature that one could interact with, but you shouldn't. The reason we should not socialize with them is probably that they're frumious -- that's why the redundant modifier got used. So now we know that frumious describes some socially unacceptable behavior (at least to the person speaking).

I won't go through the whole thing. It's a piece of Through the Looking Glass, and you can find the whole Jabberwocky here.

Even with a torrent of unknown words, we can infer quite a lot about the things being discussed. In reading scientific work, unknown words will be common, so getting used to inferring what you can (couldn't make much headway on the Jubjub bird, but a fair amount on those frumious Bandersnatches) is a very good idea. Then keep reading and see how things get elaborated on. In Jabberwocky we never do hear more about the Jubjubs, so we're stuck at they're some kind of bird to beware. In a scientific paper, you'll usually see the same terms come up repeatedly, in different forms and contexts, so that it is often possible to build up a pretty good image by the time you slog through it. I confess it's a slog, since I've read papers outside my fields, and they're much more work to read than papers in my fields. Still, I get there.