SlideShare uma empresa Scribd logo
1 de 18
Baixar para ler offline
Contour Analysis And Visualization




Objectives :
         The objectives of Contour Analysis and Visualization can be described in the following
stages

         1. To study and analyse the contour

         2. Visualize the contour lines in 3 Dimensional view




Application :
         There are many fields of interest in which Contour analysis and visualization can be applied.

        One of the applications of this project is to visualize the mountain in 3 D view. By this
visualization we can analyse and obtain the views of both the steep slope and the gentle slope that
are present in the mountain . This analysis helps us in identifying the possible regions of mountain
that will be suitable for step cultivation and highlight those regions.


        The contour analysis and visualization can mainly be used to visualize the pressure
prevailing all over the huge mass of land. The air pressure over the land varies with temparature and
flow of air. Hence it causes a drastic change in our climate and atmosphere.
        These changes can be analysed with the help of contour lines by using the readings obtained
from air pressure sensors which is located all over our country. The sensors produce the readings as
per the density of the air pressure over the various land masses.These readings are used to generate
the contour lines. The working of contour visualiztion of air pressure is as follows.
STAGE 1- Study and Analysis of Contour



What is Contour ?
       Contour is line drawn on a map connecting points of equal height .
        Contour lines connect a series of points of equal elevation and are used to illustrate
topography, or relief, on a map. They show the height of ground above Mean Sea Level (M.S.L.) in
either feet or metres and can be drawn at any desired interval.
        For example, numerous contour lines that are close together indicate hilly or mountainous
terrain; when far apart, they represent a gentler slope.




BASICS OF CONTOUR LINES

        The contour line represented by the shoreline separates areas that have elevations above sea
level from those that have elevations below sea level. We refer to contour lines in terms of their
elevation above or below sea level.
        Contour lines are useful because they allow us to show the shape of the land surface
(topography) on a map.The two diagrams below illustrate the same island. The diagram on the left
is a view from the side (cross profile view) such as you would see from a ship offshore. The
diagram at right is a view from above (map view) such as you would see from an airplane flying
over the island.
Normal View (0 ft contour line):




        The shape of the island is shown by location shoreline on the map.Remember this shore line
is a contour line. It separates areas that are above sea level from those that are below sea level.The
shoreline itself is right at zero so we will call it the 0 ft. contour line (we could use m.,cm., in., or
any other measurement for elevation).


        The shape of the island is more complicated than the outline of the shoreline shown on the
map above From the profile it is clear that the islands topography varies (that is some parts are
higher than others). This is not obvious on map with just one contour line.
       But contour lines can have elevations other than sea level.We can picture this by pretending
that we can change the depth of the ocean. The diagram below shows an island that is getting
flooded as we raise the water level 10 ft above the original sea level.


10 ft contour line view :




         The new island is obviously smaller than the original island.All of the land that was less than
10 ft. above the original sea level is now under water. Only land where the elevation was greater
than 10 ft. above sea level remains out of the water.The new shoreline of the island is a contour line
because all of the points along this line have the same elevation, but the elevation of this contour
line is 10 ft above the elevation of the original shoreline.


        We repeat this processes in the two diagrams below. By raising water levels to 20 ft and 30
ft above the original see level we can find the location of the 20ft and 30 ft contour lines. Notice our
islands gets smaller and smaller.
20 ft contour line view :




        Fortunately we do not really have to flood the world to make contour lines. Unlike
shorelines, contour lines are imaginary. They just exist on maps. If we take each of the shorelines
from the maps above and draw them on the same map we will get a topographic map (see map
below). Taken all together the contour lines supply us with much information on the topography of
the island. From the map (and the profile) we can see that this island has two "high" points.

30 ft contour line view :




        The highest point is above 30 ft elevation (inside the 30 ft contour line). The second high
point is above 20 ft in elevation, but does not reach 30 ft. These high points are at the ends of a
ridge that runs the length of the island where elevations are above 10 ft. Lower elevations, between
the 10 ft contour and sea level surround this ridge.

Over all contour lines view :
Reading Elevations :
       A common use for a topographic map is to determine the elevation at a specified locality.
The map below is an enlargement of the map of the island from above. Each of the letters from A to
E represent locations for which we wish to determine elevation. Use the map and determine (or
estimate) the elevation of each of the 5 points. (Assume elevations are given in feet)




                                                                                        Point A = 0 ft
      Point A sits right on the 0 ft contour line. Since all points on this line have an elevation
      of 0 ft, the elevation of point A is zero.

Point B = 10 ft.
      Point B sits right on the 10 ft contour line. Since all points on this line have an elevation
      of 10 ft, the elevation of point B is 10 ft.

Likewise Point C ~ 15 ft , Point D ~ 25 ft & Point E ~ 8 ft.

Reference : http://raider.muc.edu/~mcnaugma/Topographic%20Maps/contour.htm

       We can find the Latitude and Longitude of the any location in the world using global
