Meteorology and Climate Change
Introduction to Meteorology
The science of meteorology
Meteorology is the study of the weather and climate of the Earth’s atmosphere. The atmosphere is a relative thin layer (about 1% of the Earth’s radius) of air that blankets the surface of our planet. Air is a mixture of numerous gases, consisting mostly of molecular nitrogen (N2) and oxygen (O2). Note the distinction between weather and climate:
- Weather is the condition of the atmosphere at a particular time and place. The atmospheric condition includes temperature, humidity, dew point, pressure, wind speed, cloud behavior, and precipitation.
- Climate is the condition of the atmosphere over a longer time span of many years
Topics in Meteorology
There are number of key concepts that we will explore as we consider the behavior of the Earth’s atmosphere. This includes
- The fundamental concepts of temperature and pressure and the structure and chemical composition of the Earth’s atmosphere,
- The energy cycle of the Earth’s atmosphere and how it drives weather and climate patterns; energy transfer, differential solar heating at high and low latitudes, seasonal effects, and the greenhouse effect,
- The behavior of water in the atmosphere and its central role in shaping weather conditions, relative humidity and dew point, cloud and fog formation, and precipitation,
- The forces that drive atmospheric winds, from local storm system to global circulation patterns
- Systems that drive weather changes in the mid-latitudes, including air masses, fronts and mid-latitude cyclones,
- Weather forecasting and modeling, and the tools used to characterize atmospheric conditions,
- Severe weather systems, including thunderstorms, tornadoes, lightning, and hail,
- Tropical weather systems, including hurricanes and typhoons, and atmospheric-ocean interactions, and
- The climate of the Earth, from the distant past to the present day, and anthropogenic effects on climate.
The atmosphere in context
It is important to recognize that the atmosphere is not isolated from other Earth systems, and we can consider interactions between the and geosphere, hydrosphere, atmosphere, biosphere.
The geosphere is the solid rocky mass of the Earth and provides the lower boundary to the atmosphere and oceans (which cover 71% of the area of the Earth). As a whole, planet Earth has a average radius of 6371 km and a mass of 6x1024 kg. This provides clues to its bulk composition: an iron core surrounded by a large silicate (rocky) mantle.
The hydrosphere consists of the water inventory of the Earth, making up about 0.03% of the Earth’s mass. The water of the Earth is distributed into 97% oceans and 3% freshwater; only about 0.001% of the Earth’s water is present in the atmosphere. Of the freshwater inventory, less than 1% is found in surface lakes and rivers; most freshwater is present in glaciers (70%) or groundwater (30%).
The atmosphere is a thin layer of air (a mixture of different gases) above the Earth’s surface. The mass of atmosphere is about one-millionth of the total mass of the Earth. The atmosphere is also relatively thin, and over 99% of the atmosphere’s mass is found below an altitude of 30 km (19 miles)
The biosphere consists of all plant and animal life on the planet. The biosphere is closely connected to the atmosphere through the processes of photosynthesis and respiration.
| Geosphere |
6.0x1024 |
| Hydrosphere |
1.8x1023 |
| Atmosphere |
5x1015 |
| Biosphere |
1x10^12 |
Note that we can weigh the atmosphere very accurately from measurements of surface pressure: the pressure generated at the surface by the weight of overlying air. An expression we can use is:
\(P=\frac{F}{A}=\frac{mg}{A}\)
where P = 1 atm = 101325 Pa, A=5.1x10^14 m^2 and g=9.8 m/s^2
solving for m = 5x10^18 kg (about 1 millionth of Earth mass)
Composition of the atmosphere
Although hundreds of species are present in the Earth’s atmosphere, it mostly consists of nitrogen and oxygen, along with argon, water, and carbon dioxide.
| Nitrogen |
N2 |
78.1% |
| Oxygen |
O2 |
20.9% |
| Argon |
Ar |
0.9% |
| Water |
H2O |
up to 4% |
| Carbon Dioxide |
CO2 |
400 ppm |
| Methane |
CH4 |
2 ppm |
| Nitrous Oxide |
N2O |
300 ppb |
| Ozone |
O3 |
10-100 ppb |
| Halocarbons |
CFCs, etc |
2 ppb total |
Aerosols - suspended particles in the atmosphere - also play an important role for assessing air quality and act as condensation nuclei in the formation of clouds.
Evolution of the atmosphere
Theres is evidence that the atmosphere was not always this composition, but has evolved over geological timescales. Most significant is the appearance of oxygen as a major atmospheric component.
- primordial atmosphere: hydrogen and hydrides readily lost to atmospheric escape
- initially N2, CO2, and H2O via volcanic outgassing
- Great Oxygenation Event - advent of photosynthetic life
- throughout this time, removal of CO2 into carbonate sediments and rocks
- the presence of oxygen is unusual, and is indicative of photosynthetic life:
\(6\textrm{CO}_2+6\textrm{H}_2\textrm{O}\xrightarrow{h\nu} \textrm{C}_{6}\textrm{H}_{12}\textrm{O}_6+6\textrm{O}_2\)
\(\textrm{C}_{6}\textrm{H}_{12}\textrm{O}_6+6\textrm{O}_2\longrightarrow 6\textrm{CO}_2+6\textrm{H}_2\textrm{O}\)
These reactions can be used to summarize the main interaction between the atmosphere and the biosphere.
The structure of the atmosphere
Atmospheric Pressure and Density
The atmosphere is bound to the Earth by gravity. As a result, atmospheric density and pressure are highest at surface and decreases (exponentially) with increasing altitude. The rate of change depends upon the force of gravity, temperature, the molecular weight of the gas(es).
Planetary atmospheres are in hydrostatic equilibrium. This means that gravity and pressure are in balance (in other words, the atmosphere does not escape into space nor does it collapse onto the surface of the planet).
Assuming hydrostatic equilibrium, we can determine the pressure at some altitude \(z\) by the relationship:
\(P(z)=P_o e^{(-z/H)}\)
where \(P_o\) is the initial pressure, \(z\) is the altitude, and \(H\) is the scale height defined as
\(H={RT}/{\mu g}\)
where \(R=8.314\) J/K-mol, \(g=9.8\) m/s^2, \(T=273\), and \(\mu=28.9\). This yields a scale height of about 8 km in the troposphere. The scale height is a useful term in atmospheric science because it tells us how rapidly the pressure decreases with changes in altitude.
This pressure-altitude relation can also be used to estimate the fraction of the atmosphere above/below a certain level. For example, Denver has an elevation of 5280 ft above sea level (1.609 km), so we can estimate the average pressure at this elevation:
\(P(1.609 \textrm{ km})=(1 \textrm{ atm})(e^{(-1.609\textrm{ km}/8 \textrm{ km})}=0.82\) atm
How high would we have to go for 50% of the atmosphere to be below us? About 5.5 km or 3.4 miles.
What is the estimated pressure on the summit of Mt. Everest? (8.8 km) About 0.3 atm.
Note that different units are used for pressure.
1 atm = 101325 Pa = 1.01325 bar = 760 mm Hg = 29.92 inches Hg = 10.3 m water = 33.9 feet water. This depends on what instrument - known as a barometer - is used to measure the pressure.
Pressure or temperature can be used to divide the atmosphere into layers.
Near the surface, the temperature also decreases with increasing altitude in the atmosphere. The rate of change is known as the lapse rate, defined as:
\(\Gamma=-\frac{\Delta T}{\Delta z}\)
A typical lapse rate is 6.5 K/km (3 F/1000 ft) but depends upon the presence of water (and latent heat released from condensation); a typical dry lapse rate is about 10 K/km (5 F/1000 ft).
Troposphere: closest to the earth, where the temperature generally decreases with altitude, from 288 K at surface to 217 K at tropopause
- 80% of the mass of the atmosphere
- most “weather” occurs in troposphere
- top of the troposphere is the tropopause, a temperature inversion
- tropopause serves as upper lid on most weather patterns
- typically 10 km in height, but varies and is generally higher in tropics (15-16 km) than at the poles (8-9 km)
Why does temperature decrease with height?
- atmosphere is heated from the surface
- adiabatic cooling as air ascends
Stratosphere: where temperature increases with altitude
- ozone is absorbing solar energy, this absorption causes temperature increase
- lack of both mixing and turbulence - very stable with respect to vertical mixing because temperatures increase with altitude
- upper bound is stratopause
Mesosphere: where temperature decreases with altitude; the mesopause separates the mesosphere from the thermosphere, where temperature increases with altitude again; the tropopause to thermosphere is sometimes called the middle atmosphere, 100 km and above is upper atmosphere.
At these upper layers, important distinction between temperature (average kinetic energy of gas particles) and heat (total thermal energy of the atmospheric gas)
Above 100 km, cosmic radiation, solar X-rays and ultraviolet radiation increasingly affect the atmosphere, which cause ionization (and hence ionosphere)
The atmosphere is a mixture of gases with constant proportions up to 80 km or more. The exceptions are ozone, which is concentrated in the lower stratosphere, and water vapor in the lower troposphere. The principal greenhouse gas is water vapor. Carbon dioxide, methane and other trace gases have increased since the Industrial Revolution, especially in the twentieth century due to the combustion of fossil fuels, industrial processes and other anthropogenic effects.
Interlude: weather maps and weather phenomena
- watch: conditions are favorable for weather hazard in your area
- warning: a weather hazard is developing in your area
Energy, Heat, Work Chapter 2 (AK), Chapter 3 (BC)
energy is the capacity to do work (when a force acting on an object causes it to move), and can be further divided into kinetic and potential energy.
Considering a parcel of air in the atmosphere, its temperature would describe the average kinetic energy of its atoms and molecules. Expressed in F, C, and K, where
\(^\circ\textrm{C}=\frac{5}{9}((^\circ\textrm{F})-32)\)
\(^\circ\textrm{F}=\frac{9}{5}(^\circ\textrm{C})+32\)
\(\textrm{K}=(^\circ\textrm{C})+273.15\)
Heat refers to the transfer of energy from warmer objects to colder objects and represents the total thermal energy of a system. It is distinct from temperature!
The amount of heat depends upon (\(q=mC_s\Delta T\)):
- the total amount of the the material in the system
- the thermal properties of the material
In atmospheric systems, energy is transferred by
- radiation (emission and absorption of radiation)
- conduction (contact between substances)
- convection (vertical movement of air parcels)
- advection (horizontal movement of air masses)
- latent heating (energy released by phase changes of water)
- ice -> liquid water -> water vapor (absorbs heat)
- water vapor -> liquid water -> ice (releases heat)
Cloud formation (for example) will release heat to the surrounding atmosphere. This slows the rate of cooling with altitude (i.e., the lapse rate decreases).
The energy balance of the planet as a whole depends on radiation: how the Earth exchanges energy with space.
Radiation Laws
- Every object with a temperature above 0 K emits radiation.
- Stefan-Boltzmann Law: objects with higher temperature emit more radiation per unit area (W/m^2), to the fourth power of temperature \(F=\sigma T^4\)
- Wien’s Law: objects with higher temperature emit radiation at shorter wavelenghts, \(\lambda=\frac{2898}{T(K)}\)
- So, for example, most objects with temperatures near that of the surface will primarily emit at infrared wavelengths
The Sun is the main source of energy for the weather and climate, and reaches the Earth via radiation
- source of energy is fusion of H into He in interior
- outer layers have temperature of 5770 K (incandescent: so hot that it glows)
- total energy output is \(F=\sigma T^4\) where \(T=5780\) and the Stefan-Boltzmann constant \(\sigma=5.67\times10^{-8}\) W m^-2 K^-4.
- This yields a total energy output of \(6.3\times10^{8}\) W per m^2 on the solar photosphere,
- the radius of the Sun is \(6.957\times10^{8}\) m so the Sun has a surface area of \(6.08\times10^{18}\) m^2.
- the total solar output (solar luminosity) is therefore \(3.82\times10^{26}\) W.
- At the distance of the Earth’s orbit, the Sun’s radiation is spread out over an area \(A=4\pi r^2\) where \(r=1.496\times10^{11}\) m, giving \(A=2.81\times10^{23}\) m^2.
- This yields an energy flux of about 1360 W/m^2, a value sometimes referred to as the solar constant. This is the incoming solar flux at the top of the Earth’s atmosphere - we will come back to this when we look at the energy budget of planet Earth.
Energy Budget of the Earth
Starting with 1368 W/m^2 at Earth’s orbit (incoming flux at top of atmosphere): averaged over the entire surface area of the Earth we have (area of disk)/(area of sphere) = 1/4 of this value incident, on average, at the top of the Earth’s atmosphere: 342 W/^2.
The radiation transfers are via shortwave (visible) or longwave (infrared) radiation. Why these two? Because of their temperatures, the Sun is emitting in the visible and Earth materials are emitting in the infrared.
Energy Budget Diagram
All fluxes eventually reach equilibrium - if an imbalance, then temperature will change in response (to restore equilibrium):
- incoming energy = outgoing energy, \(\Delta T=0\)
- incoming energy > outgoing energy, \(\Delta T>0\)
- incoming energy < outgoing energy, \(\Delta T<0\)
We see this even during the course of a day, as the temperature changes in response to incoming and outgoing radiation
Seasons
The difference in the energy budget as a function of latitude shows the importance of
- the incidence angle for the Sun, and
- the length of a day
The angle is important because higher solar altitudes mean greater intensity; at lower angles the sunlight is spread out over a larger area.
Because of the tilt of the Earth’s axis, this changes throughout the year and gives rise to seasonal effects.
- vernal equinox: Sun above equator at noon (\(47^\circ\) altitude at our latitude)
- summer solstice (Jun 21): Sun above Tropic of Cancer (\(23.5^\circ\) N) at noon (\(70^\circ\) altitude at our latitude)
- autumnal equinox (Sep 21): Sun above equator at noon (\(47^\circ\) altitude at our latitude)
- winter solstice (Dec 21): Sun above Tropic of Capricorn (\(23.5^\circ\) S) at noon (\(24^\circ\) altitude at our latitude)
Radiative Properties of the Atmosphere
As with the radiative budget, we also need to think about what passage through the atmosphere does to the incoming and outgoing radiation, as different molecules in the atmosphere absorb different wavelengths of light.
The atmosphere is mostly transparent to visible wavelengths. By time sunlight reaches the surface, most UV and much IR light has been absorbed.
Selective absorption leads to the greenhouse effect: the surface absorbs shortwave radiation but emits at longwave (infrared) wavelengths which are absorbed by gases in the overlying atmosphere. The atmosphere thus re-radiates this energy in all directions including toward the surface.
Temperature Cycles
- daily mean temperature: average of maximum temperature and minimum temperature
- \(\frac{\textrm{max + min}}{2}\)
- monthly mean temperature: average of daily mean temperatures for a month
- \(\frac{\textrm{sum of daily mean temps}}{\# \textrm{ of days in month}}\)
- annual average temperature: sum of monthly mean temperatures divided by 12
- \(\frac{\textrm{sum of monthly mean temps}}{12}\)
Effects on Temperature (both annually and daily):
- latitude (higher latitude -> lower insolation -> lower tempeatures)
- surface type (albedo and thermal properties)
- elevation and aspect (higher altitude -> lower temperatures; aspect changes insolation)
- proximity to water (presence of bodies of water moderates temperature variations). Water has
- higher specific heat
- absorption of heat via evaporation
- energy distributed over thicker layer than for land
- advection (prevailing wind patterns may bring cooler/warmer air)
- cloud cover (provides cooling in summer and moderates temperatures in the winter)
We can also explore interannual variations in temperature. These allow us to establish climate normals. Climatological temperatures refer to average temperatures over a 30-year period. This is often calculated for 1951-1980 or 1981-2010.
The difference between the temperature at a given time for a particular location and the climatological normal is the temperature anomaly.
Derived indexes are used to provide useful information about how the weather feels or to plan and monitor crop growth.
- wind chill: takes into consideration heat loss from the body due to cold temperature and wind.
- heat index: takes into consideration how high humidity reduces the rate of evaporation (and therefore cooling) from the body
- growing degree days: can be used to track plan maturation based upon daily temperatures; cooler temperatures require longer growth seasons
Water in the Atmosphere
- variable 0-4% of atmospheric
- exists as all three phases
Different ways of expressing water content
- mixing ratio (specific humidity): mass of water relative to weight of other molecules in given volume of air (grams water vapor per kilogram dry air)
- absolute humidity: mass of water per unit volume of air (grams of water vapor per cubic volume of air); regardless of temperature
- vapor pressure: the pressure exerted by water vapor molecules in the air, expressed in units of pressure (mb or inches Hg)
- saturation vapor pressure: vapor pressure exerted by water vapor in equilibrium with liquid water (pressure exerted at saturation); expressed in units of pressure (mb or inches Hg). At equilibrium saturation, the rate of evaporation equals the rate of condensation.
- relative humidity: a measure of how close the water vapor pressure in the air is to the saturation vapor pressure at that temperature. Relative humidity = (actual vapor pressure)/(saturation vapor pressure)x100%
- dewpoint: the temperature to which air must be cooled to become saturated. The dew point is a measure of the actual water vapor content of the air
Coupling the ideal gas law with dew-point vapor pressure allows you to determine mixing ratio and absolute humidity:
- if temp is 81 F (36.13 mbar vapor pressure) and dewpoint is 70 F (25.04 mbar vapor pressure), relative humidity is \(\phi=\frac{25.04}{36.13}\times100=69\%\)
- this is about 2.5% of the atmospheric pressure, so H2O is about 2.5% the volume of the atmosphere. Using the ideal gas law for 81 F (300.4 K) this yields 1 mole of H2O vapor or 18 g/m^3 mixing ratio.
- 1 m^3 of air at 300 K contains about 40 mole of gas and the average molecular weight of the atmosphere is \(\mu=29\) g/mol, so 1 m^3 has about 1.176 kg of air, yielding 18 g/1.176 kg = 15.3 g/kg absolute humidity.
The behavior of water with changing temperature is key to understanding cloud formation:
- as air cools, the relative humidity increases. If cooled sufficiently, the dewpoint is reached and \(\phi=100\%\), driving condensation
- can have condensation at lower humidity with the solute effect: where dissolved salt attracts water molecules, lowering the vapor pressure.
- the curvature effect makes it easier for water molecules to evaporate from a small droplet.
Droplets form around particles via nucleation.
- homogeneous nucleation: formed only by water molecules (need very low temperature and high humidities)
- heterogeneous nucleation: particles & aerosol serve as condensation nuclei for water droplets
- ice nuclei are particles around which ice crystals form, which occurs with specific molecular orientation
Note that fog can be thought of as a surface cloud, formed by condensation out of saturated atmosphere. There are different ways this can occur:
- radiation fog forms following nights where significantly surface cooling has occurred, raising the relative humidity of the air to saturation (can occur w/inversion)
- advection fog occurs when warm, humid air flows over a colder surface, causing the air to cool to saturation.
- evaporation or steam fog occurs when warm water evaporates into the air
But what about cloud formation? Generally need a mechanism for air to ascend. There are different ways this might occur:
- orographic lifting (upslope flow)
- frontal lifting
- thermal convection
- convergence
The extent of lifting and the possibility of cloud formation depend upon the temperature and relative humidity of the rising air, and upon the environmental conditions of the atmosphere for that time and location.
Atmospheric Stability
Warm parcels of air will ascend through the atmosphere, but cool as they ascend. Whether they will continue to rise or subside depends upon the stability of the atmosphere.
- the environmental lapse rate (ELR) describes the actual atmospheric temperature change with altitude at a specific time and location
- the dry adiabatic lapse rate (DALR) describes how a dry parcel of air (that is, a parcel where no condensation is occurring) will cool as it rises and expands. The DALR is typically \(10^\circ\) C/km.
- the wet adiabatic lapse rate (SALR) describes how quickly a saturated parcel of air (where condensation is occurring) will cool as it rises and expands. The SALR is typically \(6^\circ\) C/km.
In other words, the SALR is lower than the DALR because the condensation of water releases latent heat to the surroundings.
Whether or not the atmosphere is stable depends upon the relative values of ELR, DALR, and SALR. The atmosphere is
- absolutely unstable if DALR<ELR; in other words, even a dry parcel will cool more slowly than the surrounding environment and thus remain warmer (and more buoyant) than the surrounding atmosphere
- absolutely stable if ELR<SALR; in other words, even a saturated parcel will cool more quickly than the surrounding environment and thus subside
- conditionally unstable if SALR<ELR<DALR where saturated parcels will keep rising but dry parcels will subside
In general, the steps for cloud formation are:
- lifting of air (via free convection or forced convection)
- as the air rises, the temperature decreases
- as the temperature decreases, the relative humidity increases
- the relative humidity reaches 100%
Formation of Precipitation
Most condensed droplets & ice crystals in a cloud are too small to fall through the atmosphere (and would rapidly evaporate): condensed droplets are typically on the order of 10-20 microns.
Rain droplets form primarily through collision-coalescence where droplets collide and merge until heavy enough to fall through the atmosphere (100s microns)
Ice crystals can grow by accretion around nuclei or aggregation of ice crystals.
The Bergeron-Wegener Process can occur if a cloud contains both liquid water and ice. Because the vapor pressure is greater over water than ice (that is, it is easier for water molecules to evaporate from the liquid), the ice can grow at the expense of the liquid. This can lead to rapid growth of ice crystals in the cloud.
There are different types of precipitation:
- rain: the precipitations reaches the surface while staying in the liquid phase (it may begin as ice higher in the atmosphere)
- snow: the precipitation falls as ice/snow crystals all the way from the cloud to the surface
- freezing rain: the precipitation falls as a liquid for part of its descent, but low surface temperatures cause the rain to freeze on contact. This is often associated with an inversion.
- sleet: the precipitation falls as a liquid for part of its descent, but freezes into ice pellets before reaching the surface. This is often associated with an inversion.
Cloud Types
The classification scheme first developed by Luke Howard in 1803 is still generally applied today. Clouds are classified by their form (vertical extent) and by their altitude.
Form
- cirro- (wispy)
- strato- (layered)
- cumulo- (convective)
- nimbo- (precipitating)
Altitude
- high (cirro-): cirrus, cirrostratus, cirrocumulus
- middle (alto-): altocumulus, altostratus, nimbostratus
- low: cumulus, stratus, stratocumulus, cumulonimbus
| high |
cirrocumulus |
cirrostratus |
| middle |
altocumulus |
altostratus |
| low |
cumulus |
stratus |
Atmospheric Forces, Pressure, and Wind
Wind: horizontal movement of air; characterized by both a direction and a magnitude; a wind is labeled by the direction from which it is traveling (e.g. a NW wind is coming from the NW)
This can be expressed using windpoles, which shows the direction and magnitude of the wind (in knots or nautical miles per hour); 1 knot = 6076 ft or 1.15 miles or 1/60th a degree of latitude
Forces that influence wind
- Pressure Gradient Force
- Gravitational Force
- Coriolis Force
- Centrifugal Force
- Friction
Pressure Gradient Force
pressure gradient is a change in pressure over a distance; the pressure gradient force over some distance \(n\) is thus
\(PGF = \frac{\Delta P}{\Delta n}\)
The force always points from areas of higher pressure to areas of lower pressure. The steeper the pressure gradient, the stronger the PGF and the stronger the winds.
Mapping variations in pressure can thus be used to indicate the PGF. There are two main ways to show this:
- surface pressure map: shows the atmospheric pressure adjusted to sea level (MSLP). Isobar contours can be drawn to indicate pressure values.
- isobaric chart: shows the altitude of a given pressure surface. For example, how high is the “500-mbar” level above the surface.
Can again think of how pressure reflects the weight of the air above: areas of high pressure have higher isobaric altitudes than areas of low pressure; this will influence air movement and subsequent weather.
If PGF always points from high pressure to low pressure, and pressure decreases with altitude, why doesn’t the atmosphere just fly away? The answer is that there is a hydrostatic balance between the PGF and gravity.
Coriolis Force
Acceleration caused by the Earth’s rotation:
- produces a right-hand turn in Northern Hemisphere
- produces a left-hand turn in Southern Hemisphere
This is also the source of how we describe cyclonic rotation (counter-clockwise around a low) and anticyclonic rotation (clockwise around a high)
\(CF = 2fV\)
where \(V\) is the wind speed and \(f=2\Omega sin \phi\); the Coriolis force increases with wind speed and increases with increasing latitude.
Centrifugal Force
The centrifugal force ie caused by centripetal acceleration (toward the center of the rotation); for wind the centrifugal force points outward from the center of rotation (that is, it is the tendency of wind to want to travel in a straight line)
\(CENT=\frac{V^2}{R}\)
where \(R\) is positive for cyclonic flow and negative for anticyclonic flow: works against PGF around lows and with PGF around highs; this force also gets very strong for small turning radii.
Friction
Friction with the surface will decelerate the wind; this force thus always moves in the direction opposite the wind. It is described by
\(FF=-kV\)
where \(V\) is the wind speed and \(k\) describes the roughness of the surface. Trees and tall buildings have much more “roughness” whereas sand/snow/water have very low roughness.
Combining Forces
Buys-Ballots Law:
- low pressure lies to the left of the wind (if wind is at your back, the low pressure is to the left)
- high pressure lies to the right of the wind (if wind is at your back, the high pressure is to the right)
The forces will combine to yield the wind behavior. This will tend to produce a geostrophic wind: in which there is a geostrophic balance between the Coriolis force and the PGF (\(PGF+CF=0\)).
This will cause the wind to tend to move parallel with the isobars. Again, we find that a tighter pressure gradient will yield a stronger geostrophic wind.
If all of the effects are combined, we will see geostrophic balance. Often, however, we will see subgeostrophic flow around low pressure systems and supergeostrophic flow around high pressure systems. This will accomplish gradual movement toward the low pressure center and away from the high pressure center.
To summarize the balances:
| hydrostatic |
vertical PGF, gravity |
\(dP/dz=-\rho g\) |
| geostrophic |
PGF, Coriolis |
\(dP/dn = -2\Omega \sin \phi v\) |
| gradient |
PGF, Coriolis, centrifual |
\(\frac{v^2}{r}+2\Omega \sin \phi v+\frac{dP}{dn}=0\) |
| Guldberg-Mohns |
PGF, Coriolis, friction |
\(-kv+2\Omega \sin \phi v+\frac{dP}{dn}=0\) |
Air Masses
Characterized by temperature and humidity, which are largely inherited from their source region
Humidity: Continental, Maritime
Temperature: Arctic, Polar, Tropical
This yields: cP, mP, cT, mT, and cA (Arctic air masses are always dry, and are also very stable)
|
v. cold |
cold |
warm |
| continental |
v cold, dry (cA) |
cold, dry (cP) |
hot, dry (cT) |
| marine |
v cold, dry (cA) |
cool, humid (mP) |
warm, humid (mT) |
Air masses can undergo air mass modification as they travel (advect) over the surface, via heat/moisture exchange and/or lifting.
A prime example of modification is lake-effect snow, during which a cold air masses moves over (relatively) warmer water.
The boundaries between air masses are known as fronts. There are different types of fronts:
- cold front: colder air follows the front’s passage; cold air generally moves faster and underneath warmer air. This usually leads to a relatively abrupt zone of lifting and cumuloform clouds
- warm front: warmer air follows the front’s passage; warm air usually slides over the colder air mass relatively gradually. This leads to a gradual sequence of cloud types and longer-term precipitation.
- stationary front: little horizontal movement along front
- occluded front: when a faster-moving (usually cold) front overtakes a slower warm front
- cold occlusion is when the new air mass is more stable than what it is replacing
- warm occlusion is when the new air mass is less stable than what it is replacing
- dryline: a frontal boundary based upon moisture & wind instead of temperature (e.g., cT and mT air over Texas): huge difference in dewpoint
The movement of fronts is closely tied to general cyclonic and anti-cyclonic circulation patterns. The low-pressure systems in particular can develop into large, strong storms known as…
Mid-Latitude Cyclone
How do fronts move? Often connected to pressure lows known as midlatitude cyclones (or extratropical cyclone);
Benjamin Franklin correctly determined that the surface winds of a storm system were only incidental to the forward movement of the storm;
Norwegian Cyclone Model:
First proposed by Jack Bjerknes in the 1920s (Bergen, Norway).
Note: we now understand that upper-air conditions must be favorable; this is more likely to develop just east of a trough (where we have diffluence).
- low pressure develops along a stationary frontal boundary: specifically, the “polar front” dividing mid-latitude air masses from colder polar air masses. Idealized would be mT and cP air masses.
- the birth of a cyclone is the formation of a frontal wave: a slight bend in the front; warm air tends to move northward and cold air moves southward around a developing pressure low
- the wave intensifies and the two fronts become better organized in an open wave pattern
- the wave becomes a mature low pressure center with cyclone flow; because the cold front moves faster than the warm front, it will overtake it and produce an occluded front
- eventually the occlusion increases and the cold air cuts off the supply of warm air completely from the low pressure center, leading to dissipation
All of this takes place over the course of several days as the entire cyclone moves eastward
Some Examples of common types…
Alberta Clippers
- fast moving and usually don’t have too much precip associated with them because they are far from a moisture source
Colorado Low
- intense low, with strong warm air advection in the warm sector, very cold temps in the cold sector. If there is a lot of gulf moisture to work with, they there is usually sleet, freezing rain and rain associated with the warm front, strong thunderstorms along the southern edge of the cold front and snow along the backside and to the NW of the Low (even blizzards)
Thunderstorm development
- still need a mechanism for lifting; this can often take place along a cold front, especially if advancing into warm, moist (mT) air
- we will have frequent thunderstorms anywhere there is liftingat
- thunderstorm development is tied closely to the stability of the atmosphere
- stability index: take a parcel and lift it adiabatically (DALR) to saturation, then lift saturated parcel (SALR) to 500-mbar level
- compare parcel temperature to environmental temperature
- Lifted Index = T(env) - T(parcel)
- Lifted Index values below zero are unstable (the parcel is warmer than the environment)
Single-cell (local) thunderstorm (or “air-mass” thunderstorm)
- occur by thermal convection, orographic lifting, or surface convergence
- developing stage - mature stage - dissipating stage
development
- lifting to LCL and cumulus-type cloud formation that expands vertically and horizontally
- entrainment of surrounding dry air; evaporation cools the air within the cloud
- moist air flowing upward begins producing an updraft
- droplet formation by collision and coalescence
mature stage
- precipitation begins to fall from the cloud
- rain, lightning, possibly small hail
- rain helps produce a cool downdraft
dissipating stage
- main factor: updraft weakens and collapses (downdraft begins to dominate and cuts of upward supply of moisture)
- moisture content decreases and supply of latent heat diminished
- precipitation weakens and cell dissipates
Lightning
electrical discharged caused by thunderstorm motions
- intra-cloud
- inter-cloud
- cloud-to-ground (CG)
probably about 40 lightning strikes per second on the surface of the Earth (100 is a commonly cited value)
Cloud Electrification
- need charge separation for lightning to occur
- updrafts bring ice crystals to top of cloud; downdrafts provide warming and collisions, which partially melts ice to form “soft hail” or “graupel”
- graupel-ice process: graupel and ice collide and exchange charges:
- higher/colder: ice becomes positively charged, graupel gains negative charge
- lower/warmer: ice becomes negatively charged, graupel gains positive charge
Field Generation
- positive charge induced and concentrated at surface below cloud
- will tend to concentrate at higher features (closer to negative charge)
- enormous potential created 9000 V per meter)
Sequence
Preliminary breakdown: change in field about 30 msec before first stepped leaders emerge from the cloud base.
An electric spark is an abrupt electrical discharge that occurs when a sufficiently high electric field creates an ionized, electrically conductive channel through a normally-insulating medium, often air or other gases or gas mixtures.
Local discharge between + region near base and - regions above, freeing more electrons in - region
- Movement downward of electrons in stepped leader, in steps of about 50 yards long (millionths of a second).
- Negative charge (electrons) moves down the leader channel toward ground at 75 miles/second
- conduit of ~ an inch at center of luminous flow
- as it reaches ground, induces large amounts of positive charge on surface beneath it
- connection with upward-going discharge. this completes the conduit from cloud to ground.
- huge current discharge at point of contact; the region of high current moves upward as the channel luminosity travels up the channel (the luminous return stroke). But electrons are always moving downward (for this type of strike).
What’s happening? if the electric field is strong enough, it exceeds the dielectric strength of the gas (which is normally a pretty good conductor), and the molecules in the air will begin to partially ionize and conduct electricity (by movement of electrons).
Multi-cell Thunderstorm
- composed of several individual single-cell storms at different stages of development (cumulus, mature, dissipating)
- moderate wind shear tilts storm, preventing quenching from rainfall into updraft
- gust fronts may produce additional lifting along the surface and trigger the formation of new cells (the gust front can produce phenomena such as shelf clouds)
- multicell thunderstorms may grow or join to produce mesoscale convective systems
Mesoscale Convective Systems
Squall Line
- thunderstorms arranged in a line or band
- along boundary of unstable air, often ahead of cold front
- Have life spans of 6 to 12 hours or more
- Extend over several states simultaneously
- A shelf cloud is often observed above the gust front
- Divergence aloft and a broad, low-level inflow of moist air favor development of squall lines
Mesoscale Convective Complex
- large complex of individual storms
- may form under ridge of high pressure if unstable air conditions at the surface
- An MCC is a complex of individual storms that covers a large area in an infrared satellite image and lives more than 6 hours
- Often form in late afternoon and evening
- In satellite images give the appearance of a large circular storm with cold cloud-top temperatures
- Often form underneath a ridge of high pressure; because upper-level divergence can occur in a ridge
- Do not require as much vertical shear as squall lines
- Can be maintained by the low-level jet
Supercell Thunderstorm
Conditions that favor violent thunderstorms…
- high vertical wind shear
- low level (900 mbar) jet of mT air (sometimes called the nocturnal jet)
- capping inversion caused by movement of cT air at around 700 mbar level; increases LI at the surface
- updrafts tilt this shearing and can develop into a supercell
Supercell Thunderstorms
- The supercell thunderstorm is a large single-cell storm, sometimes 32 km or more across, that almost always produces dangerous weather
- Strong wind gusts, large hail, dangerous lightning and tornadoes
- Require a very unstable atmosphere
- Require strong vertical wind shear (in direction and speed)
- Vertical wind shear causes supercell thunderstorms to rotate around a vertical axis
- strong westerly flow aloft and southeasterly surface winds; vortex tube can be carried vertical by a strong updraft
- updraft and downdrafts do not interfere with each other: storm may survive for several hours
Supercell Structure
- mesocyclone: spinning updraft (5 to 20 km across); downdrafts caused by heavy precipitation
- Like a miniature extratropical cyclone, 5 to 20 km across; 2-5 mbar pressure drop
- Narrows and rotates more quickly when it stretched, but too large and too slow in rotation to be a tornado
Downburst/Microburst
- rain evaporates below cloud, leading to rapid cooling; cold, heavy air plunges to surface
- RFD (rear flank downdraft) is cool and relatively dry
Tornadoes
- Most form underneath supercell thunderstorms (most supercells do not cause tornadoes, but most tornadoes form from supercells)
- The cloud base underneath the updraft on the rear side of the thunderstorm may lower, forming a rotating wall cloud
- A rapidly rotating column of air much smaller than the mesocyclone may protrude beneath the wall cloud
- 200-250 mbar pressure drop
- As water vapor condenses in the air rushing up into this column, a funnel cloud may form and reach the ground, becoming a tornado
- air rushes up into low pressure core of mesocylone expansion, cooling, and cloud formation descending air in core (may reach ground)
formation & organization
- descending air in rear-flank downdraft wraps around mesocyclone
- rain/hail in RFD can produce hook echo
- becomes focused on surface area of lower pressure
- formation of funnel cloud and debris: funnel is rapid condensation of water due to adiabatic cooling
maturity
- rapid inflow of warm, moist air into vortex
- peak strength and size (usually 100-200 meters in size; but up to ~1 mile in diameter)
- RFD begins wrapping around vortex
dissipation
- RFD complete wraps around tornado
- intensity decreases, tornado tilts with height
- drawn into thin, rope-like structure
Radar Signatures
- hook echo
- TDS (tornado debris signature)
- Doppler rotation —> vortex signature
- these advances are creating increasing lead times for advanced warning
Tornado Strength
- Wind estimation based on observations of tornado damage
- Enhanced Fujita (EF) scale ranges from 0 to 5, with 5 the most damage
- The scale uses 28 damage indicators, like schools, barns, and vegetation; the damage to each helps place the tornado on the scale
- higher EF number, the more severe the tornado’s wind and damage
- Some of the most severe tornadoes are multiple vortex tornadoes
Why so many tornadoes in the US?
- Tornadoes form in regions with extremely unstable moist air, large amounts of vertical wind shear, and weather systems that force air upward
- Tornado alley through central Great Plains has highest frequency
- Tornado season moves north and south through the year with the polar jet
- good conditions for severe thunderstorm formation
- mT air from gulf colliding with frontal air masses (low level mT jet and high wind shear) along dry line
Hail Formation
- ice particles that grow by accretion of supercooled water
- requires strong updrafts
- dry growth: hailstone remains below freezing (milky)
- wet growth: hailstone collects warmer water
+++
Planetary Circulation
Planetary Scales
- microscale (<1 km in size): PGF, CEN, friction
- mesoscale (1-1000 km): PGF, CEN, friction, Cor
- synoptic scale (>1000 km): geostrophic balance
- planetary scale (10,000 km): geostrophic balance
- atmospheric circulation cells prevail over longer timescales
Circulation Models
- model: simplified description of a complex system
- used to explain and predict observations using cause-and-effect relationships
Should be able to explain:
- steady and calm winds observed by mariners
- Regions that lack winds
- Global patterns of cloudiness
- Midlatitude cloud patterns
- Global patterns of precipitation
- Jet streams
Global Circulation on Non-Rotating Earth
single cell circulation (Hadley model)
- contrast in temperatures between the poles and the equator creates a large convection cell in both hemispheres.
Global Circulation on Rotating Earth
three-cell circulation: Hadley, Ferrel, and Polar cells
Coriolis effect deflects flow, poleward flows cool and sink
Not all cells are meridional (N-S motion), there are also zonal cells (E-W motion)
- For example, Walker circulation is the zonal component of a Hadley cell
- this behavior is observed in El Nino Southern Oscillaiton
Global Circulation Model: Observation
- tropical trade winds converging in Intertropical convergence zone (ICTZ) (region of the doldrums)
- midlatitude westerlies encounter the polar easterlies along the polar front
Idealized zonal pressure belts:
- The equatorial low is an intertropical convergence zone (ITCZ).
- Subtropical highs (STH) are high-pressure zones in the belts about 20°–35° latitude on either side of the equator.
- Polar highs near the Earth’s poles are where the polar easterlies originate.
Monsoons
- seasonal reversal of winds.
- The Asian monsoon, which affects India and its surrounding areas, China, Korea, and Japan.
- The monsoon is driven by pressure differences.
- The North American monsoon occurs in the southwestern U.S. and northwestern Mexico.
- This monsoon is driven by the extreme temperatures, which generate a low-pressure center over Arizona and results in a circulation pattern that brings moist air from the Gulf of California and from the Gulf of Mexico, to a lesser degree.
Cloud and Precipitation patterns also show clear trends related to planetary circulation
Jet Stream
- fast-flowing westerly current flowing between circulation cells
- 200-250 mbar level, 100-400 mph
- essentially driven by geostrophic balance
- caused by temperature differences between air near equator and air near the pole
Seasonal Variations
- migrates depending upon the season (along with other circulation cells)
- The polar jet stream is the more prevalent than subtropical jet
- It occurs along a major frontal zone, the polar front.
- The jet stream moves faster in winter.
- tends to migrate southward in the winter
Rossby Waves
The jet streams meander like rivers, producing a wavelike pattern of troughs and ridges
The air flow through these waves results in storms that move warm air poleward and cold air toward the equator
Each trough-ridge combination is called a Rossby wave
Drift slowly eastward, with rising air near the troughs and sinking air near the ridges
trough-ridge combinations at 500 mb level and higher
characterized by wavelength and amplitude
important for development of surface systems!
short waves (<6000 km) may be embedded in long waves
- smaller-scale disturbances
- move relative to longwaves (20-40 mph eastward)
Upper level wave patterns
- small wave amplitude: zonal flow (a)
- large wave amplitude: meridional flow (b)
- split flow pattern (c)
- zonal flow near pole, meridional flow to the south
Open wave pattern
- most common pattern seen in upper air charts are just plain troughs and ridges. These waves and troughs are considered ‘open’ as, for the most part; no closed circulation associated with the waves.
- progressive meaning they move from west to east. Low-pressure troughs are identified by brown dashed lines while ridges of high pressure are identified by brown zigzag lines.
- inclement weather between the trough and the downwind (eastward) ridge; fair weather occurs between the ridge and the downwind trough.
Positive tilted trough
- northeast to southwest in the Northern Hemisphere
- positive tilted troughs produce the least amount of severe weather
Negative tilted trough
- northwest to southeast in the Northern Hemisphere
- potential for more severe weather (strong southerly surface wind with warm air underneath incoming cold air: very unstable conditions)
- relatively high wind shear that may favor supercell storms
Zonal flow pattern
- When air flow is parallel (or nearly parallel) to the latitude lines then it is considered to be a zonal flow.
- Surface level storm systems, and associated cold fronts, move very fast from west to east in zonal flows but have very little north to south (or south to north) movement.
- locations to the pole-ward of a zonal flow remain cool or cold, while equator-ward, the weather remains mild or warm.
Cut-off low (weatherman’s woe)
- persistent low pressure area cut off from the main airflow (slow moving systems; difficult to model how long they will last)
Blocking high
- center of high pressure over a region prevents other weather systems from moving through
- typically a summertime occurrence, responsible for major heat waves. Any precipitation is usually shunted around the periphery of the high-pressure area.
Omega block
- two cutoff lows separated by blocking high: can lead to temperature extremes simultaneously over different regions
- Omega blocks get their name because the upper air pattern looks like the Greek letter omega (Ω). Omega blocks are a combination of two cutoff lows with one blocking high sandwiched between them.
- Because of their size, Omega blocks are often quite persistent and can lead to flooding and drought conditions depending upon one’s location under the pattern. Cooler temperatures and precipitation accompany the lows while warm and clear conditions prevail under the high.
Rex block
- high pressure system poleward of low pressure system
- characterized by a high-pressure system located pole-ward of a low-pressure system; will remain nearly stationary until one of the height centers changes intensity, unbalancing the pattern.
- Strong, particularly persistent Rex blocks can cause flooding near the low-pressure part of the block and short-term drought under the high-pressure part.
Global Circulation Model: Seasonal Variations
ITCZ, subtropical highs, and polar front all shift southward in NH winter and northward in NH summer
Polar jet stream is displaced further poleward in summer in both hemispheres
During summer the positions of the subtropical highs shift poleward
Lows associated with the ITCZ shift seasonally as do the lows associated with the polar front
Monsoon development (again): connected to seasonal variations in large-scale circulation patterns:
ITCZ effectively moves up into Asia, causing shift in the direction of the trade winds around India
Again, all of this is driven by changes in insolation.
The Earth
- loses more energy (longwave) at the equator than at the poles,
- but gains much more energy (shortwave) at the equator than at the poles
- this creates an energy imbalance that requires a “poleward” transfer of heat
- this heat is transferred by the ocean and the atmosphere
THE OCEANS
From a meteorological perspective: * main source of atmospheric water vapor * exchange energy with the atmosphere * transfer heat poleward
Global water cycle
- reservoirs of Earth’s water with fluxes between them
- residence time = reservoir size divided by total outward flux
- on average, about 3000 years for oceans
- on average, just 11 days for atmosphere
Oceanic Provinces
- Ocean area: 71% of Earth’s surface
- average ocean depth: 3.8 km
- average height of continents: 874 km
- volume of oceans: \(1.37\times10^{9}\) km^3
- Ocean water per 100g
- 3.5 g total salt (mostly chlorides but also sulfates)
- Na, Mg, Ca, K most common cations
- active margins: at lithospheric plate boundaries
- passive margins: embedded within lithospheric plate
- continental shelf: overlaid by sediment and slopes gradually out to shelf break and continental slope
- abyssal plains: relatively flat depositional surfaces (more common on older oceans floors) and may be dotted with submarine volcanoes
- trenches: may occur along active margins where subduction is occurring
- mid-ocean ridges are found near the centers of the oceans and form the worlds longest mountain chains, typically 2.5 km (1.5 miles) above abyssal plain; associated with plate divergence
+++
Sea surface temperature (SST)
- measured a few feet below the surface at intake level of a ship
- Generally there are three layers
- The surface zone or mixed layer (top 100 meters) has the highest temperatures
- The thermocline is a zone of rapidly decreasing temperature as depth increases
- In the deep zone (below 1000 meters) the temperature is 1°–3°
Sea Surface Temperature Anomaly
The SST anomaly field (degrees C): the difference between nighttime-only SST and the nighttime-only monthly mean SST climatology (which is based on nighttime observations from 1984-1993, with the years 1991 and 1992 omitted due to aerosol contamination from the eruption Mt. Pinatubo in June of 1991)
Higher temperatures can lead to reef thermal stress and coral bleaching events
SST patterns:
- middle latitudes (and subtropics)
- western coasts bordered by cool water
- eastern coasts boardered by warm water
- tropical latitudes
- western coasts bordered by warm water
- polar latitudes
- easter coasts bordered by cool water
These can be explained by ocean circulation:
- massive, ordered pattern of water flow
- ocean current patterns resemble wind patterns
- Global-scale wind patterns blow over large regions and push the ocean in the same direction as the wind
- Gyre is an ocean circulation that forms a closed loop across an ocean basin
- Spin in same direction as anticyclones in atmosphere, sending warm water poleward
- Winds of subtropical highs cause cold water to flow toward the equator near western coasts
Ekman Spiral
- Friction between the air and the sea surface forces the air to move
- The Coriolis force turns the water to the right (NH) or left (SH)
- Moving water influences the layer of water beneath
- The entire pattern is called the Ekman spiral
- On average, water moves to right (NH) or left (SH) in Ekman transport
These currents can act to push surface water toward or away from the coast, which may lead to downwelling or upwelling
- upwelling is important for organisms by bringing cold, nutrient-rich water to surface waters
+++
El-Nino Southern Oscillation
- change in wind patterns that ceases upwelling off the coast of South America (Ecuador and Peru); typically occurs around Christmas
- connected to larger cycle of periodic warming events in easter Pacific Ocean
- normally see higher pressures in Tahiti than in Darwin, Australia
Normal (“cold”) phase (+SOI)
- upwelling along South American Pacific coast
- strong trade winds
- high pressures in east-central Pacific
- cold waters moving westward from eastern Pacific
- piling up of water in western Pacific
- dry conditions over east-central Pacific
El-Nino (“warm”) phase (-SOI)
- downwelling along South American Pacific coast
- trade winds weaken (and even some low-level westerly flow)
- low pressures in east-central Pacific
- warm waters moving eastward across equatorial Pacific
- entire Walker cell weakens and moves eastward (the Hadley circulation tends to strengthen, strengthening the subtropical jet)
These changes yield teleconnection: climate connections over large distances in oceanic and atmospheric conditions. El Nino tends to give
- strong subtropical jet and wetter conditions in southwestern North America
- weaker polar jet stream an milder winters in upper Midwest
Other oscillations include…
- Pacific Decadal Oscillation (PDO)
- North Atlantic Oscillation (NAO)
- Arctic Oscillation
connected changes in zonal flow patterns (zonal index)
Climate
Location
- Globe, continent, region, city
- Regional and global-scale climates
Time
A specified interval:
- 30 year average is normal
- 100 years or longer for history of climate
Averages and extremes of variables:
- temperature
- precipitation
- pressure
- winds
determined by
- latitude-dependent solar insolation
- elevation and topography
- proximity to large bodies of water
- prevailing atmospheric circulation patterns
Koppen-Geiger Classification scheme
Five main groups (A–E)
- First letter indicates global conditions
- A: Tropical humid
- B: Dry
- C: Moist subtropical and midlatitude
- D: Severe midlatitude
- E: Polar
- Second letter refers to whether and when a dry season occurs
- (f = no dry season, w = winter dry season, s = summer dry season, m = monsoonal)
- Third letter denotes temperature differences
- (h = hot, k = cold, a = hot summer, b = warm summer, c = cold summer, d = very cold winter)
- Dominant climate over land is arid B (about 30%) followed by cold D (about 25%) and tropical A (19%)
note relation to geography and global circulation of atmosphere
Climate History
Have the climates always been the same?
- Not just properties of past climate, but also what mechanisms forced climate change?
- Two categories of past climate
- Historical, past few thousand years
- Paleoclimate, conditions before human civilization
- Historical and natural records reflect climate; climate changes and causes can be determined from careful study
- Dates of freezes of lakes and rivers, farmers’ logs, diaries, newspapers
- Animals in cave paintings indicate climate and climate change
- But historical records only go so far; we need to turn to proxy data to reconstruct past climates
Reconstructing Past Climates: Sources
- Tree-ring data
- Pollen records
- Ice sheets and trapped air
- Marine sediments
- Glacial features and geologic evidence
- Radiometric and stable isotope data
Dendrochronology (tree-ring data)
- Diameter of tree trunk increases with growth
- In regions with distinct growing seasons, tree grown appears as concentric rings
- Trees generally produce one ring per year; width of ring indicates how fast growth was
- Growth varies with temperature, precipitation, solar radiation
Pollen Records
- Pollen is useful to paleoclimatologists
- Degrades slowly
- Distinctive shapes for each species
- Can accumulate in sediments in lakes, providing record of past vegetation (and thereby, climate)
- Radiocarbon dating of pollen grains extends information back tens of thousands of years
Isotopic Applications
- radiocarbon dating of organic materials or ice core air bubbles
- stable isotope measurements:
- deuterium and O-18 content
- colder : higher O-18 concentrations in seawater
- O isotopes also trapped in fossil shells
- radiometric dating of fossil-bearing rock layers
Carbon-14
- produced in upper atmosphere (cosmic rays) and then incorporated (via CO2) into plants by photosynthesis
- photosynthetic products are consumed by animals (and by animals eating animals) so C-14 goes through food chain
- C-14 abundance is maintained as long as the organism is alive. There are at least a few thousand C-14 atoms decaying in your body every second.
- C-14 is unstable and decays with a half-life of 5730 years (Beta decay: C-14 —> N-14)
- effective for dating 100-70,000 yrs
- useful for organic material
Stable Isotopes (D and O-18)
- Materials have been deposited in layers on ocean floor for millions of years
- Animal shells are made of CaCO3
- May contain O-18, which is sensitive to temperature
- Colder: higher O-18 concentrations in seawater
- Can sequester lighter O-16 in continental ice
- This is the benthic oxygen isotope record
- This method works back to 2–3 million years
- Warm periods about every 100,000 years
Radiometric Age Dating
- Provide a means to track life through the ages
- Integral part of rocks in which they are found
- Types of plants and animals give climate clues
- Some plants have particular requirements; quantity of a fossil can indicate whether it was thriving in the climate
Putting these proxies together to reconstruct paleoclimate
- several major ice ages throughout Earth’s history
- Precambrian Eon (2.2 Ga)
- late Proterozoic Eon (700 Ma; Rodinia snowball Earth?)
- Paleozoic Era (500 Ma)
- Permian Period (250 Ma)
- current ice age began ~50 Ma, intensified ~2.5 Ma
- recent glacial activity occurred during Plestocene epoch (1.6 Ma)
More recently,
- Holocene (10 ka-present): interglacial period
- most evidence from Pleistocene glaciation (1.6 to 0.01 Ma)
- 40,000 and 100,00 year cycles
- most recent: Wisconsinian (110-10 ka) and Illinoian (200-130 ka)
- sea levels have risen nearly 40 m
- rise of agriculture and civilization in Neolithic (stone age)
Little Ice Age
- period of cooler temperatures, 1300-1800
- Maunder Minimum: period of low solar activity, 1610-1680
Large-Scale Causes of Climate Change
- continental drift & plate tectonics
- movement toward poles may result in glaciation
- cannot explain glacial cycles within an ice age
Milankovitch Cycles
insolation changes from Earth’s orbital mechanics
exaggerate normal seasonal effects
examination of glacial activity at 65°N; approx 100,000 year cycle
variations in solar insolation are principle controlling factor
orbital effects
- variation in eccentricity of Earth’s orbit
- 100,000 and 400,000 year cycles
axial tilt
- variation in angle of Earth’s rotation axis,
- relative to orbital plane
- currently 23.5°; 41,000 year cycle
precession
- wobble in Earth’s rotation axis
- 26,000 year cycle; current pole star is Polaris
Causes of Glaciation
ocean currents: in Atlantic, currents transport heat from tropics to higher latitudes
solar energy: variations in output; can be tracked by sunspot cycles
cause of ice ages remains an area of active research
positive feedback (increase glaciation)
- increased ice cover lowers solar absorption (albedo effect)
- increase in freshwater flow to oceans
negative feedback (decrease glaciation)
- Milankovitch cycles
- greenhouse gas concentrations
- weathering (which removes CO2) decreases during glaciation
- anthropogenic effects
positive feedback: enhance or accelerate change
- ice/albedo
- methane release
- water-vapor feedback
negative feedback: disrupt or mitigate change
- water/cloud
- blackbody/height
- CO2 sequestration
Anthropogenic Effects
- air pollution
- gases or particulates released by human activities
- EPA considers 6 criteria pollutants
- CO
- N oxides
- S oxides
- ground-level ozone (O3)
- particulate matter (PM)
- lead
Acid Rain
- falling of acids and acid-forming compounds from Earth’s atmosphere to its surface
- can be dry particles or as wet deposition as acid rain, snow, fog, or dew
- formed when oxides of nitrogen and sulfur combine with water vapor or liquid water to produce nitric acid and sulfuric acid
- normal pH of precipitation is 5.5, slightly acidic (mostly from carbonic acid); acid rain can lower pH to 4–4.5
- damage to structures, plants, aquatic life, ecosystems
Stratospheric Ozone
- reduced amounts of ozone over Antarctic
- occurs in the Antarctic spring (October)
- result of the chlorine in CFCs (released by UV dissociation)
- Antarctic atmosphere is very cold causing formation of polar stratospheric clouds (destruction is enhanced in these clouds)
- Polar vortex prevents mixing
- Expected repair itself over time now that CFC use is limited
- Montreal Protocol: 1989
- phasing out of ozone-depleting substances
- EECL: Effective equivalent chlorine
Climate Change: Main Indicators
- increased land and sea temperatures
- lowered sea ice and land ice coverage
- higher sea levels
note: land temperatures have generally increased more than ocean temperatures because of differences in their thermal properties; so global average temperature must consider both contributions
Much of this change appears to be driven by increases in greenhouse gas concentrations:
- carbon dioxide
- methane
- nitrous oxide
What about water?
- water is most important greenhouse gas
- at large scales, not directly influenced by human activities
- has a very short residence time and undergoes phase changes at Earth’s surface
- is expected to slightly increase with increasing global temperatures: water vapor feedback (which is a positive feedback that amplifies warming)
Why the focus on carbon (carbon dioxide)?
- relatively high concentrations
- second most important greenhouse component
- increasing concentrations clearly tied to human activity (carbon has provided energy basis for modern civilization)
How do we know it is our carbon?
- volcanic emissions are about 0.26 Gt/yr whereas anthropogenic emissions are about 32 Gt/yr; about 100x more than volcanoes (source: USGS)
- we can track how much carbon has been emitted based upon historical records
- the carbon-13 composition of the air is decreasing with time. Why?
- during photosynthesis, plants preferentially “fix” carbon-12 instead of carbon-13 (via RuBisCO or Ribulose-1,5-Bisphosphate Carboxylase/Oxygenase)
- this means plants are isotopically light (ie a depletion in carbon-13) compared to the atmosphere
- biomatter is the source of fossil fuel, so CO2 released from fossil fuel combustion releases this isotopically light carbon into the atmosphere (which is becoming slightly more depleted in C-13)
Anthropogenic Forcing
Forcing describes differences between solar insolation and how much energy is radiated back into space.
- added carbon dioxide concentration increases the greenhouse effect: more energy is trapped by selective absorption of longwave radiation
- increasing carbon dioxide concentration is the largest forcing component
- however, other greenhouse gases, in particular methane, nitrous oxide, and halocarbons are also playing a significant role
Climate Models
Overview
simulate the processes that drive the Earth’s climate
based upon fundamental physical principles (for example, the energy of a closed system is constant)
simulate physical processes; considering all of the processes that can affect climate
models have greatly increased in sophistication and now incorporate everything from simple radiative balance to interactive vegetation and chemistry;
Different types of models
- EBM: energy balance (can be 0D): solar energy in and longwave radiation out
- Radiative-Convective Models (often 1D): considers absorption and transfer of energy at different atmospheric levels
- GCM: global circulation models (consider convection/advection flows and transfer of heat throughout oceans and atmosphere).
Model Resolution (spatial and temporal)
- Earth system (atmosphere and ocean) is broken up into individual cells
- equations describing the system properties are solved in each cell (and how they affect neighboring cells)
- resolution is limited by computational power; has dramatically increased over the years as models and computers improve.
Climate model inputs
- any factor that changes the radiative balance of the atmosphere (how much solar energy is absorbed): forcing
- this might include simulation of past forcings and how they might influence global temperature (as in our Desmos exercise)
Model Assessment and Validation
- How do we know a climate model is any good?
- is is good at re-creating past climates (hindcasts)
- it is good at creating climate forecasts (evaluated years later)
Climate Model Intercomparison Project (CMIP): ensemble modeling
- a project that allows researchers to compare and validate climate models
- creates a systematic way to compare different models and find reasons for any differences
- includes a set of “experiments” that can be run to compare and validate the results
- historical/hindcasting (including paleoclimates)
- natural-only (to assess the anthropogenic component)
- future warming (including variable emissions scenarios)
- control runs (to identify any systematic differences or errors)
Different emissions scenarios are described by Representative Concentration Pathways (RCPs)
- a fixed set of possible emissions scenarios for comparison across different models
- based upon anticipated anthropogenic emissions and how different pathways would influence global climate
- numbers are based upon the radiative forcing values (W/m2) resulting from these pathways
Climate Sensitivity: the temperature change in response to changes in radiative forcing
- doubling CO2 from pre-industrial 280 ppm would yield a temperature increase from 1.5 to 4.5 C
- uncertainty is from the various feedbacks


@* * Copyright 2020 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @(requestObject: RequestObject, altAmends: AltAmends)(implicit request: Request[AnyRef], flash: Flash, context: config.ErsContext, messages: Messages) @import utils.PageBuilder._ @import views.html.templates._ @schemeId = @{requestObject.getSchemeId} @ers_main(title = getPageElement(schemeId, "ers", "what_alterations.page_title")) { @reference(requestObject.getPageTitle)
@header(getPageElement(schemeId, PAGE_ALT_AMENDS, "question")) @if(flash.get("alt-amends-not-selected-error").isDefined) {@Html(getPageElement(schemeId, PAGE_ALT_AMENDS, "alert"))


In your production environment, you will want to compile your LESS files and minify them in the best possible way. This will give you the finished product packaged in a way that works with all the modern browsers, and shrinks the size of the file as small as it can be to save on bandwidth.


I submit this as a response to the lack of up to date submissions regarding absinthe and wormwood. The Green Fairy is being produced legally again in Europe and authentic (read: not Czech) absinth can be easily purchased, though with some restrictions as it is still illegal in the United States.
Having held a long fascination with this near-mythical drink, I jumped at the chance to purchase some online. When it arrived, I eagerly opened the bottle, poured out an ounce of the liquid, and then slowly dropped water over a sugar cube and into the glass by means of a perforated absinthe spoon. It turned a wonderful pale milky green color. I like Pernod well enough, but Absinthe, at least the stuff I drank, is lower in licorice flavor and has a greater mix of other flavors. For me, it was absolutely refreshing and delicious. Enough to pour myself another... and then another.
As for the effect, well what would one expect from a 150 proof drink? The experience was overwhelmingly similar to other types of alcohol. If pressed I would say that the drunk is clearer. Lights seemed a bit brighter and, while I was definitely feeling it, my mind did not seem at all sluggish, as I might get from a corresponding amount of wine or beer. It is a most lively and creative drunk.
Is this difference due to the wormwood? Who knows? Most people will tell you that getting drunk on gin feels somewhat different than getting drunk on tequila. Different types booze have different personalities. But reading other accounts of wormwood, people often mention an energy and clarity. So I think Iíll go on believing itís due to the wormwood. Ultimately who cares? Itís a mighty pleasant experience.
What did not happen is anything that could be described as tripping. There was nothing remotely psychedelic about this experience. From what Iíve read, properly made modern absinthe is just as strong wormwood-wise as its 19th century predecessors. Weíre not missing out on anything. Of course, one can find wormwood-spiked booze, complete with green dye and ten times more thujone than would ever have been in Van Goghís glass, but that stuff isnít absinthe and it tastes foul.
To sip absinthe is to sip a bit of history and mythology, not to mention partaking in a really pleasant enlightened intoxication.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


About CD HotList Who We Are
FAQ Current issues
2005 issues
2004 issues Archives
Archives
March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
September 2004 August 2004 July 2004 June 2004 May 2004 April 2004
August 2004 July 2004 June 2004 May 2004 April 2004
July 2004 June 2004 May 2004 April 2004
June 2004 May 2004 April 2004
May 2004 April 2004
April 2004
CD HotList is a monthly review service offered exclusively by Baker & Taylor to the library community. For more information, please contact Rick Anderson.
Contents © CD HotList 2000


Package com.jme.asset
-
Interface Summary Interface Description AssetEventListener AssetEventListener
is an interface for listening to various events happening insideAssetManager
.AssetLoader An interface for asset loaders.AssetLocator AssetLocator
is used to locate a resource based on an AssetKey.AssetManager AssetManager
provides an interface for managing the data assets of a jME3 application.AssetProcessor AssetProcessor
is used to apply processing to assets after they have been loaded.CloneableSmartAsset Implementing theCloneableSmartAsset
interface allows use of cloneable smart asset management. -
Class Summary Class Description AssetConfig AssetConfig
loads a config file to configure the asset manager.AssetInfo The result of locating an asset through an AssetKey.AssetKey<T> AssetKey
is a key that is used to look up a resource from a cache.CloneableAssetProcessor CloneableAssetProcessor
simply callsObject.clone()
on assets to clone them.DesktopAssetManager AssetManager
is the primary method for managing and loading assets inside jME.FilterKey Used to load FilterPostProcessors which are not cached.MaterialKey Used for loadingmaterials
only (not material definitions!).ModelKey Used to load model files, such as OBJ or Blender models.ShaderNodeDefinitionKey Used for loadingshader nodes definition
Tells if the defintion has to be loaded with or without its documentationStreamAssetInfo AnAssetInfo
wrapper forInputStreams
.TextureKey Used to load textures from image files such as JPG or PNG.ThreadingManager ThreadingManager
manages the threads used to load content within the Content Manager system. -
Exception Summary Exception Description AssetLoadException AssetLoadException
is thrown when theAssetManager
is able to find the requested asset, but there was a problem while loading it.AssetNotFoundException AssetNotFoundException
is thrown when theAssetManager
is unable to locate the requested asset using any of the registeredAssetLocator
s.


{{ define "main" }}
Data can be placed under each character's file or in a global JSON file.
Information below is extracted from character_table.json
{{ $var }}
{{ $op.name }}
Position: {{ $op.position }}
{{ $op.itemUsage }}
{{ $op.itemDesc }}
Additional content is be written via the CMS below:
{{ .Content }}
{{ end }}


Install on openSUSE
```
zypper in go
echo $GOPATH
go help
```
Hello World
```go
//hello.go
//Packages are ways of grouping up related Go code together
package main
import "fmt"
func main() {
fmt.Println("Hello, world")
}
```
```
go run hello.go
```
How to test
```go
//hello.go
package main
import "fmt"
func Hello() string {
return "Hello, world"
}
func main() {
fmt.Println(Hello())
}
```
```go
//hello_test.go
package main
import "testing"
func TestHello(t *testing.T) {
got := Hello()
want := "Hello, world"
if got != want {
t.Errorf("got '%s' want '%s'", got, want)
}
}
```
```
go test
```
```
PASS
ok _/opt/go/test_go 0.005s
```
Hello, You
```go
//hello_test.go
package main
import "testing"
func TestHello(t *testing.T) {
got := Hello("Chris")
want := "Hello, Chris"
if got != want {
t.Errorf("got '%s' want '%s'", got, want)
}
}
```
```
./hello_test.go:6:17: too many arguments in call to Hello
have (string)
want ()
FAIL _/opt/go/test_go [build failed]
```
Make the test pass
```
//hello.go
func Hello(name string) string {
return "Hello, " + name
}
```
Hello, again
```go
//hello_test.go
package main
import "testing"
func TestHello(t *testing.T) {
assertCorrectMessage := func(t *testing.T, got, want string) {
t.Helper()
if got != want {
t.Errorf("got '%s' want '%s'", got, want)
}
}
//subtests
t.Run("saying hello to people", func(t *testing.T) {
got := Hello("Chris")
want := "Hello, Chris"
assertCorrectMessage(t, got, want)
})
t.Run("empty string defaults to 'World'", func(t *testing.T) {
got := Hello("")
want := "Hello, World"
assertCorrectMessage(t, got, want)
})
}
```
Hello, again, fail
```
go test
```
```
--- FAIL: TestHello (0.00s)
--- FAIL: TestHello/empty_string_defaults_to_'World' (0.00s)
hello_test.go:23: got 'Hello, ' want 'Hello, World'
FAIL
exit status 1
FAIL _/opt/go/test_go 0.002s
```
Make the test pass
```go
//hello.go
const englishPrefix = "Hello, "
func Hello(name string) string {
if name == "" {
name = "World"
}
return englishPrefix + name
}
```
Let's go over the cycle again
* Write a test
* Make the compiler pass
* Run the test, see that it fails and check the error message is meaningful
* Write enough code to make the test pass
* Refactor
![](red-green-blue-gophers-smaller.png)
Iteration - Write the test first
```go
//repeat_test.go
package iteration
import "testing"
func TestRepeat(t *testing.T) {
repeated := Repeat("a")
expected := "aaaaa"
if repeated != expected {
t.Errorf("expected '%s' but got '%s'", expected, repeated)
}
}
```
```
./repeat_test.go:6:14: undefined: Repeat
```
Iteration - Just for the test to run
```go
//repeat.go
package iteration
func Repeat(character string) string {
return ""
}
```
```
repeat_test.go:10: expected 'aaaaa' but got ''
```
Iteration - Write enough code to make it pass
```go
//repeat.go
func Repeat(character string) string {
var repeated string
for i := 0; i < 5; i++ {
repeated = repeated + character
}
return repeated
}
```
Iteration - Refactor
```go
//repeat.go
const repeatCount = 5
func Repeat(character string) string {
var repeated string
for i := 0; i < repeatCount; i++ {
repeated += character
}
return repeated
}
```
Arrays - Write the test first
```go
//sum_test.go
package main
import "testing"
func TestSum(t *testing.T) {
numbers := [5]int{1, 2, 3, 4, 5}
got := Sum(numbers)
want := 15
if want != got {
t.Errorf("got %d want %d given, %v", got, want, numbers)
}
}
```
```
./sum_test.go:10:15: undefined: Sum
```
Arrays - Just for the test to run
```go
//sum.go
package main
func Sum(numbers [5]int) int {
return 0
}
```
```
sum_test.go:13: got 0 want 15 given, [1 2 3 4 5]
```
Arrays - Write enough code to make it pass
```go
//sum.go
func Sum(numbers [5]int) int {
sum := 0
for i := 0; i < 5; i++ {
sum += numbers[i]
}
return sum
}
```
Arrays - Refactor
```go
//sum.go
func Sum(numbers [5]int) int {
sum := 0
for _, number := range numbers {
sum += number
}
return sum
}
```
Slice - Write the test first
```go
//sum_test.go
func TestSum(t *testing.T) {
t.Run("collection of 5 numbers", func(t *testing.T) {
numbers := [5]int{1, 2, 3, 4, 5}
got := Sum(numbers)
want := 15
if got != want {
t.Errorf("got %d want %d given, %v", got, want, numbers)
}
})
t.Run("collection of any size", func(t *testing.T) {
numbers := []int{1, 2, 3}
got := Sum(numbers)
want := 6
if got != want {
t.Errorf("got %d want %d given, %v", got, want, numbers)
}
})
}
```
```
./sum_test.go:22:13: cannot use numbers (type []int) as type [5]int in argument to Sum
```
Slice - Just for the test to run
```go
//sum.go
func Sum(numbers []int) int {
sum := 0
for _, number := range numbers {
sum += number
}
return sum
}
```
```
./sum_test.go:10:19: cannot use numbers (type [5]int) as type []int in argument to Sum
```
Slice - Write enough code to make it pass
```go
//sum_test.go
func TestSum(t *testing.T) {
t.Run("collection of 5 numbers", func(t *testing.T) {
numbers := []int{1, 2, 3, 4, 5}
got := Sum(numbers)
want := 15
if got != want {
t.Errorf("got %d want %d given, %v", got, want, numbers)
}
})
t.Run("collection of any size", func(t *testing.T) {
numbers := []int{1, 2, 3}
got := Sum(numbers)
want := 6
if got != want {
t.Errorf("got %d want %d given, %v", got, want, numbers)
}
})
}
```
Structs - Write the test first
```go
//shapes_test.go
func TestPerimeter(t *testing.T) {
got := Perimeter(10.0, 10.0)
want := 40.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
```
```
./shapes_test.go:6:9: undefined: Perimeter
```
Structs - Just for the test to run
```go
//shapes.go
func Perimeter(width float64, height float64) float64 {
return 0
}
```
```
shapes_test.go:10: got 0 want 40
```
Structs - Write enough code to make it pass
```go
//shapes.go
func Perimeter(width float64, height float64) float64 {
return 2 * (width + height)
}
```
Following the TDD cycle, create Area function
```go
//shapes_test.go
func TestPerimeter(t *testing.T) {
got := Perimeter(10.0, 10.0)
want := 40.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
func TestArea(t *testing.T) {
got := Area(12.0, 6.0)
want := 72.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
```
Following the TDD cycle, create Area function
```go
//shapes.go
func Perimeter(width float64, height float64) float64 {
return 2 * (width + height)
}
func Area(width float64, height float64) float64 {
return width * height
}
```
Structs - Refactor
```go
//shapes.go
type Rectangle struct {
Width float64
Height float64
}
```
Structs - Refactor
```go
//shapes_test.go
func TestPerimeter(t *testing.T) {
rectangle := Rectangle{10.0, 10.0}
got := Perimeter(rectangle)
want := 40.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
func TestArea(t *testing.T) {
rectangle := Rectangle{12.0, 6.0}
got := Area(rectangle)
want := 72.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
```
```
./shapes_test.go:7:18: not enough arguments in call to Perimeter
have (Rectangle)
want (float64, float64)
```
Structs - Refactor
```go
//shapes.go
func Perimeter(rectangle Rectangle) float64 {
return 2 * (rectangle.Width + rectangle.Height)
}
func Area(rectangle Rectangle) float64 {
return rectangle.Width * rectangle.Height
}
```
Structs, methods - Write the test first
```go
//shapes_test.go
//to write an Area function for circles
func TestArea(t *testing.T) {
t.Run("rectangles", func(t *testing.T) {
rectangle := Rectangle{12, 6}
got := Area(rectangle)
want := 72.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
})
t.Run("circles", func(t *testing.T) {
circle := Circle{10}
got := Area(circle)
want :=<PHONE_NUMBER>589793
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
})
}
```
```
./shapes_test.go:28:13: undefined: Circle
```
Structs, methods - Just for the test to run
```go
//shapes.go
type Circle struct {
Radius float64
}
```
```
./shapes_test.go:29:14: cannot use circle (type Circle) as type Rectangle in argument to Area
```
Structs, methods - Write the test first
```go
//shapes_test.go
func TestArea(t *testing.T) {
t.Run("rectangles", func(t *testing.T) {
rectangle := Rectangle{12, 6}
got := rectangle.Area()
want := 72.0
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
})
t.Run("circles", func(t *testing.T) {
circle := Circle{10}
got := circle.Area()
want :=<PHONE_NUMBER>589793
if got != want {
t.Errorf("got %f want %f", got, want)
}
})
}
```
```
./shapes_test.go:19:19: rectangle.Area undefined (type Rectangle has no field or method Area)
./shapes_test.go:29:16: circle.Area undefined (type Circle has no field or method Area)
```
Structs, methods - Just for the test to run
```go
//shapes.go
type Rectangle struct {
Width float64
Height float64
}
//func (receiverName RecieverType) MethodName(args)
func (r Rectangle) Area() float64 {
return r.Width * r.Height
}
type Circle struct {
Radius float64
}
func (c Circle) Area() float64 {
return math.Pi * c.Radius * c.Radius
}
```
Structs, methods & interface - Write the test first
```go
//shapes_test.go
func TestArea(t *testing.T) {
checkArea := func(t *testing.T, shape Shape, want float64) {
t.Helper()
got := shape.Area()
if got != want {
t.Errorf("got %.2f want %.2f", got, want)
}
}
t.Run("rectangles", func(t *testing.T) {
rectangle := Rectangle{12, 6}
checkArea(t, rectangle, 72.0)
})
t.Run("circles", func(t *testing.T) {
circle := Circle{10}
checkArea(t, circle,<PHONE_NUMBER>589793)
})
}
```
```
./shapes_test.go:7:40: undefined: Shape
```
Structs, methods & interface - Just for the test to run
```go
type Shape interface {
Area() float64
}
```
Structs, methods & interface - Further refactoring
```go
//shapes_test.go
//Table driven tests
func TestArea(t *testing.T) {
areaTests := []struct {
shape Shape
want float64
}{
{Rectangle{12, 6}, 72.0},
{Circle{10},<PHONE_NUMBER>589793},
}
for _, tt := range areaTests {
got := tt.shape.Area()
if got != tt.want {
t.Errorf("got %.2f want %.2f", got, tt.want)
}
}
}
```
Structs, methods & interface - Write the test first
```go
//shapes_test.go
TestArea(t *testing.T) {
areaTests := []struct {
shape Shape
want float64
}{
{Rectangle{12, 6}, 72.0},
{Circle{10},<PHONE_NUMBER>589793},
{Triangle{12, 6}, 36.0},
}
for _, tt := range areaTests {
got := tt.shape.Area()
if got != tt.want {
t.Errorf("got %.2f want %.2f", got, tt.want)
}
}
}
```
```
./shapes_test.go:25:4: undefined: Triangle
```
Structs, methods & interface - Just for the test to run
```go
//shapes.go
type Triangle struct {
Base float64
Height float64
}
```
```
./shapes_test.go:25:8: cannot use Triangle literal (type Triangle) as type Shape in field value:
Triangle does not implement Shape (missing Area method)
```
Structs, methods & interface - Write enough code to make it pass
```go
func (t Triangle) Area() float64 {
return (t.Base * t.Height) * 0.5
}
```
Structs, methods & interface - Refactor
```go
//shapes_test.go
func TestArea(t *testing.T) {
areaTests := []struct {
name string
shape Shape
hasArea float64
}{
{name: "Rectangle", shape: Rectangle{Width: 12, Height: 6}, hasArea: 72.0},
{name: "Circle", shape: Circle{Radius: 10}, hasArea:<PHONE_NUMBER>589793},
{name: "Triangle", shape: Triangle{Base: 12, Height: 6}, hasArea: 36.0},
}
for _, tt := range areaTests {
// using tt.name from the case to use it as the `t.Run` test name
t.Run(tt.name, func(t *testing.T) {
got := tt.shape.Area()
if got != tt.hasArea {
t.Errorf("%#v got %.2f want %.2f", tt.shape, got, tt.hasArea)
}
})
}
}
```
Useful Link
1. https://github.com/quii/learn-go-with-tests
2. https://gobyexample.com/
3. https://github.com/hakimel/reveal.js


Meetings scheduled
Topic
Date
Start Time
End Time
Capacity
Invitations
Topic
Date
Start Time
End Time
Capacity
Topic
Date
Start Time
End Time
Capacity
Create meeting


Custom tailored products that follow the latest IT trends.
Advanced solutions using modern tools and frameworks.
Immersive video games for every platform, both mobile and desktop.
Fully anonymous mobile application that provides end-to-end encryption of your communication that is stored only on your device. Absolutely no personal information required. The only way to reach you via our chat is your own willingness. Supports iOS and Android platforms.
Mobile application that allows check-in and discovery in the virtual office that covers user defined geographical area. Real life usage example: movie production area often changes its location while director should be able to keep track of people present.
It all started with the need for a product that didn't yet exist. And we took a brave decision to create it ourselves.
We have found a like-minded developer to join our team.
We proved to the world and ourselves that we can bring our ideas to life.
Officially registered the company in Czech Republic and acquired our first server.
Nádražní 344/23, Smíchov, 150 00 Praha 5, Česká republika


Judy is an Arts and Technology student at the University of Texas at Dallas.


Romania new PM to name EU commissioner after consulting president
BUCHAREST (Reuters) - Romania’s new Prime Minister Ludovic Orban will propose an European Commissioner to Brussels only after consultations with President Klaus Iohannis, but this nomination will come “as soon as possible.”
“We will take this decision as soon as possible, after talking with the president. It (the proposal) will be the best one for Romania,” Orban told reporters after winning a vote of confidence in parliament.
Orban would not elaborate on the commissioner’s name.


Thoughts, news and interesting stuff from the betterplace development team.
© 2016. All rights reserved.


12 high profile Lawyers Sonko has hired to represent him
by brian orutaHis bail hearing is on going
Nairobi Governor Mike Mbuvi Sonko was arraigned in Court on Monday, following his dramatic arrest on Friday.
The Director of Public Prosecution (DPP) had preferred eight charges against the Nairobi County boss which included; conspiracy to commit an offence of corruption, willful failure to comply with law relating to procurement, conflict of interest, abuse of office, unlawful acquisition of public property, deceiving principal, money laundering and acquisition of proceeds of crime.
Sonko who appeared before Chief Magistrate Douglas Ogoti at the Milimani Law Courts denied the corruption charges leveled against him and his co-accused.
It also emerged that he has hired a total of 12 high profile lawyers to represent him in the case, led by Cecil Miller.
Here is the list;
Cecil Miller
Mutula Kilonzo Jr.
Kipchumba Murkomen
Alphonse Mutinda
Dan Maanzo
Harrison Kinyanjui
Nelson Havi
George Kithi
Osundwa Michael
Kwanga Mboya
Philip Kaindu and one other.


Create your account
reqiured
min 2 symbols
required
not valid
required
not valid
reqiured
min 10 symbols
Gender
Male
Female
reqiured
I have read and agree to the Terms and Conditions and Privacy Policy
reqiured


ITF moves Pakistan-India Davis Cup matchup to Kazakhstan
by The Associated PressISLAMABAD (AP) — The International Tennis Federation has moved Pakistan’s Davis Cup matchup against India to a neutral venue in Kazakhstan.
The best-of-five series between the fierce political rivals will be played in Nur-Sultan on Nov. 29-30.
The ITF says “the Davis Cup Committee has voted in favor of the tie being hosted by the ITF on neutral ground.”
Aisam-ul-Haq, Pakistan’s top player, expressed his disappointment after India refused to play in Islamabad. He now says he will not play in Kazakhstan.
India last traveled to Pakistan for the Davis Cup in 1964 and went on to win 4-0. Pakistan last visited India in 2006, losing 3-2 in Mumbai.
___
More AP Tennis: https://www.apnews.com/apf-Tennis and https://twitter.com/AP_Sports
The Associated Press


"A Pizza Slice a day keeps Sadness Away.”
― Jet Paacal
Ingredients
- 1-1/2 cups (355 ml) warm water (105°F-115°F)
- 1 package (2 1/4 teaspoons) of active dry yeast.
- 3-3/4 cups (490 g) bread flour.
- 2 Tbsp olive oil (omit if cooking pizza in a wood-fired pizza oven)
- 2 teaspoons salt.
- 1 teaspoon sugar.
"I always say, 'Eat clean to stay fit; have a burger to stay sane."
Ingredients
- 1 egg
- 1 teaspoon mustard (regular or Dijon)
- 1 teaspoon Worcestershire sauce
- 1 small onion, finely grated
- 1 clove garlic, minced
- 1⁄2 teaspoon salt
- 1⁄2 teaspoon pepper
- 1 lb medium ground beef
Good food,Good life and tasky chicken!
Ingredients
- 1 (3 1/2-pound) chicken, cut into 8 pieces
- Salt and freshly ground black pepper
- 2 cups bottled sauce or Easy BBQ Sauce, recipe follows
- Easy BBQ Sauce: 3/4 cup ketchup
- 1/4 cup plus 2 tablespoons packed dark brown sugar
- 3 tablespoons white wine vinegar
- 2 tablespoons minced onion
- 2 tablespoons Dijon mustard
- 1/4 to 1 teaspoon hot sauce, (recommended: Tabasco)
- 1/4 teaspoon freshly ground black pepper
- 3 tablespoons chopped scallions (white and light green parts)
- 1 1/2 teaspoons freshly grated lime zest
- 1 1/2 teaspoons freshly squeezed lime juice
- Lime wedges, for serving


Recognizing the desire of young professionals in Santa Clara County to contribute to the welfare of their communities and connect with like-minded peers, the VMC Foundation is introducing The Young Professional Council (YPC). YPC supports the efforts of the VMC Foundation to provide critical funds for the creation of the Women and Children’s Center at VMC. The focus of the Young Professional Council is to raise funds, volunteer, promote community awareness, and build partnerships with the local business community.
The YPC is composed of emerging leaders in the business community who are dedicated to promoting the level of health care in the County of Santa Clara and addressing the current health-related issues affecting the community. Members, ages 21-35, contribute by engaging their energy and talents to advance the mission of the Santa Clara Valley Medical Center. These young leaders enhance the positive impact of the VMC Foundation while advancing their personal and professional goals and expanding their professional networks.
Come see what the community has to say about their experience with YPC.
“Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.”
“Dignissimos asperiores vitae velit veniam totam fuga molestias accusamus alias autem provident. Odit ab aliquam dolor eius. Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.”
“Dignissimos asperiores vitae velit veniam totam fuga molestias accusamus alias autem provident. Odit ab aliquam dolor eius. Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.”
“Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.”
Support YPC and help us extend our current milestones.
Stay informed with YPC and business partnership news.
Facilis ipsum reprehenderit nemo molestias. Aut cum mollitia reprehenderit. Eos cumque dicta adipisci architecto culpa amet.


A find/replace operation for all loaded stylesheets specialized for swapping colors globally.
Tested working on Chrome, Firefox, IE9+
Only dependency is tinycolors.
<script src="tinycolor.js"></script> <script src="colorswap.js"></script>
Also available as a Meteor Package (more information)
meteor add numtel:colorswap
The find
color is the original color. Subsequent calls to replace the color still specify the color in the original CSS. View this page's source for an example.
ColorSwap({ find: '#428bca', // hex, rgb(), hsv(), hsl() replace: '#f00', // hex, rgb(), hsv(), hsl() animation: 'hsl' // optional: 'none', 'rgb', 'hsv', 'hsl' duration: 400 // optional: milliseconds to complete animation frameDuration: 10 // optional: milliseconds per frame in animation });
Pass an array of colors to the find
option to replace multiple colors. The first color will be used to adjust the HSL values relative to the remaining colors, preserving shading effects.


Welcome to MASTERMIND
Mastermind is a game where you try to guess the four digit number the computer has selected. After you guess your number, you will get feedback about your guess.
- Digit is correct and in the correct place
- Digit is correct but in the incorrect place


Solve these problems
Build a formula that evaluates to two.
Use your power to create four.
There are many ways to build 12. How many of them can you find?
Which number is one bigger than x?
What is the derivative of ln(x2)?
What is the derivative of axb?
A cone has height 3 and its base has radius 2. What is its volume?


Here should be a sub-header but I ran out of ideas
Sometimes I write Java, sometimes HTML, sometimes I go Python but never write Perl
Sometimes I write Java, sometimes HTML, sometimes I go Python but never write Perl
Nothing else, I just wanted three h2 elements


{{comment.restname}}
time & discount: {{comment.hourtitle }}, {{ comment.title | date: "dd/MM"}} & 10%
number of guests: {{ comment.tit}}
special requests: {{ comment.request }}
name: {{ comment.name }}
phone: {{ comment.phone }}
email: {{ comment.email }}


#include <math.h>
#include "slu_sdefs.h"
Functions | |
| void | sgsequ (SuperMatrix *A, float *r, float *c, float *rowcnd, float *colcnd, float *amax, int *info) |
| Driver related. |
-- SuperLU routine (version 2.0) -- Univ. of California Berkeley, Xerox Palo Alto Research Center, and Lawrence Berkeley National Lab. November 15, 1997
Modified from LAPACK routine SGEEQU
| void sgsequ | ( | SuperMatrix * | A, | |
| float * | r, | |||
| float * | c, | |||
| float * | rowcnd, | |||
| float * | colcnd, | |||
| float * | amax, | |||
| int * | info | |||
| ) |
Purpose =======
SGSEQU computes row and column scalings intended to equilibrate an M-by-N sparse matrix A and reduce its condition number. R returns the row scale factors and C the column scale factors, chosen to try to make the largest element in each row and column of the matrix B with elements B(i,j)=R(i)*A(i,j)*C(j) have absolute value 1.
R(i) and C(j) are restricted to be between SMLNUM = smallest safe number and BIGNUM = largest safe number. Use of these scaling factors is not guaranteed to reduce the condition number of A but works well in practice.
See supermatrix.h for the definition of 'SuperMatrix' structure.
Arguments =========
A (input) SuperMatrix* The matrix of dimension (A->nrow, A->ncol) whose equilibration factors are to be computed. The type of A can be: Stype = SLU_NC; Dtype = SLU_S; Mtype = SLU_GE.
R (output) float*, size A->nrow If INFO = 0 or INFO > M, R contains the row scale factors for A.
C (output) float*, size A->ncol If INFO = 0, C contains the column scale factors for A.
ROWCND (output) float* If INFO = 0 or INFO > M, ROWCND contains the ratio of the smallest R(i) to the largest R(i). If ROWCND >= 0.1 and AMAX is neither too large nor too small, it is not worth scaling by R.
COLCND (output) float* If INFO = 0, COLCND contains the ratio of the smallest C(i) to the largest C(i). If COLCND >= 0.1, it is not worth scaling by C.
AMAX (output) float* Absolute value of largest matrix element. If AMAX is very close to overflow or very close to underflow, the matrix should be scaled.
INFO (output) int* = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value > 0: if INFO = i, and i is <= A->nrow: the i-th row of A is exactly zero > A->ncol: the (i-M)-th column of A is exactly zero
=====================================================================


Each rover has its own set of photos stored in the database.
Along with querying by date, results can also be filtered by the camera with which it was taken and responses will be limited to 25 photos per call. Each camera has a unique function and perspective, and they are named as follows:
| Abbreviation | Camera | Curiousity | Oppurtunity | Spirit |
|---|---|---|---|---|
| FHAZ | Front Hazard Avoidance Camera | ✔ | ✔ | ✔ |
| RHAZ | Rear Hazard Avoidance Camera | ✔ | ✔ | ✔ |
| MAST | Mast Camera | ✔ | ||
| CHEMCAM | Chemistry and Camera Complex | ✔ | ||
| MAHLI | Mars Hand Lens Imager | ✔ | ||
| MARDI | Mars Descent Imager | ✔ | ||
| NAVCAM | Navigation Camera | ✔ | ✔ | ✔ |
| PANCAM | Panoramic Camera | ✔ | ✔ | |
| MINITES | Minature Thermal Emission Spectrometer | ✔ | ✔ |
| Rover | Dates Active |
|---|---|
| Spirit | January of 2004 - May of 2011 |
| Curiousity | August of 2012 - Present |
| Oppurtunity | January of 2004 - Present |
Spread the word.
NASA currently has three rovers on Mars. The Curiosity Rover, the Oppurtunity Rover, and the Spirit Rover.
Choose a date you would like to retrieve photos from.
Show your friends the aliens you find while retrieving photos.


☰
White Paper
Road Map
Moke up
Market place
Mobile App
Mobile application moke up
Log In
Sign up
2nd Sign up screen
3rd Sign up screen
Home Screen
Subject Screen
×
This website uses cookies to ensure you get the best experience on our website.
Lean more
Got it


Written by TheOtherP for the community.
If you have a question or a feature request I'd prefer you to create an issue on GitHub.
You can reach me via mail or visit the subreddit or join the Discord channel
Sources, bugs, enhancements: https://github.com/theotherp/nzbhydra2
You're welcome to donate:
- Bitcoin via 1LPCUF9eKEXi58nHbxTbJyfxCJkcCXKzvm
- Regular money via PayPal to<EMAIL_ADDRESS>- Via GitHub sponsors which involves a recurring donation similar to Patreon.
Thanks to the handful of people who already donated!
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0