exportFootprintPoints: Write footprint as points

Description Usage Arguments Author(s) Examples

View source: R/writeFootprintPoints.r

Description

Converts a two-dimensional footprint model to a data frame with X and Y coordinates

Usage

1
exportFootprintPoints(ftp, xcoord, ycoord)

Arguments

ftp

The footprint model

xcoord

The x coordinate of the tower

ycoord

The y coordinate of the tower

Author(s)

Georgios Xenakis

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Load the data
data(fluxes)

## Clean fluxes
fluxes=cleanFluxes(fluxes,sdCor=TRUE,sdTimes=3,timesList=3,distCor=TRUE,
                   thresholdList=list(H=c(-100,1000),LE=c(-100,1000)))	

## Quick calculation of footprint
ftp=calculateFootprint(fluxes,17.42,stability=1,fetch=500,grid=200,height=33,
lowerDay=150,upperDay=151)

## Export the footprint as points
ftp_points=exportFootprintPoints(ftp, 0, 0)

FREddyPro documentation built on May 29, 2017, 7:22 p.m.