position system (GPS) via gps enabled mobile.




       We can plot the points to draw the contour lines using the combination of Latitude ,
Longitude and Altitude values .
STAGE 2 – Visualization of the contour lines in 3 Dimensional view


Visualize :
          In our Project, we will be visualizing the contour maps using Mayavi, an open source 3D
visualization tool and Vtk, a library for several visualization tools.

Visualize the contour lines into 3 Dimensional view :

Step 1:

Write the program to generate the 3 D view from contour values and to generate vtk file.

Step 2 :

Getting the real world contour values . Here we are going to get contour values of one mountain
using GPS.

Step 3:

Visualize those contour values into Mayavi.




Mayavi
Mayavi is a 3D Scientific Data Visualization and Plotting.
The Mayavi project includes two related packages for 3-dimensional visualization:
    • Mayavi2: A tool for easy and interactive visualization of data, with seamless integration
      with Python scientific libraries.
    • TVTK: A Traits-based wrapper for the Visualization Toolkit, a popular open-source
      visualization library.

Mayavi2


Mayavi2 seeks to provide easy and interactive visualization of 3-D data. It offers:
    • An (optional) rich user interface with dialogs to interact with all data and objects in the
      visualization.
    • A simple and clean scripting interface in Python, including one-liners, or an object-oriented
      programming interface. Mayavi integrates seamlessly with numpy and scipy for 3D plotting
      and can even be used in IPython interactively, similarly to Matplotlib.
    • The power of the VTK toolkit, harnessed through these interfaces, without forcing you to
      learn it.
Additionally Mayavi2 is a reusable tool that can be embedded in your applications in different ways
or combined with the Envisage application-building framework to assemble domain-specific tools.
TVTK
TVTK wraps VTK objects to provide a convenient, Pythonic API, while supporting Traits attributes
and NumPy/SciPy arrays. TVTK is implemented mostly in pure Python, except for a small
extension module.
Developers typically use TVTK to write Mayavi modules, and then use Mayavi to interact with
visualizations or create applications.




           The above figure is an example for 3D visualiztion generated by Mayavi
                                   using some scientific data




VTK


        The Visualization Toolkit (VTK) is an open-source, freely available software system for
3D computer graphics, image processing and visualization. VTK consists of a C++ class library and
several interpreted interface layers including Tcl/Tk, Java, and Python.

        VTK supports a wide variety of visualization algorithms including: scalar, vector, tensor,
texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling,
polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation.
VTK has an extensive information visualization framework, has a suite of 3D interaction
widgets, supports parallel processing, and integrates with various databases on GUI toolkits such as
Qt and Tk.

       VTK is cross-platform and runs on Linux, Windows, Mac and Unix platforms.

All VTK classes are wrapped with a Pythonic API supporting Traits.
    • Classes are generated at install time on the installed platform.
    • Elementary pickle support.
    • Handles Numeric/numarray/scipy arrays/Python lists transparently.
    • Support for a pipeline browser, ivtk and a high-level mlab like module.
    • Envisage plugins for a tvtk scene and the pipeline browser.
    • tvtk is free software with a BSD style license.



Demonstration of contour lines formation :

       The demonstration will show the dynamic changes of contour values and its views.

       We are going to generate the contour lines from varying heat values , dynamically.

Process :

       Arranging many heat sensors in particular manner. Connect all the sensors into Arduino
board to getting dynamic heat values of sensors.

        And arrange few moving Heat emitting object [say LED] which will generate the heat and
is absorbed by the sensors and are converted into values using Arduino.

      The converted heat values are plotted dynamically and contours are generated.
      The variation in the distance between the Heat emitting source and each sensors will
produce variations in heat values. This variation is considered as the altitude of the contour.

       Now, we have the values for latitude, longitude and altitude for the contour. When the Heat
emitting source is moved dynamically between the sensors, the altitude values of each sensor will
vary dynamically resulting in a dynamic contour.

       By this way, we can get the heat contour values dynamically and plotting those contour lines
into computerised view.
       So we are going to view the dynamic changes of the contour values.
Detailed view of process :

       Take one square plywood . Set 12 (LM35) heat sensors on the plywood by the following
manner. Fix four rows containing three sensors in each row of the board. The arrangement is as
follows




       We can give six analog inputs into single arduino board. So we can connect six LM35 heat
sensors into single arduino board. Using two arduino boards , we can get 12 heat sensors value.
contour analysis and visulaization documetation -1
Connect those two arduino boards into computer via two USB cables.


        By this way , we can get the heat sensors value (analog value) in the digital manner (digital
value). Make arrangement to move one LED on the plywood by setting some path. We have to
arrange the same to move more than one LED on the plywood board.

       Mark each sensors X-axis and Y-axis .

       While developing contour maps for this heat sensors values , the X-axis is set as Latitude
