Wednesday, April 9, 2014

Learn f90 in a day

1. Main Features of Fortran 90

Fortran 90 is a new programming language intended for use in scientific and engineering applications. It is a language that has developed by the introduction of features that are new to Fortran, but are based on experience of other languages (like C and Matlab for instance). Fortran 90 is very different from earlier versions of Fortran, yet it is completely backwards compatible with Fortran 77.

The features of Fortran 90 are far too numerous to mention in entirety here, but some of the key features are outlined below:

a) Free format on source code.
    In Fortran 90, you can use either the Fortran 77 input format or free format. If you use free format, the file extension .f90 should be used for the file name.  
b) Dynamic allocation and pointers.
    It is now possible to allocate storage dynamically. This enables us to finally get rid of all the "work" arrays!
c) User defined data types.   (data structure)
    You can now define your own composite data types, similar to struct in C or record in Pascal.
d) Modules. ( oo programming)
    Modules enables you to program in an object oriented style, similar to C++. Modules can also be used to hide global variables, thereby making the Fortran 77 common construct outdated.
e) Recursive functions. 
    Now a part of the language.
f) Built-in array operations.   (similar to IDL)
    Statements like A=0 and C=A+B are now valid when A and B are arrays. There are also built-in functions for matrix operations, e.g., matmul for performing matrix multiplication.
g) Operator overloading.
    You can define your own meaning of operators like + and = for your own data types (objects). 


2. Compile f90 

f90 main.f90  ! create an executable file called a.out. 
f90 main.f90 -o main.out   ! create an executable file called main.out.
f90 main.f90 -L/usr/class/me390/lib -lmy_lib90   ! link library

3. Basic program structure 
Key features
    Free-form source code is allowed. Statements may begin in any column.
    Lines may extend to 132 characters.
    More than one statement may be placed on a line ( ; )
    In-line comments are allowed ( ! )
    Continuation ( & )
    Variable names may consist of up to 31 characters (letters, digits, and  _ )
    The first character of a variable name must be a letter.

Declarations

    a) The command IMPLICIT NONE is allowed. This feature cancels the default naming
        convention.
   b)  The separator :: is required in a type specification statement whenever it is used to
        initialize a variable or to declare a special attribute (such as PARAMETER).

       REAL :: Area = 0.
       INTEGER :: Num_Months = 12              ! 
       REAL, PARAMETER :: Pi = 3.1415927       ! define a parameter

       REAL Area_circle     =     REAL :: Area_circle           ! same

  c)  The precision of a real, integer, complex, or logical variable may be specified using a kind type
       parameter.
    Eg:  to declare a variable A to be a real number with at least 10 decimal places of precision with a range of at least -10^34 to 10^34, do the following:

       REAL(KIND = SELECTED_REAL_KIND(10,34)) :: A          ! KIND is used specify precision

    If the processor you are using is unable to support a variable with this type specification, a compile-time error will result.

   d)  To declare a real variable to have the equivalent of Fortran 77 accuracy DOUBLE PRECISION, simply do this:

       INTEGER, PARAMETER :: DP = SELECTED_REAL_KIND(14)      ! Define a parameter DP
       REAL(KIND = DP) :: A                                   ! Use the parameter DP  

    This declares the variable A to be of type real and have at least 14 decimal places of accuracy.

Program composition
The basic form of a Fortran 90 program is as follows:
PROGRAM name
   declarations
   executable statements
END PROGRAM


4. Logical expressions
    Symbolic forms of the relational operators are allowed:
                Old Operator    New Symbol
                ------------      ------
               .LT.                <
               .GT.               >
               .EQ.               ==
               .LE.               <=
              .GE.               >=
               .NE.               /=

    IF-ELSE constructs may be named by attaching a label at the beginning of the block:

