atmospheric physics computational models and data...

103
1 Joseph J. Trout, Ph.D. Joseph J. Trout, Ph.D. Drexel University Drexel University [email protected] [email protected] 610-348-6495 610-348-6495 Atmospheric Physics Computational Models and Data Analysis A Presentation to the Physics Department at the Richard Stockton State College of New Jersey Wednesday, 2 March 2011

Upload: others

Post on 06-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

1Joseph J. Trout, Ph.D.Joseph J. Trout, Ph.D.Drexel UniversityDrexel [email protected]@drexel.edu610-348-6495610-348-6495

Atmospheric Physics Computational Models and Data Analysis

A Presentation to the Physics Department at the Richard Stockton State College of New JerseyWednesday, 2 March 2011

Page 2: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

2

I.I. A Short Course on Atmospheric PhysicsA Short Course on Atmospheric PhysicsII.II. ERICA Aircraft DataERICA Aircraft DataIII.III. Cyclone ModelsCyclone ModelsIV.IV. LAMPS90 NWP Model SimulationsLAMPS90 NWP Model SimulationsV.V. Data Analysis - WaveletsData Analysis - Wavelets

Page 3: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

3

A Short Course on Atmospheric Physics

Page 4: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

4

Terminology:

Front:

A front may be defined as a sloping zone of pronounced transition in the thermal and wind fields. Consequently, they are characterized by a combination of:

A. Large Static Stability B. Large Horizontal Temperature Gradient . C. Absolute Vorticity ( horizontal wind shear). D. Vertical Wind Shear.

When depicted on a quasi-horizontal surfaces, fronts appear as long, narrow features in which the the along front scale is typically an order of magnitude greater than the across front scale. ( 1000-2000 km versus 100-200 km). (Keyser, 1986)

10 km≈6.21miles

Page 5: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

5

Terminology:

Front:

A front is an "elongated" zone of "strong" temperature gradient and relatively large static stability and cyclonic vorticity.(Bluestein, 1986)

10 km≈6.21miles

Page 6: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

6

Terminology:

Front:A front is an "elongated" zone of "strong" temperature gradient and relatively large static stability and cyclonic vorticity.(Bluestein, 1986)

●Strong - At least an order of magnitude greater than the synoptic scale value of 10 K/ 1000 km.●Elongated - A zone whose length is roughly half an order of magnitude greater than its width.●Static Stability - Buoyancy forces and gravitational forces lead to decelerating a parcel's upward motion●Cyclonic Vorticity - The curl (turning) of the wind with counter clockwise cyclonic circulation around a low in N. H. being positive.

10 km≈6.21miles

Page 7: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

7

Zero Order Model

First Order Model

Page 8: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

8

Cold Front – “Cold” Air Mass Replaces “Warm” Air Mass.

Terminology:

Page 9: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

9

Cold Front – “Cold” Air Mass Replaces “Warm” Air Mass.

Terminology:

Page 10: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

10

Cold-Type Occlusion – Air behind advancing cold front colder than cool air ahead of warm front

Terminology:

Page 11: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

11

Warm-Type Occlusion – Air behind the advancing cold front is not as cold as the air ahead of the warm front.

Terminology:

Page 12: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

12

East

North

Up

V windV wind

V wind= x i+ y j+ z kV wind=u i+v j+ω k

Terminology:

Page 13: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

13

Warm ColdFront

Actual Wind

FrontNormal Component

FrontParallel Component

i

j

Terminology:

Page 14: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

14

Terminology:

Vorticity :

Defined as the curl of a vector. It is the rotation of air around a vertical axis.

∇ X V=( i ∂∂ x

+ j ∂∂ y

+k ∂∂ y )X (u i+v j+ω k )

∇ X V=ξ i+η j+ζ k

ξ=∂ v∂ x

−∂u∂ y

≈−∂u∂ y

Page 15: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

15

Terminology:

Convergence (Divergence) :Convergence - The winds result in a net inflow of air. Generally associate this type of convergence with low-pressure areas, where convergence of winds toward the center of the low results in an increase of mass into the low and an upward motion.

Divergence – The winds produce a net flow of air outward. Generally associated with high-pressure cells, where the flow of air is directed outward from the center, causing a downward motion.

∇H⋅V=( i ∂∂ x

+ j ∂∂ y )⋅(u i+v j )

∇ H⋅V=(∂u∂ x

+∂ v∂ y )≈ ∂ v

∂ y