and Y-axis is set as Longitude for each sensors. These values are assumed to be constants
throughout the contour generation process.

        The heat value sensed by the each sensor are set as the altitude . In contour map , The
altitude value is assumed to be the Z-axis which is a dynamic value.

        The point from the origin is plotted first and the altitude is used as the distance from that
point to make a contour circle by assuming the point as the center. For example if (0,0) is the origin,
then the point (x1,y1) is plotted from the origin. Then the altitude or heat value z1 is considered as
the distance ( height in 3 dimension ) and point (x1,y1) as center to draw the contour circles.

      All the dynamically generated altitude values are fed into a program. The program inturn is
embedded in Mayavi to produce a Dynamic 3 Dimensional View.

      The digital contour map lines varies dynamically when the Heat emitting source is moved
randomly within the sensors range.
contour analysis and visulaization documetation -1
contour analysis and visulaization documetation -1
When two light emitting sources are placed on different positions over the heat sensor
board,it produces a merged effect of contours with two high altitude points. The obtained result is
depicted in the following figure.
The contours get transformed dynamically from one state to another when the heat source is
placed in different positions over the heat sensors. The LED is moved over the path to make
dynamic heat changing values which is sensed by all the sensors. The various transition states of
LED are as follows.
The various transition states contour results are as follows.
APPLICATION OF CONTOUR ANALYSIS AND VISUALIZATION:
Software Requirements:

   ●   Open Source Operating system
   ●   Python language
   ●   Mayavi2
   ●   TVTK

Hardware Requirements:

   ●   GPS Data Logger
   ●   Few Arduino Boards
   ●   Heat sensors ( LM35 )
   ●   Wires and Fixtures

Mais conteúdo relacionado

Mais procurados

sunpath diagrams- different forms and their uses in functional design
sunpath diagrams- different forms and their uses in functional designsunpath diagrams- different forms and their uses in functional design
sunpath diagrams- different forms and their uses in functional designKOMPELLA KASYAPA SRIRAM
 
Climatic zones. warm and humid
Climatic zones. warm and humid Climatic zones. warm and humid
Climatic zones. warm and humid Roopa Chikkalgi
 
Lighting architecture lecture 2
Lighting architecture lecture 2Lighting architecture lecture 2
Lighting architecture lecture 2MRKextreme
 
passive design strategies in composite & warm-humid climates.
passive design strategies in composite & warm-humid climates.passive design strategies in composite & warm-humid climates.
passive design strategies in composite & warm-humid climates.Janmejoy Gupta
 
"warm and humid" climate and their designs
"warm and humid" climate and their designs"warm and humid" climate and their designs
"warm and humid" climate and their designsAnubhav Arora
 
Indian coffee house trivandrum, kerela
Indian coffee house trivandrum, kerelaIndian coffee house trivandrum, kerela
Indian coffee house trivandrum, kerelaShruti Pavan
 
BUOYANT FOUNDATION REPORT
BUOYANT FOUNDATION REPORTBUOYANT FOUNDATION REPORT
BUOYANT FOUNDATION REPORTKAUSHAL MORE
 
Vernacular Architecture of Nepal.pptx
Vernacular Architecture of Nepal.pptxVernacular Architecture of Nepal.pptx
Vernacular Architecture of Nepal.pptxcricketreview
 
Contouring pdf
Contouring pdfContouring pdf
Contouring pdfGokul Saud
 
school of architecture site study
school of architecture site studyschool of architecture site study
school of architecture site studyMohd Nazim
 
Climatology & Architecture
Climatology & ArchitectureClimatology & Architecture
Climatology & ArchitectureAr. Mukunda K.S
 
Difference between damp &water proofing
Difference between damp &water proofingDifference between damp &water proofing
Difference between damp &water proofingChandan kumar
 
cold climate architecture
cold climate architecturecold climate architecture
cold climate architectureNehal Patel
 
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]Dr. BASWESHWAR JIRWANKAR
 

Mais procurados (20)

sunpath diagrams- different forms and their uses in functional design
sunpath diagrams- different forms and their uses in functional designsunpath diagrams- different forms and their uses in functional design
sunpath diagrams- different forms and their uses in functional design
 
Climatic zones. warm and humid
Climatic zones. warm and humid Climatic zones. warm and humid
Climatic zones. warm and humid
 
Lighting architecture lecture 2
Lighting architecture lecture 2Lighting architecture lecture 2
Lighting architecture lecture 2
 
passive design strategies in composite & warm-humid climates.
passive design strategies in composite & warm-humid climates.passive design strategies in composite & warm-humid climates.
passive design strategies in composite & warm-humid climates.
 
"warm and humid" climate and their designs
"warm and humid" climate and their designs"warm and humid" climate and their designs
"warm and humid" climate and their designs
 
Indian coffee house trivandrum, kerela
Indian coffee house trivandrum, kerelaIndian coffee house trivandrum, kerela
Indian coffee house trivandrum, kerela
 