name:    IF (logical argument) THEN
                          statements
            ELSE IF (logical argument) THEN name      ! name is optional
                          statements
                       .
                       .
            ENDIF name


         if ( jj> 10 ) exit       ! simple version


      if ( jj> 10 ) then
         exit
      endif


    The CASE construct may be used to execute a set of multi-alternative selection criteria:

       SELECT CASE (selector)   ! selector may be an integer, character, or logical expression.
           CASE (list #1)                   ! a list of one or more possible values of the selector index
              statements
           CASE (list #2)             statements
          .
          .
          .

           CASE DEFAULT           ! may be omitted
              statements
      END SELECT


5. Loops

 a)   DO loops may have either of the two forms:

       DO index_variable = start, end, step           statements
       ENDDO                 ( or END DO)
    or,

       DO nnn index_variable = start, end, step           statements
       nnn CONTINUE
    In both cases, the step variable is optional and is assumed to have the value 1 if omitted. As with   IF-ELSE and CASE constructs, DO loops may also have names.

 b)   WHILE loops are allowed. They have the general form:
       DO WHILE (logical argument)
          statements
       END DO

   c)  An "infinite" loop may be performed as follows:

       DO
          conditional statement EXIT
       END DO

     CYCLE  : go to next iteration of the loop.
     EXIT  : exit current loop 
      continue: The continue statement is an odd statement in FORTRAN. It is an executable statement but it takes no action in the program. It's primarily used as a place holder to span gaps created between branches or loops and the rest of the program.

6. Array
1) One-dimensional Arrays
       REAL, DIMENSION(10) :: A, B       ! 1-based  default
       INTEGER, DIMENSION(0:9) :: C    ! 0-based     

Array initialization

       A = (/ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 /)
    or,
       A = (/ (I, I = 1, 10) /)

Array assignment ( must have the same physical dimension )
       B = A

Array operation ( must have the same physical dimension )
       A = A + B
       C = 2*C
    For example, if A is assigned the values
       A = (/ (I, I = 1,10) /)

       WHERE (A > 5)
          B = 1.
       ELSEWHERE
          B = 0.
       END WHERE         !B has the values 0, 0, 0, 0, 0, 1, 1, 1, 1, 1.

       DOT_PRODUCT(A, B):    ! returns the dot product of A and B
       MAXVAL(A):        ! returns the maximum value in array A
       MAXLOC(A):        ! returns a one-element 1D array whose value is
                          ! the location of the first occurrence of the
                        ! maximum value in A
       PRODUCT(A):        ! returns the product of the elements of A
       SUM(A):                ! returns the sum of the elements of A

Dynamic Array allocation
  a) To declare a real allocatable array A, do
       REAL, DIMENSION(:), ALLOCATABLE :: A  ! : represent one dimension

   b) To allocate memory at run time
       ALLOCATE ( A(N) )  
       ALLOCATE ( A(N), STAT = AllocateStatus)   ! AllocateStatus takes the value 0 if allocation is successful
       IF (AllocateStatus /= 0) STOP "*** Not enough memory ***"

    c) To release memory allocatedly
       DEALLOCATE (A, STAT = DeAllocateStatus)   ! DeAllocateStatus : 0 if the deallocation was successful.


2) Multi-dimensional arrays
Array delcaration:
    Multi-dimensional arrays can be dimensioned with statements like
       REAL, DIMENSION(2,3) :: A               !  1-based by default
       REAL, DIMENSION(0:1,0:2) :: B         !  0-based
       INTEGER, DIMENSION(10,20,3) :: I

Array initialization:
    The maximum limit on the rank (the number of dimensions) of an array is 7.
     For instance, the values 1, 2, 3, 4, 5, 6 may be assigned to the two-dimensional array A by

       A = (/ 1, 2, 3, 4, 5, 6 /)  !  assign the values to A in column order similar to the rules of Fortran 77.

Array assignment: (both arrays in question have the same physical dimension)
       B = A

       WHERE (logical argument)
          sequence of array assignments
       ELSEWHERE
          sequence of array assignments
       END WHERE

       MAXVAL(A, D):    ! returns an array of one less dimension than A
                ! containing the maximum values of A along
                ! dimension D (if D is omitted, returns the
                ! maximum value in the entire array)
       MAXLOC(A):    ! returns a one-element 1D array whose value is
                ! the location of the first occurrence of the
                ! maximum value in A
       SUM(A, D):    ! returns an array of one less dimension than A
                ! containing the sums of the elements of A along
                ! dimension D (if D is omitted, returns sum of the
                ! elements in the entire array)
       MATMUL(A, B):    ! returns the matrix product of A and B
       TRANSPOSE(A):    ! returns the transpose of the 2D array A

Dynamic memory allocation:
  a)  To declare a real allocatable array A, do
       REAL, DIMENSION(:, :), ALLOCATABLE :: A  ! : represent two dimensions
                   OR
       REAL, ALLOCATABLE :: A(:, :)  ! : represent two dimensions

   b) To allocate memory at run time
       ALLOCATE ( A(N, N), STAT = AllocateStatus)
       IF (AllocateStatus /= 0) STOP "*** Not enough memory ***"

    c) To release momory allocated dynamically
       DEALLOCATE (A, STAT = DeAllocateStatus)