Page 16: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

16

Terminology:

Virtual Temperature:

Virtual Temperature takes into account the moisture dependence of an air parcel. Virtual Temperature is the temperature that makes the ideal gas equation correct when considering moist air.

T v=(1+0.6q )T

T v=Virtual Temperatureq=Mixing Ratio=Ratio of mass of water vapor to mass of dry air.T=TemperaturePV=nRT Ideal Gas Law

Page 17: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

17

Terminology:

Potential Temperature:

Potential Temperature is the temperature an air parcel would have if it were bought adiabatically to a reference pressure of 1000mb.

θ≈T (Po

P )R /cp

θ=Potential TemperatureT= Temperature of the Air ParcelPo=Reference Pressure (1000mb )P= Pressure of the Air ParcelR= Universal Gas ConstantC P= Specific Heat at Constant Pressure

Page 18: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

18

Terminology:

Equivalent Potential Temperature:

Equivalent Potential Temperature is the temperature an air parcel would have if it were bought adiabatically to a reference pressure of 1000mb and all the moisture condensed out and the latent heat used to warm the parcel.

θe≈θe(LC q s

C PT )θe=Equivalent Potential Temperatureθ=Potential TemperatureT= Temperature of the Air ParcelR= Universal Gas ConstantC P= Specific Heat at Constant Pressure

q s=Saturation Mixing Ratio =621.97( es

P−e s)

Page 19: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

19

Experiment on Rapidly Intensifying Cyclones over the Atlantic (ERICA)

Data collected by aircraft.

Page 20: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

20

This is what I want.

Front

Page 21: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

21

This is what I received.

Front

Page 22: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

22

0 20 40 60 80 100 120 1400

2

4

6

8

10

12

14

Virtual Temperature

Distance Through Front [ km ]

Tem

pera

ture

[ o

C ]

Page 23: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

23

0 20 40 60 80 100 120 140276

278

280

282

284

286

288

290

Potential Temperature

Distance Through Front [ km ]

Tem

pera

ture

[K ]

Page 24: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

24

0 20 40 60 80 100 120 140286

291

296

301

306

311

Equivalent Potential Temperature

Distance Through Front [ km ]

Tem

pera

ture

[K ]

Page 25: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

25

0 20 40 60 80 100 120 1400

2

4

6

8

10

12

14

16

18

20

East-West Wind - E102131E

Distance Through Front [km]

Win

d [m

/s]

Page 26: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

26

0 20 40 60 80 100 120 140

-30

-20

-10

0

10

20

30

40

North-South Wind - E102131E

Distance Through Front [km]

Win

d [m

/s]

Page 27: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

27

Page 28: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

28

Cyclone Models

Page 29: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

29

Page 30: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Stages in the Life Cycle of a Mid-latitude Wave Cyclone

Page 31: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 32: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 33: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 34: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 35: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 36: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Life Cycle of a Wave Cyclone

Page 37: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

Cloud Patterns – Mature Wave Cyclone

Page 38: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

38

Limited Area Mesoscale Prediction System

(LAMPS 90)

Page 39: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

39

Conservation of Horizontal Momentum∂u∂ t =(−u ∂u

∂ x−v ∂u∂ y−w ∂u

∂ z )−1ρ

∂ P∂ y + fv+uv

r etan α+ ∂u

∂ t conv+∂u

∂ t s∂ v∂ t =(−u ∂ v

∂ x−v ∂ v∂ y−w ∂v

∂ z )−1ρ

∂P∂ y + fu+u2

retan α+ ∂v

∂ t conv+ ∂v

∂ t si . ii . iii . iv . v . vii .vi .

Page 40: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

40

Conservation of Horizontal Momentum∂u∂ t =(−u ∂u

∂ x−v ∂u∂ y−w ∂u

∂ z )−1ρ

∂ P∂ y + fv+uv

r etan α+ ∂u

∂ t conv+∂u

∂ t s∂ v∂ t =(−u ∂ v

∂ x−v ∂ v∂ y−w ∂v

∂ z )−1ρ

∂P∂ y + fu+u2

retan α+ ∂v

∂ t conv+ ∂v

∂ t s

i. local time changeii. advectioniii. pressure gradient forceiv. Coriolis forcev. curvature termvi. convective transportvii. eddy transport

i . ii . iii . iv . v . vii .vi .

Page 41: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

41