Filler slab
Filler slabFiller slab
Filler slab
 
Building Bye Laws and Green Buildings
Building Bye Laws and Green BuildingsBuilding Bye Laws and Green Buildings
Building Bye Laws and Green Buildings
 
BUOYANT FOUNDATION REPORT
BUOYANT FOUNDATION REPORTBUOYANT FOUNDATION REPORT
BUOYANT FOUNDATION REPORT
 
Vernacular Architecture of Nepal.pptx
Vernacular Architecture of Nepal.pptxVernacular Architecture of Nepal.pptx
Vernacular Architecture of Nepal.pptx
 
Contouring pdf
Contouring pdfContouring pdf
Contouring pdf
 
school of architecture site study
school of architecture site studyschool of architecture site study
school of architecture site study
 
Hot and dry climate
Hot and dry climateHot and dry climate
Hot and dry climate
 
Climatology & Architecture
Climatology & ArchitectureClimatology & Architecture
Climatology & Architecture
 
Classification of Climate
Classification of ClimateClassification of Climate
Classification of Climate
 
Difference between damp &water proofing
Difference between damp &water proofingDifference between damp &water proofing
Difference between damp &water proofing
 
HOT AND DRY CLIMATE -CASE STUDY
HOT AND DRY CLIMATE -CASE STUDYHOT AND DRY CLIMATE -CASE STUDY
HOT AND DRY CLIMATE -CASE STUDY
 
cold climate architecture
cold climate architecturecold climate architecture
cold climate architecture
 
Warm humid island climate
Warm humid island climateWarm humid island climate
Warm humid island climate
 
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]
MODULE-II BUILDING PLANNING AND DESIGN [BTCVC606]
 

Semelhante a contour analysis and visulaization documetation -1

contouring.pptx
contouring.pptxcontouring.pptx
contouring.pptxSaiSrija7
 
Ce6304 surveying 1 contour (iv unit) lecture ppt notes
Ce6304 surveying 1   contour (iv unit) lecture ppt notesCe6304 surveying 1   contour (iv unit) lecture ppt notes
Ce6304 surveying 1 contour (iv unit) lecture ppt notesnandishsajjan
 
The uplift model terrain generator
The uplift model terrain generatorThe uplift model terrain generator
The uplift model terrain generatorijcga
 
06_chapter 7 topographic surveying.pdf
06_chapter 7 topographic surveying.pdf06_chapter 7 topographic surveying.pdf
06_chapter 7 topographic surveying.pdfsandipanpaul16
 
INTRODUCTION TO SURVEYING
INTRODUCTION TO SURVEYINGINTRODUCTION TO SURVEYING
INTRODUCTION TO SURVEYINGfarhana saiyed
 
map reading unit 1.pdf
map reading unit 1.pdfmap reading unit 1.pdf
map reading unit 1.pdfwarkisafile1
 
UNit no 1 Contouring.pptx
UNit no 1 Contouring.pptxUNit no 1 Contouring.pptx
UNit no 1 Contouring.pptxADCET, Ashta
 
Acad civil3 d_points_manual
Acad civil3 d_points_manualAcad civil3 d_points_manual
Acad civil3 d_points_manualMiodrag Hrenek
 
Surveying Mod3_Contouring.pptx
Surveying Mod3_Contouring.pptxSurveying Mod3_Contouring.pptx
Surveying Mod3_Contouring.pptxSaujanyaSahu1
 
GI - Map skills and hypothesis
GI - Map skills and hypothesisGI - Map skills and hypothesis
GI - Map skills and hypothesisMissST
 
Measurement and Scale
Measurement and ScaleMeasurement and Scale
Measurement and ScaleJohn Reiser
 
Contour lines - Survey & Levelling
Contour lines - Survey & LevellingContour lines - Survey & Levelling
Contour lines - Survey & LevellingAr. Avitesh
 

Semelhante a contour analysis and visulaization documetation -1 (20)

topographic maps
topographic mapstopographic maps
topographic maps
 
Contouring
ContouringContouring
Contouring
 
Topomaps
TopomapsTopomaps
Topomaps
 
contouring.pptx
contouring.pptxcontouring.pptx
contouring.pptx
 
Ce6304 surveying 1 contour (iv unit) lecture ppt notes
Ce6304 surveying 1   contour (iv unit) lecture ppt notesCe6304 surveying 1   contour (iv unit) lecture ppt notes
Ce6304 surveying 1 contour (iv unit) lecture ppt notes
 
The uplift model terrain generator
The uplift model terrain generatorThe uplift model terrain generator
The uplift model terrain generator
 
Types of Map Scales
Types of Map ScalesTypes of Map Scales
Types of Map Scales
 
06_chapter 7 topographic surveying.pdf
06_chapter 7 topographic surveying.pdf06_chapter 7 topographic surveying.pdf
06_chapter 7 topographic surveying.pdf
 