Internal subroutine / function. (local defined functions)
eg:
PROGRAM COLOR_GUIDE
...
 CONTAINS
  FUNCTION HUE(BLUE)   ! An internal procedure
  ...
  END FUNCTION HUE
END PROGRAM
 

Tuesday, April 8, 2014

AOSC @ UMD

http://www.atmos.umd.edu/ 
http://www.gradschool.umd.edu/catalog/programs/aosc.htm
http://www.testudo.umd.edu/  : academic calendar, class description and schedule of classes. 

Tamara Hendershot
3409 Computer and Space Science Building
College Park
MD  20742
Telephone: (301) 405-5389
Fax: (301)-314-9482
tammy@atmos.umd.edu



Masters of Professional Studies (M.P.A.O.)
Master of Professional Studies (MPAO) The Master of Professional Studies in Atmospheric and Oceanic Science is designed for meteorologists, oceanographers and environmental scientists who need cutting-edge skills and knowledge in atmospheric and oceanic science, in the computational methods used in our field, and in air quality science. The Director of Professional Studies will advise students in planning his or her course of study, and will provide career advice and The degree is earned by successful completion of ten 3-credit courses. Students must complete two out of the following three Certificate programs, each of which consists of four courses, plus two courses from the remaining Certificate Program.


Certificate #1, in Computational Methods in Atmospheric and Oceanic Science,
develops computer skills needed to understand weather and climate analysis and prediction technologies.
It is earned by successful completion of
AOSC630 : Statistical Methods in Meteorology and Oceanography
AOSC650 : unknown

AOSC684 : Climate System Modeling
AOSC614 : Atmospheric Modeling, Data Assimilation and Predictability  
    or
AOSC615 : Advanced data assimilation for the Earth Sciences (new)

Certificate #2, in General Atmospheric and Oceanic Science,
provides a broad phenomenological understanding of weather and climate, and the dynamical, thermodynamical
and radiative processes that drive them.
It is earned by successful completion of
AOSC431 : Atmospheric Thermodynamics
AOSC617 : Atmospheric and Oceanic Climate 

AOSC632 : unknow
AOSC670 : Physical Oceanography

Finally, Certificate #3, in Air Quality Science and Technology 
teaches the physical and chemical principles
that govern air quality and allow for analysis and prediction of extreme weather.
It is earned by successful completion of
AOSC424 : Remote Sensing of the Atmosphere and Ocean
AOSC600 : Synoptic Meteorology I
AOSC637 : Atmospheric chemistry
AOSC624 : Remote Sensing of Surface Climate
  or 
AOSC625 : Remote sensing of the atmosphere
The MPAO program is designed with the needs of working professionals in mind,
and can be completed on a part-time basis over no more than 5 years,
or on a full-time basis in 1 year and one semester.

class schedule 




Graduate Faculty
Chair
Carton, James A.

Director
Busalacchi, Antonio J.

Distinguished University Professor
Kalnay, Eugenia E

Professor
Busalacchi, Antonio J.
Dickerson, Russell R.
Hudson, Robert D.
Li, Zhanqing
Liang, Xin-Zhong
Murtugudde, Raghuram
Nigam, Sumant
Pinker, Rachel
Salawitch, Ross J.
Zhang, Da-Lin

Professor Emeritus
Baer, Ferdinand
Vernekar, Anandu D.

Associate Professor
Zeng, Ning

Monday, April 7, 2014

measure electromagnetic radiation from space


Clouds



words

account : a report or description of an event or experience. Consider or regard in a              specified way.
ad hoc : formed, arranged, or done for a particular purpose only.
adiabatic : without change in heat
adjective : /a'djective/  a word or phrase naming an attribute, added to or grammatically
               related to a noun to modify or describe it.
advection : 平流 the transfer of heat or matter by the flow of a fluid, especially horizontally
                   in the atmosphere or the sea.
affiliate : associate, partner, colleague, a person or organization officially attached to
               a larger body.
analogy : 打个比方a comparison between two things, typically on the basis of their
              structure and for the purpose of explanation or clarification.
annotate : gloss, add footnotes to, interpret, explain
archy :  君主国
as-semble : 组合(of people) gather together in one place 
       for a common purpose.
assimilate : incorporate, take in, absorb
attire : clothes, especially fine or formal ones. be dressed in clothes of a
            specified kind.
