Smoothing and Filtering. My subroutines state.edu/geog8901/data/subroutines/http://lightning.sbs.ohio- state.edu/geog8901/data/subroutines/

Slides:



Advertisements
Similar presentations
The Analysis of Convective Storms
Advertisements

Ch.4 Fourier Analysis of Discrete-Time Signals
Forecasting convective outbreaks using thermodynamic diagrams. Anthony R. Lupo Atms 4310 / 7310 Lab 10.
Noise on Analog Systems
Outline  Introduction  CAPE Description  Parcel Choice  Fat vs Skinny  Other Forms  Conclusion.
Simulating Adiabatic Parcel Rise Presentation by Anna Merrifield, Sarah Shackleton and Jeff Sussman.
Lesson 1 – Ingredients for severe thunderstorms
38 Atmospheric Stability Stable vs. Unstable Dry and Moist Adiabatic Processes Skew-T diagrams.
Skew-T Thermodynamic Diagram Global distribution of weather balloon stations.
Thermal Soaring Forecasting Michael F. Stringfellow.
Assessing Atmospheric Stability… …Use of the Skew-T/log P diagram… (what does it all mean?)
Digital Image Processing
Tephigrams ENVI1400 : Lecture 8.
Stability & Skew-T Diagrams
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
Lecture 10 Static Stability. General Concept An equilibrium state can be stable or unstable Stable equilibrium: A displacement induces a restoring force.
7/5/20141FCI. Prof. Nabila M. Hassan Faculty of Computer and Information Fayoum University 2013/2014 7/5/20142FCI.
* Reading Assignments:
EOF Analysis.
ELEC 303 – Random Signals Lecture 21 – Random processes
What are the dominant frequencies? Fourier transforms decompose a data sequence into a set of discrete spectral estimates – separate the variance of a.
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
Lapse Rates and Stability of the Atmosphere
1 The Fourier Series for Discrete- Time Signals Suppose that we are given a periodic sequence with period N. The Fourier series representation for x[n]
1 The Thermodynamic Diagram Adapted by K. Droegemeier for METR 1004 from Lectures Developed by Dr. Frank Gallagher III OU School of Meteorology.
Cumulus Clouds. What goes on inside a cumulus cloud?
Understanding the USEPA’s AERMOD Modeling System for Environmental Managers Ashok Kumar Abhilash Vijayan Kanwar Siddharth Bhardwaj University of Toledo.
Filtering. What Is Filtering? n Filtering is spectral shaping. n A filter changes the spectrum of a signal by emphasizing or de-emphasizing certain frequency.
Xin Xi Aspects of the early morning atmospheric thermodynamic structure which affect the surface fluxes and BL growth through convection:
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Lab 6: Saturation & Atmospheric Stability
USE THESE VALUES. e(T) = e s (T Dew ) PRACTICE WITH STABILITY.
Eeng Chapter4 Bandpass Signalling  Definitions  Complex Envelope Representation  Representation of Modulated Signals  Spectrum of Bandpass Signals.
Forecast Parameters. CAPE Convective Available Potential Energy – obviously, positive buoyancy is helpful for producing convection –100 mb mixed layer.
Chapter 6. Effect of Noise on Analog Communication Systems
* Reading Assignments: All Sections. 8. Hydrostatic Stability Describe the states of vertical stratification of atmosphere: * Stable equilibrium * Unstable.
Soundings and Adiabatic Diagrams for Severe Weather Prediction and Analysis.
Tropical Severe Local Storms Nicole Hartford. How do thunderstorms form?  Thunderstorms result from moist warm air that rises due to being less dense.
Acoustic wave propagation in the solar subphotosphere S. Shelyag, R. Erdélyi, M.J. Thompson Solar Physics and upper Atmosphere Research Group, Department.
VIRTUAL TEMPERATURE T V (Virtual Temp.) is the temperature a dry air parcel would be if its pressure and density were equal to a given moist air sample.
Water in the Atmosphere Lab 5 October 5, Water Is Important!!!
Observed Structure of the Atmospheric Boundary Layer
Filtering x y.
Linear regression and correlation. Linear systems A widely used methodology of modern science is to cut a big object into many small objects, and describe.
CAPE is defined as the amount of energy a parcel of air would have if lifted a certain distance vertically through the atmosphere. A positive number for.
Stratiform Precipitation Fred Carr COMAP NWP Symposium Monday, 13 December 1999.
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Basic idea Input Image, I(x,y) (spatial domain) Mathematical Transformation.
Cirrus anvil cumulonimbus T (skewed) LCL (Lifting Condensation Level) LFC (Level of Free Convection) EL (Equilibrium level) p overshooting CAPE Sounding.
Matthew Lagor Remote Sensing Stability Indices and Derived Product Imagery from the GOES Sounder
Skew T Log P Diagram AOS 330 LAB 10 Outline Static (local) Stability Review Critical Levels on Thermodynamic Diagram Severe Weather and Thermodynamic.
Atmospheric Stability and Air Masses
Radiative Equilibrium Equilibrium state of atmosphere and surface in the absence of non-radiative enthalpy fluxes Radiative heating drives actual state.
Full calculation of radiative equilibrium. Problems with radiative equilibrium solution Too hot at and near surface Too cold at and near tropopause Lapse.
Cloud Formation  Ten Basic Types of Clouds (Genera): l High: Ci, Cs, Cc l Middle: As, Ac l Low: St, Ns, Sc l Clouds of Great Vertical Extent: Cu, Cb 
How to forecast the likelihood of thunderstorms!!!
7 – Group 임지유, 김도형, 방주희. Consider a layer of the atmosphere in which ( Γ
Chapter 6 Stability and Cloud Development. Stability & Cloud Development This chapter discusses: 1.Definitions and causes of stable and unstable atmospheric.
Thermodynamics We Can See!
Soundings and Adiabatic Diagrams for Severe Weather Prediction and Analysis Ooohhhh!!!!!!!!!!! Aaaahhhhhhhh!!!!!! Look at the pretty picture!
Atmospheric Stability Analysis
AOS 101 Severe Weather April 1/3.
Use of the Tephigram.
METR March 2004 Thermodynamics IV.
Hydrostatics Dp Dz Air Parcel g.
Hydrostatic Equilibrium Salby Chapt. 6; R&Y Chapt 3, page 28
Fall 2000 Author: Dr. Ken Crawford University of Oklahoma
Severe Weather and Storm Chasing
Specific Heat.
Sea Breeze Initiated Thunderstorms Relating to Convective Available Potential Energy (CAPE) and Convective Inhibition (CINH) Javier Rosa Department of.
Comparison of Observed Conditions with Stability Indices
Presentation transcript:

Smoothing and Filtering

My subroutines state.edu/geog8901/data/subroutines/ state.edu/geog8901/data/subroutines/

S pectral analysis Assume a time series Y has N data points Y 0, Y 1, Y 2, …, Y N-1. It can be expanded to: N/2 Y(t) =  a k cos(2  kt) + b k sin(2  kt) k=0 Where N-1 N-1 a k =  Y m cos(2  mt) and b k =  Y m sin(2  mt) m=0m=0 Then the power spectral density is: psd k = a k 2 + b k 2 Generally psd needs to be smoothed to get a stable spectrum.

The resultant spectrum

;first need to run sub_spectrum.pro n = 256 x = findgen(n) y = cos(x*!pi/20)+0.4*sin(x*!pi/3) fs_base,n,nf,f,cosu,sinu fs,n,cosu,sinu,y,a,b,psd !p.multi=[0, 1, 2] plot, x, y plot, f, psd end

Smoothing (low-pass filter) Remove the high frequency components Keep the low frequency components Syntax d2=smooth(d, nsmooth, /edge_truncate) where nsmooth is the number of data points used for smoothing (should be odd number) f Response function 0 1

;first need to run sub_spectrum.pro n = 256 x = findgen(n) y = cos(x*!pi/20)+0.4*sin(x*!pi/3) fs_base,n,nf,f,cosu,sinu fs,n,cosu,sinu,y,a,b,psd y2=smooth(y, 11, /edge_truncate) fs,n,cosu,sinu,y2,a,b,psd2 !p.multi=[0, 1, 2] plot, x, y oplot, x, y2, thick=4 plot, f, psd oplot, f, psd2, thick=4 end

High-pass filter Remove the low frequency components Keep the high frequency components A simple way is to subtract the low frequency component from the raw data f Response function 0 1

;first need to run sub_spectrum.pro n = 256 x = findgen(n) y = cos(x*!pi/20)+0.4*sin(x*!pi/3) fs_base,n,nf,f,cosu,sinu fs,n,cosu,sinu,y,a,b,psd y2=smooth(y, 11, /edge_truncate) fs,n,cosu,sinu,y2,a,b,psd2 y3=y-y2 fs,n,cosu,sinu,y3,a,b,psd3 !p.multi=[0, 1, 2] plot, x, y oplot, x, y2, thick=4 oplot, x, y3, thick=4, line=2 plot, f, psd oplot, f, psd2, thick=4 oplot, f, psd3, thick=4, line=2 end

Band-pass filter Remove both the lower and higher frequency components Keep the middle frequency components In my sub_mode.pro, there are two filters: butterworth, and lanczos f Response function 0 1

Convective available potential energy (CAPE) is the amount of energy a parcel of air would have if lifted a certain distance vertically through the atmosphere is effectively the positive buoyancy of an air parcel and is an indicator of atmospheric instability, i.e., the easiness to generate thunderstorms Definition: Tv is virtual temperature, Zf is level of free convection, Zn is level of neutral buoyancy

;first need to run sub_theory_convection.pro openr,1,'gate.dat' readf,1,n p=fltarr(n) T=fltarr(n) wt=fltarr(n) for k=n-1,0,-1 do begin readf,1,p1,T1,wt1 p(k)=p1 T(k)=T1 wt(k)=wt1*0.001 endfor close,1 !p.multi=[0,1,1] plot,T,p,xtitle='T (K)',ytitle='P (mb)',yrange=[1000,50],charsize=2.0 ks=0 kt=36 Tli1= ; High temperature boundary for mixed phase Tli2= ; Low temperature boundary for mixed phase base_move,n,ks,kt,p,T,wt,s,Tep,Tli1,Tli2,Trom,dTrodsm,hm,wcm calc_cape,n,ks,kt,p,Trom,dTrodsm,wcm,CAPE,dCAPEds,ktop,wc,dTro,CI print, 'CAPE=', CAPE end

In-class assignment XIII Data files are stored at: Read the netCDF file sst.mnmean.nc for NOAA sea surface temperature (SST) data. Extract the time series of SST for a grid near 0N190E (a grid representing the El Nino). Smooth the data using a 25-month running mean. Calculate and plot the discrete Fourier spectrum of the raw data, the smoothed data (low-pass component), and the residual (high-pass component). Go to University of Wyoming sounding data site: select a sounding in the tropics that goes above 15km. Calculate the CAPE of the sounding.

Works cited b/nclimate1583_F3.htmlhttp:// b/nclimate1583_F3.html