Conservation of Vertical Momentum∂w∂ t =(−u ∂w

∂ x −v ∂w∂ y −w ∂w

∂ z )−1ρ

∂ P∂ z −g+u2+v2

re+ ∂w

∂ t conv+∂w

∂ t si . ii . iii . iv . v . vii .vi .

i. local time changeii. advectioniii. pressure gradient forceiv. gravityv. curvature termvi. convective transportvii. eddy transport

Page 42: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

42

Conservation of Thermal Energy∂T∂ t =(−u ∂T

∂ x −v ∂T∂ y −w ∂T

∂ z )− 1cP

Q

+ 1ρcP

(∂ P∂ t

+u ∂ P∂ x

+v ∂P∂ y

−w ∂ P∂ z )+ ∂T

∂ t conv+ ∂T

∂ t rad+∂T

∂ t s

i . ii . iii .

iv . v . vii .vi .

i. local time changeii. advectioniii. latent heat (condensation/evaporation)iv. compressional warmingv. convective transportvi. radiation (heating/cooling)vii. eddy transport

Page 43: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

43

Conservation of Mass∂ρ∂ t =(−u ∂ρ

∂ x−v ∂ρ∂ y−w ∂ρ

∂ z )+(−∂ u∂ x−∂v

∂ y−∂w∂ z )

i . ii . iii .

i. local time changeii. advectioniii. divergence

Ideal Gas LawPV=nRtP=ρRT

Page 44: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

44

R K K I I G Q G

KST daytime

nighttime

elevation anglet

latitudeitude

t ox

solar declinationt celestial longitude

o

N

k

s sUTC

sl b l

b

= ↑ + ↓ + ↓ + ↑ − = −

↓ =>≤

= −

+

=−

=

*

sin , sin, sin

sin sin sin cos cos cos

log

tansin sin

.

Ψ ΨΨ

Ψ

00 0

12

1 4090951

2

φ δ φ δπ

λ

φλ

δ

Incoming and Outgoing Long and Short Wave Radiation

Page 45: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

45

There are eight variables required to start the model:1. East-West Components of the Horizontal Wind2. North-South Components of the Horizontal Wind3. Temperature4. Moisture5. Pressure6. Terrain7. Surface Water Coverage8. Surface Temperature

Page 46: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

46

Incipient Frontal Cyclone

Page 47: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

47Frontal Fracture

Page 48: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

48Bent Back and T- Bone Phase

Page 49: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

49Warm Core Frontal Seclusion

Page 50: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

50

Page 51: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

51

Page 52: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

52

Page 53: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

53

Page 54: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

54

Page 55: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

55

Page 56: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

56

Page 57: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

57

Page 58: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

58

Page 59: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

59

Data Analysis

Fourier versus Wavelet

Page 60: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

60

Computation of Fourier Series Computation of Fourier Series on Interval -on Interval -ππ <= x <= + <= x <= +ππ

f x =ao∑k=1

[ak cos kx bk sin kx ]

a0=1

2∫−a

a

f x dt

ak=1∫−a

a

f x cos k x dt

bk=1∫−a

a

f x sin k x dt

Fourier Coefficients of the Function f(x):

Page 61: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

61

Computation of Fourier Series Computation of Fourier Series on Interval -on Interval -ππ <= x <= <= x <= ππ

-9.42 -6.28 -3.14 0.00 3.14 6.28 9.42-4

-3

-2

-1

0

1

2

3

4

k=1k=2k=3k=4k=5k=6k=7k=8k=9k=10Sumf(x)=x

S 10 x =∑k=1

10 2−1k1

ksin kx

Page 62: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

62

Computation of Fourier Series Computation of Fourier Series on Interval -on Interval -aa <= x <= <= x <= aa

Even Function

S 10 x =4

− 2∑k=0

∞ 12k1 2

cos 4k2 x

-6.28 -4.71 -3.14 -1.57 0 1.57 3.14 4.71 6.280

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

Sawtooth

k=0k=2k=3k=4k=5k=6k=7k=8k=9k=10

x

f(x)

Page 63: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

63

Fast Fourier Transform ( FFT)Fast Fourier Transform ( FFT)

Function: y t =e−cos t 2

sin 2t2 cos 4t0.4 sin t sin 50 t

Original Signal discretized with 28=256 points. 0≤t≤2

Page 64: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

64

Fast Fourier Transform ( FFT)Fast Fourier Transform ( FFT)

Function: y t =e−cos t 2

sin 2t2 cos 4t0.4 sin t sin 50 t