axes : plural of axis
axis : line around which shape is symmetrical
axle : shaft on which wheel turns
ax : tool for cutting, job loss, termination
baric : 气压
bear : (of a person) carry. 承担
bearer : 负担者  a person or thing that carries or holds something.
Belgium :  比利时bias : prejudice, partiality, unfairness, favoritism
bolt : short screw, bar for fastening door
by a long shot : by a wide margin, indicates a big difference / disparity
caulk : 填缝 seal (a gap or seam) with a waterproof filler and sealant.
coil : loop, curl, spiral, twirl, helix, whirl
collaboration : teamwork, partnership, group effort, alliance
collocate : place side by side
compare to : is to suggest resemblances between things having essentially
              DIFFERENT natures
compare with : is to suggest resemblances between things having essentially
             SIMILAR natures
conjugate : coupled, connected, or related, in particular.
continent : land mass, land above sea level, able to control urination and bowels
             (intestine, the deepest or innermost part of something)
consensus : general agreement
contagious : 传染性 (of a disease) spread from one person or organism to another
                    by direct or indirect contact.
correlate : associate, compare, show a relationship, link
côté d'ivoire : /'ka:t^di'va:/科特迪瓦
denote  : 记be a sign of; indicate.
determinant : a factor that decisively affects the nature of outcome of something
diagnose : identify cause of something, identify  illness in patient
diagnosis : analysis, judgement, finding, verdict
difference : dissimilarity, disparity, distinction, divergence
diffusion : the spreading of something more widely.
disassemble : 拆卸 take (something) apart.
discretize :  近似化 represent or approximate (a quantity or series) using
                a discrete quantity or quantities.
dissemination : the act of spreading something, especially
              information, widely; circulation.
dissertation : 论文 a long essay on a particular subject, esp. one written as a requirement
                for the Doctor of Philosophy degree.
electrical : operating by or producing electricity. 电动
electronic : (of a device) having or operating with the aid of many small components, esp.
                  microchips and transistors, that control and direct an electric current. 电子
en-semble : 合奏 group, collection, together
epidemic : 疫情 a widespread occurrence of an infectious disease in a community at
                a particular time.
essay : 作文 a short piece of writing on a particular subject.
et al. :  abbr. Latin et alii (and others)
evolution : 进化 the gradual development of something, esp. from a simple to a more
                  complex form.
exert : put forth, use, apply
extrude : push substance out through small hole
facilitate : make easy, ease, help, aid, assist 方便
flange : 轮缘 a projecting flat rim, collar, or rib on an object, 
         serving to strengthen or attach or (on a wheel) to maintain 
         position on a rail.
foe: enemy or opponent
framework : an essential supporting structure of a building,
               vehicle, or object.
fringe: edge, periphery, brink, rim, side, margin.
gasket : 垫片 a shaped piece or ring of rubber or other material sealing the junction
             between two surfaces in an engine or other device.
genre : 流派 a category of artistic composition, as in music 
      or literature, characterized by similarities in form, 
      style, or subject matter.
geography : topography, natural features, characteristics, layout
grace period : 宽限期 is a time past the deadline for an obligation during which
                      a late penalty that would have been imposed is waived.
graph : chart, diagram, grid, table
graphic : explicit, lifelike, realistic, vivid
graupel : small soft white ice particles that fall as hail or snow
guts : fortitude, resilience, backbone, courage
harness : tie together, strap up, bind, attach, connect
havoc: lay waste to, devastate, widespread  destruction.
heterogeneous : varied, mixed, assorted, diverse
hire : 聘请
hirarchy : 等级制度  a system or organization in which people or groups are
               ranked one above the other according to status or authority.
homogeneous : uniform, all the same, harmonized, consistent
hub : center, core, heart, focal point, focus, nucleus ( important element )
hydrometeor : any water or ice particles that have formed in atmosphere or at the Earth's
     surface as a result of condensation or sublimation.
hydrometeor : water in atmosphere
hydro : water 流体
hydrodynamics: 流体力学 
hydrostatics : 流体静力学 
hygrometer : an instrument to measure humidity
hydrometeor : 水凝 an atmospheric phenomenon or entity involving water or water
             vapor, such as rain or a cloud.
hyper : behaving in an excited and nervous way
hy'pothesis:  suppose, guess, assumption
infectious : 传染病 (of a disease or disease-causing organism) likely to be
              transmitted to people, organisms, etc., through the environment.
inflict: cause to be suffered by someone or something
influenza : 流感 a highly contagious viral infection of the respiratory passages
               causing fever, severe aching, and catarrh, and often
               occurring in epidemics.