INTRODUCTION TO SURVEYING
INTRODUCTION TO SURVEYINGINTRODUCTION TO SURVEYING
INTRODUCTION TO SURVEYING
 
map reading unit 1.pdf
map reading unit 1.pdfmap reading unit 1.pdf
map reading unit 1.pdf
 
UNit no 1 Contouring.pptx
UNit no 1 Contouring.pptxUNit no 1 Contouring.pptx
UNit no 1 Contouring.pptx
 
Acad civil3 d_points_manual
Acad civil3 d_points_manualAcad civil3 d_points_manual
Acad civil3 d_points_manual
 
Hydrography
Hydrography Hydrography
Hydrography
 
AUTOCAD NOTES
AUTOCAD NOTESAUTOCAD NOTES
AUTOCAD NOTES
 
PROJECTS ON SURVEYING
PROJECTS ON SURVEYINGPROJECTS ON SURVEYING
PROJECTS ON SURVEYING
 
Contouring
ContouringContouring
Contouring
 
Surveying Mod3_Contouring.pptx
Surveying Mod3_Contouring.pptxSurveying Mod3_Contouring.pptx
Surveying Mod3_Contouring.pptx
 
GI - Map skills and hypothesis
GI - Map skills and hypothesisGI - Map skills and hypothesis
GI - Map skills and hypothesis
 
Measurement and Scale
Measurement and ScaleMeasurement and Scale
Measurement and Scale
 
Contour lines - Survey & Levelling
Contour lines - Survey & LevellingContour lines - Survey & Levelling
Contour lines - Survey & Levelling
 

Mais de Arulalan T

Climate Data Operators (CDO)
Climate Data Operators (CDO)Climate Data Operators (CDO)
Climate Data Operators (CDO)Arulalan T
 
CDAT - graphics - vcs - xmgrace - Introduction
CDAT - graphics - vcs - xmgrace - Introduction CDAT - graphics - vcs - xmgrace - Introduction
CDAT - graphics - vcs - xmgrace - Introduction Arulalan T
 
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction Arulalan T
 
CDAT - cdms numpy arrays - Introduction
CDAT - cdms numpy arrays - IntroductionCDAT - cdms numpy arrays - Introduction
CDAT - cdms numpy arrays - IntroductionArulalan T
 
Python an-intro-python-month-2013
Python an-intro-python-month-2013Python an-intro-python-month-2013
Python an-intro-python-month-2013Arulalan T
 
Python an-intro v2
Python an-intro v2Python an-intro v2
Python an-intro v2Arulalan T
 
Thermohaline Circulation & Climate Change
Thermohaline Circulation & Climate ChangeThermohaline Circulation & Climate Change
Thermohaline Circulation & Climate ChangeArulalan T
 
Python an-intro - odp
Python an-intro - odpPython an-intro - odp
Python an-intro - odpArulalan T
 
Testing in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkTesting in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkArulalan T
 
Pygrib documentation
Pygrib documentationPygrib documentation
Pygrib documentationArulalan T
 
Lesson1 python an introduction
Lesson1 python an introductionLesson1 python an introduction
Lesson1 python an introductionArulalan T
 
Python An Intro
Python An IntroPython An Intro
Python An IntroArulalan T
 
Final review contour
Final review  contourFinal review  contour
Final review contourArulalan T
 
Contour Ilugc Demo Presentation
Contour Ilugc Demo Presentation Contour Ilugc Demo Presentation
Contour Ilugc Demo Presentation Arulalan T
 
Contour Ilugc Demo Presentation
Contour Ilugc Demo PresentationContour Ilugc Demo Presentation
Contour Ilugc Demo PresentationArulalan T
 
Edit/correct India Map In Cdat Documentation - With Edited World Map Data
Edit/correct India Map In Cdat  Documentation -  With Edited World Map Data Edit/correct India Map In Cdat  Documentation -  With Edited World Map Data
Edit/correct India Map In Cdat Documentation - With Edited World Map Data Arulalan T
 
matplotlib-installatin-interactive-contour-example-guide
matplotlib-installatin-interactive-contour-example-guidematplotlib-installatin-interactive-contour-example-guide
matplotlib-installatin-interactive-contour-example-guideArulalan T
 
"contour.py" module
"contour.py" module"contour.py" module
"contour.py" moduleArulalan T
 

Mais de Arulalan T (20)

wgrib2
wgrib2wgrib2
wgrib2
 
Climate Data Operators (CDO)
Climate Data Operators (CDO)Climate Data Operators (CDO)
Climate Data Operators (CDO)
 
CDAT - graphics - vcs - xmgrace - Introduction
CDAT - graphics - vcs - xmgrace - Introduction CDAT - graphics - vcs - xmgrace - Introduction
CDAT - graphics - vcs - xmgrace - Introduction
 
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction
CDAT - cdms2, maskes, cdscan, cdutil, genutil - Introduction
 
