Commands, Functions, - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Commands, Functions,

Description:

roadgrid = linegrid(roads) shade = hillshade(dem) GRID Function Types. Arithmatic: ... outgrid = log(grid1 sin(pow(grid2,grid3))) Spacing: or ( or , ... – PowerPoint PPT presentation

Number of Views:55
Avg rating:3.0/5.0
Slides: 9
Provided by: fkro
Category:

less

Transcript and Presenter's Notes

Title: Commands, Functions,


1
Commands, Functions, GRID Algebra
  • FE423 - January 11, 2000

2
Outline
  • Commands vs. Functions
  • GRID Algebra
  • LOCAL, FOCAL, and ZONAL functions

3
Commands vs. Functions
  • Commands
  • command ltingridgt ltoutgridgt
  • Functions
  • ltoutgridgt function(ltingridgt)

4
Examples of Commands
  • copy g/fe423/dem dem
  • fill dem filled_dem
  • linegrid roads roadgrid
  • histogram dem

5
Examples of Functions
  • slope slope(dem, degree)
  • temp base_temp lapse dem
  • roadgrid linegrid(roads)
  • shade hillshade(dem)

6
GRID Function Types
  • Arithmatic - /
  • outgrid grid1 grid2 grid3
  • Math functions
  • log(), sin(), pow(g1,g2), max(g1,g2)
  • Logical
  • newdem con(dem gt 0, dem, 0)

7
GRID Algebra
  • Precedence
  • outgrid grid1 grid2 grid3
  • Nesting functions within functions
  • outgrid log(grid1 sin(pow(grid2,grid3)))
  • Spacing or ( or ,
  • before and after each function and grids

8
LOCAL, FOCAL, and ZONAL
  • LOCAL
  • everything so far
  • FOCAL
  • focussed around a point
  • ZONAL
  • in that same zone
Write a Comment
User Comments (0)
About PowerShow.com