infrastructure : the basic physical and organizational structures
                 and facilities (e.g., buildings, roads, and power supplies)
                 needed for the operation of a society or enterprise.
innovation : 1.something new or different introduced: numerous innovations in the
                    high-school curriculum. 2.the act of innovating; introduction of new
                   things or methods.
instant : a precise moment of time.(noun)
intrude : break in, infringe (break a law, rule, or agreement) 
isle : island
iso : 异
isobaric :  等压 equal or constant pressure, with respect to either space or time.
isotherm : 等温线 equal temperature
isotropic : 各向同性
justifiable : 正当 able to be shown to be right or reasonable; defensible.
lapse : an accidental or temporary decline or deviation from an expected or accepted
           condition or state; a temporary falling or slipping from a previous standard:
           a lapse of justice. 
latent : dormant, hidden, inactive, sleeping
lateral : side, on the side, cross, sideway
levy : tax, charge, impose, exact, cause
lodge : cabin, hotel, stay, accomodate
manifesto : 宣言 a public declaration of policy and aims, especially one issued
                 before an election by a political party or candidate.
mason : a builder and worker in stone.
masonry : stonework.
module : element, component, part, unit
mortar : 1. used as a  bond in masonry or for covering a wall. 2. a cup-shaped receptacle
              made of hard material, in which ingredients are crushed or ground, used
              especially in cooking or pharmacy.  3. a short, smoothbore gun for firing
              shells (technically called bombs) at high angles
normalize : multiply (a series, function, or item of data) by a factor that makes the
                  norm or some associated quantity such as an integral equal to a desired
                  value (usually 1).
notate : 符号表示 write (something, typically music) in notation.
oakum : 麻絮 loose fiber obtained by untwisting old rope, used especially in
             caulking wooden ships.
occlude : stop, close up, or obstruct (an opening, orifice, or passage).堵塞
optimal : best, most favorable, best possible
orography : the branch of physical geography dealing with mountains.
                  the study or mapping of relief, esp of mountains
orthogonal : pertaining to or involving right angles or perpendiculars: an orthogonal 
              projection. (of a linear transformation) defined so that the length of  
              a vector/point under the transformation equals the length of the original  
              vector. (dxu: a point moving from a place to another place with distance 
              to origin unchanged.) 
outreach : help and advice provided without people asking
overlay : palce on top, overlie, spared over the surface
pane : 窗格 a single sheet of glass in a window or door.
panel : 面板 a flat or curved component, typically rectangular, that forms or is set into
           the surface of a door, wall, or ceiling.
per'diem : for each day. Used after an amount of money to mean "for each day"
perplex : bewilder, confuse, puzzle, baffle, confound, mystify
perturbation : to disturb or disquiet greatly in mind; agitate. to throw into great 
                disorder; derange.
pin : hold, fasten, attach, badge, brooch

polarization : cause division of opinion, restrict vibration of light, cause light to
                vibrate within a particular plane
procure : obtain, acquire, secure, buy, gain
procurement : the action of obtaining or procuring something
prone to : likely to, given to, inclined to, tend to
propagate : breed specimens of (a plant, animal, etc.) by natural processes from the
                parent stock spread and promote (an idea, theory, etc.) widely.
psychrometer : an instrument consisting of two thermomenters
purge : wash out, cleanse, flush out
qualitative : relating to, measuring, or measured by the quality of something rather
                 than its quantity.
quantitative : relating to, measuring, or measured by the quantity of something rather
                    than its quality. 
radio : the use of electromagnetic waves to transmit and receive information
recap : (noun)a summary of what has been said; a recapitulation.
            (verb) state again as a summary; recapitulate.
regression : weakening, failure, decay, falling off
revolution : complete circular turn, overthrow of government, major change
RH : relative humidity
rim : 轮圈 the upper or outer edge of an object, typically something circular or
         approximately circular.
RPM : revolutions per minute
savvy : know-how, confidence, knowledge
scale : level, weighing machine, size, range, extent, dimension
scrum : ( restart a play ) an ordered formation of players, used to
         restart play, in which the forwards of a team form up with
        arms interlocked and heads down, and push forward against
         a similar group from the opposing side.
seminar : class, tutorial, discussion group, round table
simulate : replicate, reproduce, copy, imitate, mimic
skirmish : 前哨战 an episode of irregular or unpremeditated fighting, especially
               between small or outlying parts of armies or fleets.