CDAT - cdms numpy arrays - Introduction
CDAT - cdms numpy arrays - IntroductionCDAT - cdms numpy arrays - Introduction
CDAT - cdms numpy arrays - Introduction
 
Python an-intro-python-month-2013
Python an-intro-python-month-2013Python an-intro-python-month-2013
Python an-intro-python-month-2013
 
Python an-intro v2
Python an-intro v2Python an-intro v2
Python an-intro v2
 
Thermohaline Circulation & Climate Change
Thermohaline Circulation & Climate ChangeThermohaline Circulation & Climate Change
Thermohaline Circulation & Climate Change
 
Python an-intro - odp
Python an-intro - odpPython an-intro - odp
Python an-intro - odp
 
Testing in-python-and-pytest-framework
Testing in-python-and-pytest-frameworkTesting in-python-and-pytest-framework
Testing in-python-and-pytest-framework
 
Pygrib documentation
Pygrib documentationPygrib documentation
Pygrib documentation
 
Lesson1 python an introduction
Lesson1 python an introductionLesson1 python an introduction
Lesson1 python an introduction
 
Python An Intro
Python An IntroPython An Intro
Python An Intro
 
Final review contour
Final review  contourFinal review  contour
Final review contour
 
Contour Ilugc Demo Presentation
Contour Ilugc Demo Presentation Contour Ilugc Demo Presentation
Contour Ilugc Demo Presentation
 
Contour Ilugc Demo Presentation
Contour Ilugc Demo PresentationContour Ilugc Demo Presentation
Contour Ilugc Demo Presentation
 
Edit/correct India Map In Cdat Documentation - With Edited World Map Data
Edit/correct India Map In Cdat  Documentation -  With Edited World Map Data Edit/correct India Map In Cdat  Documentation -  With Edited World Map Data
Edit/correct India Map In Cdat Documentation - With Edited World Map Data
 
Nomography
NomographyNomography
Nomography
 
matplotlib-installatin-interactive-contour-example-guide
matplotlib-installatin-interactive-contour-example-guidematplotlib-installatin-interactive-contour-example-guide
matplotlib-installatin-interactive-contour-example-guide
 
"contour.py" module
"contour.py" module"contour.py" module
"contour.py" module
 

Último

In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxAditiChauhan701637
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxCapitolTechU
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptxraviapr7
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustSavipriya Raghavendra
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.EnglishCEIPdeSigeiro
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptxmary850239
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17Celine George
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxvidhisharma994099
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTDR. SNEHA NAIR
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSyedNadeemGillANi
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17Celine George
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 

Último (20)

In - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptxIn - Vivo and In - Vitro Correlation.pptx
In - Vivo and In - Vitro Correlation.pptx
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptxSlides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
Slides CapTechTalks Webinar March 2024 Joshua Sinai.pptx
 
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptxClinical Pharmacy  Introduction to Clinical Pharmacy, Concept of clinical pptx
Clinical Pharmacy Introduction to Clinical Pharmacy, Concept of clinical pptx
 
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational TrustVani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
Vani Magazine - Quarterly Magazine of Seshadripuram Educational Trust
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.Easter in the USA presentation by Chloe.
Easter in the USA presentation by Chloe.
 
3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx3.26.24 Race, the Draft, and the Vietnam War.pptx
3.26.24 Race, the Draft, and the Vietnam War.pptx
 
How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17How to Add a New Field in Existing Kanban View in Odoo 17
How to Add a New Field in Existing Kanban View in Odoo 17
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptx
 
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINTARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
ARTICULAR DISC OF TEMPOROMANDIBULAR JOINT
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
March 2024 Directors Meeting, Division of Student Affairs and Academic Support
March 2024 Directors Meeting, Division of Student Affairs and Academic SupportMarch 2024 Directors Meeting, Division of Student Affairs and Academic Support
March 2024 Directors Meeting, Division of Student Affairs and Academic Support
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17How to Add Existing Field in One2Many Tree View in Odoo 17
How to Add Existing Field in One2Many Tree View in Odoo 17
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 