Original Signal discretized with 28=256 points. 0≤t≤2Sun Performance Library FFT used to generate the Discrete Fourier Coefficients yk , k=0,. .. ,255 .Noise has a frequency that is larger than 5 cycles per 2 interval.

Page 65: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

65

Fast Fourier Transform ( FFT) – Fast Fourier Transform ( FFT) – Use to Filter out Noise.Use to Filter out Noise.

Function: y t =e−cos t 2

sin 2t2 cos 4t0.4 sin t sin 50 t

Original Signal discretized with 28=256 points. 0≤t≤2Sun Performance Library FFT used to generate the Discrete Fourier Coefficients yk , k=0,. .. ,255 .Noise has a frequency that is larger than 5 cycles per 2 interval.Keep only y k for 0≤k≤5 and set yk=0.0 for 6≤k≤128 .By Theorem, yk=0 for 128≤k≤250 . Applying FFT to filter yk

Filtered by keeping first five coefficients and completinginverse FFT.

Error=∣∣y− yc∣∣l2

∣∣y∣∣l2

=0.26

Page 66: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

66

III. What is a wavelet?

Page 67: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

67

Haar Wavelet AnalysisHaar Wavelet AnalysisScaling Function: Sometimes called the Father Wavelet.Wavelet : Sometimes called the Mother Wavelet.

-1.5 -1 -0.5 0 0.5 1 1.5 2 2.5-0.2

0

0.2

0.4

0.6

0.8

1

1.2

Haar Scaling Function

x

y

x =1 if 0≤x1 =0 Elsewhere.

Let V 0 be the space of all functions of the form:∑k∈Z

ak x−k ak∈R

Where k can range over any finite set ofpositive and negative integers.

White dots are discontinuities.

Page 68: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

68

Haar Wavelet AnalysisHaar Wavelet AnalysisScaling Function: Sometimes called the Father Wavelet.Wavelet : Sometimes called the Mother Wavelet.

Haar Scaling Function

x x =1 if 0≤x1 =0 Elsewhere.

x

y

j j1 k k12

x− j

2 2 x−k

1

0 1

2x

12

2

Page 69: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

69

Haar Wavelet AnalysisHaar Wavelet AnalysisScaling Function: Sometimes called the Father Wavelet.Wavelet : Sometimes called the Mother Wavelet.

White dots are discontinuities.

1

-1

01/2

1 x

x = 2x − 2 x−1/2 = 2 x − 2x−1

Page 70: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

70

Other Wavelets - ShannonOther Wavelets - Shannon x =

sin x x

-6.28 -3.14 0 3.14 6.28-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

x

x

x 22 x

Page 71: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

71

Other Wavelets – Linear SplineOther Wavelets – Linear Spline

x =−x e−x 2

2

x x

x 21 x 22 x 23 x

-3.14 -1.57 0 1.57 3.14-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

x

Page 72: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

72

Other WaveletsOther Wavelets

1)Haar Compact Support Discontinuous

2)Shannon Very Smooth Extend throughout the whole real line Decay at infinity very slowly

3)Linear Spline Continuous Have infinite support Decay rapidly at infinity

Finite or Compact SupportLet V 0 be the space of all functions of the form: ∑

kak x−k ak∈R

where k range over set of positive or negative integers. Since k rangesover a finite set, each element of V 0 is zero outside a bounded set.

Page 73: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

73

Other Wavelets - DaubechiesOther Wavelets - Daubechies

Enter Ingrid Daubechies:Enter Ingrid Daubechies:●Simplest is Haar wavelet, only discontinuous wavelet.

●Others are continuous and compactly supported.

●As you move up hierarchy, become increasingly smooth ( have prescribed number of continuous derivative).

Page 74: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

74

Other Wavelets - DaubechiesOther Wavelets - Daubechies

Page 75: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

75

Other Wavelets - DaubechiesOther Wavelets - DaubechiesDAUB4 Initial Values:

0 ≡0

1≡132

2 ≡1−32

3 ≡0DAUB4

DAUB4 Abreviations:

h0=13

4

h1=33

4

h2=3−3

4

h3=1−3

4

DAUB4 Recurrence Relation: r =h0 2r h1 2r−1 h2 2r−2 h3 2r−3

Say you want to approximate 12+1 points.

Initial Values : r=0,1,2,3

First Iteration: r=12, 32, 52

Second Iteration :r=14, 34, 54, 74, 94, 11