sling : throw away
snap : break, crack, sudden
socket : shaped hole for connection, outlet
solute : 溶质 the minor component in a solution, dissolved in the solvent.
solvent weld :  溶剂 the liquid in which a solute is dissolved to form a solution.
spectroscopy : study of the interaction between matter and radiated energy.  the
            science and practice of using spectrometers and spectroscopes and of
            analysing spectra, the methods employed depending on the radiation
            being examined.
stochastic : /sto'kastic/ 随机 randomly determined; having a random probability
                 distribution or pattern that may be analyzed statistically but may not be
                 predicted precisely.
swath : the width cut by a single passage of a scythe or mowing machinestratify :
             form into layers, form into status groups
streamline : 简化, design or provide with a form that presents very little
          resistance to a flow of air or water, increasing speed and
          ease of movement.(of fluid flow) free from turbulence.
to make
                    (something) simpler, more effective, or more productive
                    (from complicate to SIMPLER)
submerge: cause to be under water
suppress : overpower, conquer, overturn, dominate
surrogate : a substitute, esp. a person deputizing for another in a specific role or office.
synopsis : a brief summary or general survey of something.
synoptic :  the analysis and prediction of large-scale weather systems, such as 
                 extratropical cyclones and their associated fronts and jet streams.
spasm : 痉挛 a sudden involuntary muscular contraction or 
     convulsive movement. 
tale : a story or report that  is untrue
tailgate : drive too closely behind another vehicle
temporal : relating to time, brief
thermal : 热
topography : scenery, landscape, geography, countryside
transform : change, alter 
transpose : to change the relative position, order, sequence of ,
                  (of a matrix) to interchange rows and columns
trajectory : the path followed by a projectile flying or an object moving under the
                action of given forces.
turbulent : characterized by conflict, disorder, or confusion; not controlled or calm.
underlie/underlying : The obvious meaning of underlying refers to something beneath
                                   something else.  But the word carries a more subtle meaning,
                                  that of something hidden but important, something that shapes
                                  the meaning or effect of something else, without being explicit
                                  itself.
usher : 招待员    a person who shows people to their seats,
                especially in a theater or at a wedding.
variational :  the act, process, or accident of varying in condition, character, or degree. 
                    a different form of something; variant. 
verbose: in details 
vorticity : a measure of the circulation of a fluid: a quantity equal to twice the angular
             momentum of a particle of the fluid around which there is circulation.
voyage : long journey involving travel by sea or in space
weld : join together (metal pieces or parts) by heating the surfaces to the point of
           melting using a blowtorch, electric arc, or other means, and uniting them by
           pressing, hammering, etc..
Cardiology   心脏病
Chiropractic Medicine   整脊医学
Dermatology    皮肤科
Ear, Nose and Throat (ENT)   耳,鼻,喉
Family Practice    家庭实践
Gastroenterology   胃肠病
General Practice    一般的做法
Internal Medicine    内科
Obstetrics/Gynecology   产科/妇科
Orthopedics   骨科
Pediatrics   儿科
Podiatry   足部
Surgery    手术

Wednesday, April 2, 2014

Relative humidiy ( humidity)



Relative humidity
The ratio = the vapor pressure / the saturation vapor pressure
The ratio = the mixing ratio / the saturation mixing ratio.

These two definitions yield almost identical numerical values.
Relative humidity is usually expressed in percent and can be computed from psychrometric data.Unless specified otherwise, relative humidity is reported with respect to waterrather than ice because most hygrometers are sensitive to relative humidity with respect to water even at subfreezing temperatures, and because the air can easily become supersaturated with respect to ice, which would require three digits in coded messages for relative humidity with respect to ice.
mixing ratio
The ratio of the mass of a variable atmospheric constituent to the mass of dry air.

If not otherwise indicated, the term normally refers to water vapor. For many purposes, the mixing ratio may be approximated by the specific humidity. Either r or w is commonly used to symbolize water vapor mixing ratio, with r used for thermodynamic terms in this glossary. In terms of the pressure p and vapor pressure e, the mixing ratio r is





saturation mixing ratio
the value of the mixing ratio of saturated air at the given temperature and pressure.

specific humidity
In a system of moist air, the ratio of the mass of water vapor to the total mass of the system.

The specific humidity q is related to the mixing ratio  rv by





dewpoint (Or dewpoint temperature.)
The temperature to which a given air parcel must be cooled at constant pressure and constant water vapor content in order for saturation to occur.
When this temperature is below 0°C, it is sometimes called the frost point.
The dewpoint may alternatively be defined as the temperature at which the saturation vapor pressure of the parcel is equal to the actual vapor pressure of the contained water vapor.