contour analysis and visulaization documetation -1

  • 1. Contour Analysis And Visualization Objectives : The objectives of Contour Analysis and Visualization can be described in the following stages 1. To study and analyse the contour 2. Visualize the contour lines in 3 Dimensional view Application : There are many fields of interest in which Contour analysis and visualization can be applied. One of the applications of this project is to visualize the mountain in 3 D view. By this visualization we can analyse and obtain the views of both the steep slope and the gentle slope that are present in the mountain . This analysis helps us in identifying the possible regions of mountain that will be suitable for step cultivation and highlight those regions. The contour analysis and visualization can mainly be used to visualize the pressure prevailing all over the huge mass of land. The air pressure over the land varies with temparature and flow of air. Hence it causes a drastic change in our climate and atmosphere. These changes can be analysed with the help of contour lines by using the readings obtained from air pressure sensors which is located all over our country. The sensors produce the readings as per the density of the air pressure over the various land masses.These readings are used to generate the contour lines. The working of contour visualiztion of air pressure is as follows.
  • 2. STAGE 1- Study and Analysis of Contour What is Contour ? Contour is line drawn on a map connecting points of equal height . Contour lines connect a series of points of equal elevation and are used to illustrate topography, or relief, on a map. They show the height of ground above Mean Sea Level (M.S.L.) in either feet or metres and can be drawn at any desired interval. For example, numerous contour lines that are close together indicate hilly or mountainous terrain; when far apart, they represent a gentler slope. BASICS OF CONTOUR LINES The contour line represented by the shoreline separates areas that have elevations above sea level from those that have elevations below sea level. We refer to contour lines in terms of their elevation above or below sea level. Contour lines are useful because they allow us to show the shape of the land surface (topography) on a map.The two diagrams below illustrate the same island. The diagram on the left is a view from the side (cross profile view) such as you would see from a ship offshore. The diagram at right is a view from above (map view) such as you would see from an airplane flying over the island.
  • 3. Normal View (0 ft contour line): The shape of the island is shown by location shoreline on the map.Remember this shore line is a contour line. It separates areas that are above sea level from those that are below sea level.The shoreline itself is right at zero so we will call it the 0 ft. contour line (we could use m.,cm., in., or any other measurement for elevation). The shape of the island is more complicated than the outline of the shoreline shown on the map above From the profile it is clear that the islands topography varies (that is some parts are higher than others). This is not obvious on map with just one contour line. But contour lines can have elevations other than sea level.We can picture this by pretending that we can change the depth of the ocean. The diagram below shows an island that is getting flooded as we raise the water level 10 ft above the original sea level. 10 ft contour line view : The new island is obviously smaller than the original island.All of the land that was less than 10 ft. above the original sea level is now under water. Only land where the elevation was greater than 10 ft. above sea level remains out of the water.The new shoreline of the island is a contour line because all of the points along this line have the same elevation, but the elevation of this contour line is 10 ft above the elevation of the original shoreline. We repeat this processes in the two diagrams below. By raising water levels to 20 ft and 30 ft above the original see level we can find the location of the 20ft and 30 ft contour lines. Notice our islands gets smaller and smaller.
  • 4. 20 ft contour line view : Fortunately we do not really have to flood the world to make contour lines. Unlike shorelines, contour lines are imaginary. They just exist on maps. If we take each of the shorelines from the maps above and draw them on the same map we will get a topographic map (see map below). Taken all together the contour lines supply us with much information on the topography of the island. From the map (and the profile) we can see that this island has two "high" points. 30 ft contour line view : The highest point is above 30 ft elevation (inside the 30 ft contour line). The second high point is above 20 ft in elevation, but does not reach 30 ft. These high points are at the ends of a ridge that runs the length of the island where elevations are above 10 ft. Lower elevations, between the 10 ft contour and sea level surround this ridge. Over all contour lines view :
  • 5. Reading Elevations : A common use for a topographic map is to determine the elevation at a specified locality. The map below is an enlargement of the map of the island from above. Each of the letters from A to E represent locations for which we wish to determine elevation. Use the map and determine (or estimate) the elevation of each of the 5 points. (Assume elevations are given in feet) Point A = 0 ft Point A sits right on the 0 ft contour line. Since all points on this line have an elevation of 0 ft, the elevation of point A is zero. Point B = 10 ft. Point B sits right on the 10 ft contour line. Since all points on this line have an elevation of 10 ft, the elevation of point B is 10 ft. Likewise Point C ~ 15 ft , Point D ~ 25 ft & Point E ~ 8 ft. Reference : http://raider.muc.edu/~mcnaugma/Topographic%20Maps/contour.htm We can find the Latitude and Longitude of the any location in the world using global position system (GPS) via gps enabled mobile. We can plot the points to draw the contour lines using the combination of Latitude , Longitude and Altitude values .
  • 6. STAGE 2 – Visualization of the contour lines in 3 Dimensional view Visualize : In our Project, we will be visualizing the contour maps using Mayavi, an open source 3D visualization tool and Vtk, a library for several visualization tools. Visualize the contour lines into 3 Dimensional view : Step 1: Write the program to generate the 3 D view from contour values and to generate vtk file. Step 2 : Getting the real world contour values . Here we are going to get contour values of one mountain using GPS. Step 3: Visualize those contour values into Mayavi. Mayavi Mayavi is a 3D Scientific Data Visualization and Plotting. The Mayavi project includes two related packages for 3-dimensional visualization: • Mayavi2: A tool for easy and interactive visualization of data, with seamless integration with Python scientific libraries. • TVTK: A Traits-based wrapper for the Visualization Toolkit, a popular open-source visualization library. Mayavi2 Mayavi2 seeks to provide easy and interactive visualization of 3-D data. It offers: • An (optional) rich user interface with dialogs to interact with all data and objects in the visualization. • A simple and clean scripting interface in Python, including one-liners, or an object-oriented programming interface. Mayavi integrates seamlessly with numpy and scipy for 3D plotting and can even be used in IPython interactively, similarly to Matplotlib. • The power of the VTK toolkit, harnessed through these interfaces, without forcing you to learn it. Additionally Mayavi2 is a reusable tool that can be embedded in your applications in different ways or combined with the Envisage application-building framework to assemble domain-specific tools.
  • 7. TVTK TVTK wraps VTK objects to provide a convenient, Pythonic API, while supporting Traits attributes and NumPy/SciPy arrays. TVTK is implemented mostly in pure Python, except for a small extension module. Developers typically use TVTK to write Mayavi modules, and then use Mayavi to interact with visualizations or create applications. The above figure is an example for 3D visualiztion generated by Mayavi using some scientific data VTK The Visualization Toolkit (VTK) is an open-source, freely available software system for 3D computer graphics, image processing and visualization. VTK consists of a C++ class library and several interpreted interface layers including Tcl/Tk, Java, and Python. VTK supports a wide variety of visualization algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation.
  • 8. VTK has an extensive information visualization framework, has a suite of 3D interaction widgets, supports parallel processing, and integrates with various databases on GUI toolkits such as Qt and Tk. VTK is cross-platform and runs on Linux, Windows, Mac and Unix platforms. All VTK classes are wrapped with a Pythonic API supporting Traits. • Classes are generated at install time on the installed platform. • Elementary pickle support. • Handles Numeric/numarray/scipy arrays/Python lists transparently. • Support for a pipeline browser, ivtk and a high-level mlab like module. • Envisage plugins for a tvtk scene and the pipeline browser. • tvtk is free software with a BSD style license. Demonstration of contour lines formation : The demonstration will show the dynamic changes of contour values and its views. We are going to generate the contour lines from varying heat values , dynamically. Process : Arranging many heat sensors in particular manner. Connect all the sensors into Arduino board to getting dynamic heat values of sensors. And arrange few moving Heat emitting object [say LED] which will generate the heat and is absorbed by the sensors and are converted into values using Arduino. The converted heat values are plotted dynamically and contours are generated. The variation in the distance between the Heat emitting source and each sensors will produce variations in heat values. This variation is considered as the altitude of the contour. Now, we have the values for latitude, longitude and altitude for the contour. When the Heat emitting source is moved dynamically between the sensors, the altitude values of each sensor will vary dynamically resulting in a dynamic contour. By this way, we can get the heat contour values dynamically and plotting those contour lines into computerised view. So we are going to view the dynamic changes of the contour values.
  • 9. Detailed view of process : Take one square plywood . Set 12 (LM35) heat sensors on the plywood by the following manner. Fix four rows containing three sensors in each row of the board. The arrangement is as follows We can give six analog inputs into single arduino board. So we can connect six LM35 heat sensors into single arduino board. Using two arduino boards , we can get 12 heat sensors value.
  • 11. Connect those two arduino boards into computer via two USB cables. By this way , we can get the heat sensors value (analog value) in the digital manner (digital value). Make arrangement to move one LED on the plywood by setting some path. We have to arrange the same to move more than one LED on the plywood board. Mark each sensors X-axis and Y-axis . While developing contour maps for this heat sensors values , the X-axis is set as Latitude and Y-axis is set as Longitude for each sensors. These values are assumed to be constants throughout the contour generation process. The heat value sensed by the each sensor are set as the altitude . In contour map , The altitude value is assumed to be the Z-axis which is a dynamic value. The point from the origin is plotted first and the altitude is used as the distance from that point to make a contour circle by assuming the point as the center. For example if (0,0) is the origin, then the point (x1,y1) is plotted from the origin. Then the altitude or heat value z1 is considered as the distance ( height in 3 dimension ) and point (x1,y1) as center to draw the contour circles. All the dynamically generated altitude values are fed into a program. The program inturn is embedded in Mayavi to produce a Dynamic 3 Dimensional View. The digital contour map lines varies dynamically when the Heat emitting source is moved randomly within the sensors range.
  • 14. When two light emitting sources are placed on different positions over the heat sensor board,it produces a merged effect of contours with two high altitude points. The obtained result is depicted in the following figure.
  • 15. The contours get transformed dynamically from one state to another when the heat source is placed in different positions over the heat sensors. The LED is moved over the path to make dynamic heat changing values which is sensed by all the sensors. The various transition states of LED are as follows.
  • 16. The various transition states contour results are as follows.
  • 17. APPLICATION OF CONTOUR ANALYSIS AND VISUALIZATION:
  • 18. Software Requirements: ● Open Source Operating system ● Python language ● Mayavi2 ● TVTK Hardware Requirements: ● GPS Data Logger ● Few Arduino Boards ● Heat sensors ( LM35 ) ● Wires and Fixtures