Metr 51: Scientific Computing II Lecture 9: Lidar Plotting Techniques Allison Charland 3 April 2012.

Slides:



Advertisements
Similar presentations
Basic Excel training KTHFS Amadeus Wennström Anders Bergvall
Advertisements

Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
1 EMT 101 – Engineering Programming Dr. Farzad Ismail School of Aerospace Engineering Universiti Sains Malaysia Nibong Tebal Pulau Pinang Week 10.
Introduction to MATLAB for Biomedical Engineering BME 1008 Introduction to Biomedical Engineering FIU, Spring 2015 Lesson 2: Element-wise vs. matrix operations.
Excel Objects, User Interface, and Data Entry. ◦ Application Window  Title Bar  Menu Bar  Toolbars  Status Bar  Worksheet Window  Worksheet Input.
Microsoft Excel Computers Week 4.
Excel Tutorial 1 Getting Started with Excel
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
7. Radar Meteorology References Battan (1973) Atlas (1989)
Lecture 12 Content LIDAR 4/15/2017 GEM 3366.
Metr 51: Scientific Computing II Lecture 10: Lidar Plotting Techniques 2 Allison Charland 10 April 2012.
Statistical Analysis with Excel
Horizontal Convective Rolls Asai papers & Simulations w/ ARPS.
1 Laser Beam Coherence Purpose: To determine the frequency separation between the axial modes of a He-Ne Laser All sources of light, including lasers,
Advanced Radio and Radar
Anomalous Propagation Greater density slows the waves more. Less dense air does not slow the waves as much. Since density normally decreases with height,
Günther Haase Tomas Landelius Daniel Michelson Generation of superobservations (WP2)
Lessons learned in field studies about weather radar observations in the western US and other mountainous regions Socorro Medina and Robert Houze Department.
RHB C-band radar scan strategy constraints Cloud top height less than 1.5 km altitude Features of interest < 5 km in scale Rapid evolution of cells  fast.
Spaceborne Weather Radar
Profilers. Wind profilers are phased array radars that measure the wind as a function of height above a fixed location. Characteristics: Wavelength: 33.
The Remote Sensing of Winds Student: Paul Behrens Placement and monitoring of wind turbines Supervisor: Stuart Bradley.
ElectroScience Lab IGARSS 2011 Vancouver Jul 26th, 2011 Chun-Sik Chae and Joel T. Johnson ElectroScience Laboratory Department of Electrical and Computer.
G O D D A R D S P A C E F L I G H T C E N T E R Goddard Lidar Observatory for Winds (GLOW) Wind Profiling from the Howard University Beltsville Research.
OPL MRR Viewer Tutorial David Stark North Carolina State University 31 Jan 2008.
Dr A VENGADARAJAN, Sc ‘F’, LRDE
CloudNet: TARA status and database H. Russchenberg, O. Krasnov Delft University of Technology – IRCTR, The Netherlands.
Lidar Working Group on Space-Based Winds, Snowmass, Colorado, July 17-21, 2007 A study of range resolution effects on accuracy and precision of velocity.
A Brief Introduction to Matlab Laila Guessous Dept. of Mechanical Engineering Oakland University.
MATLAB Tutorial EE 327 Signals and Systems 1. What is MATLAB? MATLAB – Matrix Laboratory The premier number-crunching software Extremely useful for signal.
Study Design and Summary Atmospheric boundary layer (ABL) observations were conducted in Sapporo, Japan from April 2005 to July Three-dimensional.
Application of a Portable Doppler Wind Lidar for Wildfire Plume Measurements Allison Charland and Craig Clements Department of Meteorology and Climate.
B. Gentry/GSFCGTWS 2/26/01 Doppler Wind Lidar Measurement Principles Bruce Gentry NASA / Goddard Space Flight Center based on a presentation made to the.
, UTC. Supercooled liquid water Moments only from „principal peak“; can change between liquid and ice peak depending on which one is.
Basic Principles of Doppler Radar Elena Saltikoff Alessandro Chiariello Finnish Meteorological Institute.
Introduction Acknowledgements Funding for the CSU-MAPS is provided through a joint NSF-MRI R 2 grant (AGS# , ) awarded to San Francisco and.
Fig. 3 Wind measurements experimental setup Lidar (light detection and ranging) operates using the same concept of microwave RADAR, but it employs a lot.
GEOGRAPHY 3015A. IT WAS AN INTERESTING SUMMER!
MATLAB Environment ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
RAdio Detection And Ranging. Was originally for military use 1.Sent out electromagnetic radiation (Active) 2.Bounced off an object and returned to a listening.
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
RADAR METEOROLOGY Courtney Schumacher Texas A&M University ATMO 352.
Image structures: rain shafts, cold pools, gusts Separate rain fall velocity from air velocity – turbulence retrieval– microphysical retrieval Diurnal.
Agenda Positional Parameters / Continued... Command Substitution Bourne Shell / Bash Shell / Korn Shell Mathematical Expressions Bourne Shell / Bash Shell.
Introduction to MATLAB 1.Basic functions 2.Vectors, matrices, and arithmetic 3.Flow Constructs (Loops, If, etc) 4.Create M-files 5.Plotting.
IS2802 Introduction to Multimedia Applications for Business Lecture 8: JavaScript and Cookies Rob Gleasure
Fire Plume Kinematic Structure Observed Using Doppler Wind Lidar
GWOLF and VALIDAR Comparisons M. Kavaya & G. Koch NASA/LaRC D. Emmitt & S. Wood SWA Lidar Working Group Meeting Sedona, AZ January 2004.
Challenges in PBL and Innovative Sensing Techniques Walter Bach Army Research Office
Anemometry 4 The oldest known meteorological instrument about which there is any certain knowledge is the wind vane which was built in the first century.
U NIVERSITY OF J OENSUU F ACULTY OF F ORESTRY Introduction to Lidar and Airborne Laser Scanning Petteri Packalén Kärkihankkeen ”Multi-scale Geospatial.
Department of Earth Sciences, M.Sc. Wind Power Project Management
Ultrasound Physics Image Formation ‘97. Real-time Scanning Each pulse generates one line Except for multiple focal zones frame one frame consists of many.
What is Doppler Weather Radar
Examples, examples: Outline
Ultrasound Physics Image Formation ‘97.
MS-EXCEL SUMMARY.
Statistical Analysis with Excel
Chapter 6 Filters.
Optical Coherence Tomography
Huailin Chen, Bruce Gentry, Tulu Bacha, Belay Demoz, Demetrius Venable
James Donahue EE 444 Fall LiDAR James Donahue EE 444 Fall
Statistical Analysis with Excel
the University of Oklahoma
Advanced Data Import & Export Jeff Henrikson
Statistical Analysis with Excel
Advanced Radar Systems
NPOESS P3I & Follow-on Threshold Operational Mission
HARGLO-2 Wind Intercomparisons
Presentation transcript:

Metr 51: Scientific Computing II Lecture 9: Lidar Plotting Techniques Allison Charland 3 April 2012

Two weeks of Matlab left! Matlab Final will be on April 19 th Then on to HTML and creating a personal webpage Reminder

Emitted infrared light Infrared light reflected from aerosols Movement of aerosols by wind The shift in frequency of the return echo is related to the movement of aerosols. The faster the aerosols move, the larger the shift in frequency. From this, the wind speed relative to the light beam can be measured. Doppler Lidar Theory

Doppler wind lidar Halo Photonics, Ltd. Stream Line micron Eye-safe 75 mm aperture all-sky optical scanner Min Range: 80 m Max Range: 10km 550 user defined range gates (24 m) Temporal resolution: s Measurements: Backscatter Intensity Doppler Radial Velocity

Lidar Scanning Techniques Multiple elevation and azimuth angles can be adjusted to create different types of scans. DBS (Doppler Beam Swinging): Wind Profile Stare: Vertically pointing beam RHI (Range Height Indicator): Fixed azimuth angle with varying elevation angles PPI (Plan Position Indicator): Fixed elevation angle with varying azimuth angles 95 o 30 o 70 o

DBS Data Date & Time(UTC) Height (m AGL) Wind Direction & Wind Speed (ms -1 ) Remove 225 heading Use load to read in the data then create wind speed and direction profiles. What if you have multiple files that you want to plot using one code?

You have three files that you want to plot: wind_profile_0900PST.txt, wind_profile_1200PST.txt, and wind_profile_1500PST.txt Create a character string array called filenames filenames = [‘wind_profile_0900PST.txt’;… ‘wind_profile_1200PST.txt’;‘wind_profile_1500PST.txt’]; Hint: filenames must all be the same character length Create a variable for the number of files you have Num = 3; Plotting multiple profiles

Now you want to create a for loop that will go from 1 to the number of files you have and load and plot each file. Each time you loop through you want to reset the filename that is being read. Set your values of height, wind direction and wind speed. Plot your variables. Clear variables so that the next time through the loop they will be replaced. Plotting multiple profiles

for i =1:Num f = filenames(i,:); load f; data = f; clear f; height = data(:,1); wind_dir = data(:,2); wind_speed = data(:,3); figure(1);clf; plot(wind_dir, height, ‘+k’); hold on; plot(wind_speed, height, ‘k’); hold on; clear data; clear height; clear wind_dir; clear wind_speed; end %for Plotting multiple profiles

To plot each profile as a separate figure replace figure(1);clf; with figure(i);clf; To save each figure as a jpeg, use saveas after your figure is complete figure_name = [‘profile_’i’.jpg’]; saveas(gcf,figure_name); Each time through the loop the figure_name will be reset and saved with the new number i. Plotting multiple profiles

Stare Lidar Data Date & Time(UTC) There is one data file per hour

Stare Data The load command cannot be used for stare data because the number of columns changes throughout the data file from 3 to 4 after each scan. Fastest way to plot stare data is using xlsread This reads in an excel spreadsheet then later using loops the data can be separated into specific variables. The first step is to load the stare data file into excel space delimited then save it as an excel file with the extension.xlsx (for Microsoft 2010).

Stare Data Before loading the data, set up the height array. Heights will always be the same throughout a stare file. height = 0:225; height = (height + 0.5)*24; height = height';

Stare Data Read in the datafile data = xlsread(filename.xlsx); j = hour; %The hour of the particular data file fprintf('Completed %2.0f \n', j) Set conditions for start of data columns c1=2; if j > 1 k=17; p=18; elseif j==1 k=9; p=10; end if j >= 4 c1=1; end %if if j >= 18 c1=2; end %if

Splitting the data count = 0; n = 2100; for i=1:n count = count +1; time(count) = data(k,c1); k=k+226; V = data(p:p+100,3)'; V_2 = data(p+100:p+224,2)'; V_new(count,:) = [V V_2]; B = data(p:p+100,4)'; B_2 = data(p+100:p+224,3)'; B_new(count,:) = [B B_2]; p=p+226; end %for fprintf('Completed split \n')

Stare Data Change time from UTC to PST Depends on Daylight Savings for w = 1:length(time) if time(w) < 7; time(w) = 24 - (7-time(w)); else time(w) = time(w)-7; end %if end %for

Transpose the data B_new = B_new'; V_new = V_new'; time =time' ;

figure(1);clf; pcolor(time,height,V_new);hold on; shading interp; ylim([0 2400]) xlabel('Time (PST) '); ylabel('Height (m AGL)'); title('Vertical Velocity (m s^-^1)') caxis([-5 4]) colorbar Show Example Plotting Stare Data

Stare Data The example shown is the raw data. A filter algorithm can be used to eliminate invalid data including near the surface and aloft where the signal is no longer retrieved. The algorithm code will be available on D2L. Multiple files could be read in and plotting using the same technique as earlier to plot multiple wind profiles. The problem is that the figures created will have so much detail that there may be issues copying them.