Isobaric heating or cooling of an air parcel does not alter the value of that parcel's dewpoint, as long as no vapor is added or removed.
Therefore, the dewpoint is a conservative property of air with respect to such processes.

However, the dewpoint is nonconservative with respect to vertical adiabatic motions of air in the atmosphere.

The dewpoint of ascending moist air decreases at a rate only about one-fifth as great as the dry-adiabatic lapse rate.

The dewpoint can be measured directly by several kinds of dewpoint hygrometers or it can be deduced indirectly from psychrometers or devices that measure the water vapor density or mixing ratio.













The Dry Bulb, Wet Bulb and Dew Point temperatures are important to determine the state of humid air. The knowledge of only two of these values is enough to determine the state - including the content of water vapor and the sensible and latent energy (enthalpy).
humidity measurement dry wet bulbe temperature

Dry Bulb Temperature - Tdb

The Dry Bulb temperature, usually referred to as air temperature, is the air property that is most common used. When people refer to the temperature of the air, they are normally referring to its dry bulb temperature.
The Dry Bulb Temperature refers basically to the ambient air temperature. It is called "Dry Bulb" because the air temperature is indicated by a thermometer not affected by the moisture of the air.
Dry-bulb temperature - Tdb, can be measured using a normal thermometer freely exposed to the air but shielded from radiation and moisture. The temperature is usually given in degrees Celsius (oC) or degrees Fahrenheit (oF). The SI unit is Kelvin (K). Zero Kelvin equals to -273oC.
The dry-bulb temperature is an indicator of heat content and is shown along the bottom axis of the psychrometric chart. Constant dry bulb temperatures appear as vertical lines in the psychrometric chart.

Wet Bulb Temperature - Twb

The Wet Bulb temperature is the temperature of adiabatic saturation. This is the temperature indicated by a moistened thermometer bulb exposed to the air flow.
Wet Bulb temperature can be measured by using a thermometer with the bulb wrapped in wet muslin. The adiabatic evaporation of water from the thermometer and the cooling effect is indicated by a "wet bulb temperature" lower than the "dry bulb temperature" in the air.
The rate of evaporation from the wet bandage on the bulb, and the temperature difference between the dry bulb and wet bulb, depends on the humidity of the air. The evaporation is reduced when the air contains more water vapor.
The wet bulb temperature is always lower than the dry bulb temperature but will be identical with 100% relative humidity (the air is at the saturation line).
Combining the dry bulb and wet bulb temperature in a psychrometric diagram or Mollier chart, gives the state of the humid air. Lines of constant wet bulb temperatures run diagonally from the upper left to the lower right in the Psychrometric Chart.

Dew Point Temperature - Tdp

The Dew Point is the temperature at which water vapor starts to condense out of the air (the temperature at which air becomes completely saturated). Above this temperature(dew point temp)  the moisture will stay in the air.
  • if the dew-point temperature is close to the dry air temperature -  the relative humidity is high
  • if the dew point is well below the dry air temperature - the relative humidity is low
If moisture condenses on a cold bottle taken from the refrigerator, the dew-point temperature of the air is above the temperature in the refrigerator.
The Dew Point temperature can be measured by filling a metal can with water and some ice cubes. Stir by a thermometer and watch the outside of the can. When the vapor in the air starts to condensate on the outside of the can, the temperature on the thermometer is pretty close to the dew point of the actual air.
The Dew Point is given by the saturation line in the psychrometric chart.

Dew Point Temperature Charts

Dew point temperatures from dry and wet bulb temperatures are indicated in the charts below.

Dew Point Temperature Charts

Dew Point Temperature Chart in degrees Celcius

Dew Point Temperature Chart in degrees Fahrenheit






Tuesday, April 1, 2014

Deep cleaning