4

Page 76: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

76

Other Wavelets - DaubechiesOther Wavelets - DaubechiesThe function serves as the basic building block for its associated wavelet,denoted by , and defined by the following recursion:

r ≡−134 2r−1 33

4 2r −3−34 2r11−3

4 2r2

r ≡−h0 2r−1 h1 2r −h2 2r1 h3 2r2

r =−1 1h1−1 2r−1−1 0 h1−0 2r−0 −1 −1h1−[−1] 2r−[−1]−1 −2h1−[−2] 2r−[−2 ]

Because r =0 if r≤0 or r≥3 , it follows that r =0 if 2r2≤0or 2r−1≥3 , or, equivalently, if, r≤−1 or r≥2. For values r such that −1r2 , the recursion yields r .

Page 77: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

77

Using Wavelets to Filter DataUsing Wavelets to Filter Data

Function: y t =e−cos t 2

sin 2t2 cos 4t0.4 sin t sin 50 t

Original Signal discretized with 28=256 points. 0≤t≤2Numerical Recipes Daub 8 used to generate wavelet coefficients yk , k=0,. .. ,255 .Keep only wavelet coefficients with a magnitude > 1 .

Page 78: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

78

Fast Fourier Transform ( FFT) – Fast Fourier Transform ( FFT) – Use to Filter out Noise.Use to Filter out Noise.

Function: y t =e−cos t 2

sin 2t2 cos 4t0.4 sin t sin 50 t

Original Signal discretized with 28=256 points. 0≤t≤2Sun Performance Library FFT used to generate the Discrete Fourier Coefficients yk , k=0,. .. ,255 .Noise has a frequency that is larger than 5 cycles per 2 interval.Keep only y k for 0≤k≤5 and set yk=0.0 for 6≤k≤128 .By Theorem, yk=0 for 128≤k≤250 . Applying FFT to filter yk

Filtered by keeping first five coefficients and completinginverse FFT.

Error=∣∣y− yc∣∣l2

∣∣y∣∣l2

=0.26

Page 79: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

79

IV. Comparison of DWT to FFT

Page 80: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

80

Comparison of DWT to FFTComparison of DWT to FFTf t =2 sin 2 f 1 t 3sin 2 f 2 t sin 2 f 3 t

f 1=5Hzf 2=20Hzf 3=80 Hz

Page 81: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

81

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t sin 2 f 3 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

Page 82: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

82

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t sin 2 f 3 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

Page 83: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

83

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 84: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

84

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 85: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

85

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 86: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

86

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 87: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

87

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 88: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

88

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 89: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

89

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 90: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

90

Comparison of DWT to FFTComparison of DWT to FFTf t =2sin 2 f 1 t 3 sin 2 f 2 t

f 1=5Hzf 2=20 Hzf 3=80 Hz

f t =2sin 2 f 1 t sin 2 f 3 t

Page 91: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

91

V. Wavelet Analysis for Temperature Data

Page 92: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

92

Wavelet Analysis for Temperature Data

Original Signal

Page 93: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

93

Wavelet Analysis for Temperature Data

Original and Filtered Signal

Page 94: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

94

Wavelet Analysis for Temperature Data

Filtered Signal

Page 95: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

95

Wavelet Analysis for Temperature Data

Page 96: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

96

Wavelet Analysis for Temperature Data

Page 97: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

97

Wavelet Analysis for Temperature Data

Original Signal

Page 98: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

98

Wavelet Analysis for Temperature Data

Page 99: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

99

Wavelet Analysis for Temperature Data

Page 100: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

100

Wavelet Analysis for Temperature Data

Original Signal

Page 101: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

101

Conclusions:

1.) The structure of the fronts was found from the data collected.2.) The model reproduced the cyclone well, even though the resolution was too coarse to reproduce the fronts.3.) Wavelet Analysis can be useful to analyze the data.

Page 102: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

102

What to do Next:

1.) Continue to improve the model, increasing resolution.2.) Analyze the data collected and the model data to see how well the model reproduces the atmosphere.

Page 103: Atmospheric Physics Computational Models and Data Analysisjoetrout/richard_stockton_state_college.pdf · Atmospheric Physics Computational Models and Data Analysis A Presentation

103Joseph J. Trout, Ph.D.Joseph J. Trout, Ph.D.Drexel UniversityDrexel [email protected]@drexel.edu610-348-6495610-348-6495

Thank You.Question?