What is Deep Cleaning (Deep Scaling & Root Planing)?
If plaque and tartar is left on the teeth, as we mentioned before, it provides the right conditions for bacteria to thrive. The bacteria irritate the gums, which means that they bleed more easily. You may notice this if you are brushing your teeth, or eating, and sometimes your gums may bleed a bit. This is the early stage of gum disease called gingivitis[DX1] . If you have gingivitis, your dentist or hygienist will clean your teeth by scaling and polishing them. They may also recommend an antiseptic mouthwash containing chlorhexidine (e. g. Corsodyl in the U.K.), and show you how to brush and floss your teeth effectively. Most adults have some degree of gum disease.
If gingivitis not treated and nothing is done about it, the inflammation will work its way down towards the foundations of the tooth causing a "periodontal pocket". Again, within the confines of the pocket, the conditions are such that the bacteria can have a right old party, and cause more damage.
Gum disease can break down the support (bone) structures of the teeth, so that eventually, they will become loose. The problem is that until it gets quite severe, the person often has no symptoms. Sadly, the damage to the support structures of the teeth is irreversible. The good news is that if gum disease is caught in time, its progression can be halted and improved upon, and that is the key.
To stop gum disease from progressing, your dentist may advise periodontal therapy, or deep cleaning.[DX2]  This gets rid of the bacteria in the pocket and provides the necessary conditions for healing to occur.
What is the difference between an ordinary cleaning and deep cleaning?
There is some confusion about the difference between scaling and root planing. Scaling is basically the process of removing dental tartar from the surfaces of the teeth (see dental cleanings). Root planing is the process of smoothening the root surfaces and removing any infected tooth structure.[DX3]  If you have gum disease or gum pocketing, the gum pockets around the teeth will have deepened, thereby allowing tartar deposits to form under the gumline.
The two processes tend to blur together since during the cleaning process, the dental worker scales away tartar and performs any necessary root planing at the same time. Any roughness can be planed away to result in a silky smooth surface.
Does it hurt?
Depending on the depth of the pocket and severity of the root surface irregularity, the dentist may wish to make the area numb so that the process is comfortable for you. Don't hesitate to discuss with your dentist or hygienist how to best manage any discomfort.
As an alternative to injectable anesthetics, Oraqix might be an option to try with deeper pocket cleaning. It is a special non-injection device that delivers topical anesthetic gel gently into the gum pockets thereby avoiding numbing of the lips and or tongue as can occur with injected local anesthetics. Oraqix mostly numbs the gum pocket itself so it may not be effective in eliminating sensations in the teeth themselves. Some offices may not have this device so it's best to check with your dental office.
Sometimes if the pockets are not too deep, there may be little or no discomfort during the procedure - even without numbing. The only sensation may be the physical scraping feeling along the teeth as the area is cleaned and smoothened. A root planed root surface free of tartar has a better chance of allowing the gum tissues to heal and reattach to it. As a result, some deep gum pockets can be reduced after a deep cleaning.

How long does it take?
Typically with deeper pockets and extensive rough root surfaces, the deep scaling and root planing procedure might be broken down into quadrants of work per appointment. For example, the upper right side of the mouth might be worked on one day, and the three other parts worked on at separate appointments. Or alternatively, one half of the mouth (right or left, upper or lower) might be cleaned per appointment. This also allows for only a part of the mouth being frozen at a time and makes for more manageable, shorter appointments.

The dentist may use antibiotic gels within the periodontal pocket, again to remove any nasty bugs, or may rinse out the pocket with various medications such as chlorhexidine.

What can I expect afterwards?
  • Discomfort can vary after root planing, but one can expect it to be more sore afterwards since it's usually in a deeper region under the gums.
  • The teeth themselves can become a bit more sensitive to temperature, and bleeding might occur for a little while.
  • Over-the-counter painkillers such as ibuprofen work very well to alleviate discomfort, but stronger painkillers can be given should you need them.
  • Brushing and flossing can be delayed or done more gently to avoid aggravating any bruised or tender gum areas.
  • Your dentist or hygienist may recommend salt water or chlorhexidine rinses.
Periodontal Surgery
If the pocket that has formed is inaccessible to the dentist or does not heal during regular treatment, it may be necessary to gain access to the area to have it cleaned properly. Sometimes this is done by periodontal surgery, under local anaesthetic, when the gum is lifted back so the dentist can clean the area and then pop the gum back in place. It is usually secured in place by a couple of wee sutures, and will then heal normally.[DX4] 

Deep cleaning and other periodontal treatments can largely be avoided if you are careful with your cleaning. One of the ideas of having regular check-ups is to avoid such problems developing. Your dentist is a squeamish soul, who probably faints at the sight of blood, and likes to have things tidy. Therefore they'll be more than happy to show you how to clean your teeth properly if you are unsure how to do it. You might think that this is like teaching your granny to suck eggs, but actually, my granny never sucked an egg in her life, and you'd be surprised how many people don't know how. (To clean their teeth, silly! Not suck eggs!) If there are other areas in your life where you are unsure if you are doing things right, your dentist may not be the best person to ask, but certainly, they should know all about how to clean your teeth!