Description Usage Arguments Value Author(s) Examples
View source: R/calculateFootprint.r
A wrapper function for quick calculation of the average footprint for a specific period of time with minimum required arguments
1 2 |
df |
The data frame to use |
displacement |
Displacement height in meters. |
stability |
Integer used to mask the data for stability. 1=Unstable, 2=neutral, 3=stable conditions. |
fetch |
The upwind distance over which you want the calculation domain to extend. Note that the footprint will be normalized to that domain so footprints that extend well beyond the domain will be overrepresented in |
grid |
The total calculation grid size. The default is 200 which would mean the footprint would be represented in a 200x200 array corresponding to dimensions of two times the fetch on each side of the grid. |
height |
The z-d height of the flux system |
lowerDay |
The lower limit of the period to calculate the footprint |
upperDay |
The upper limit of the period to calculate the footprint |
Returns a list object of a footprint similar to that of the function Average
Georgios Xenakis
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)
## You can also use the plot.footprint function of FREddyPro to plot the result
plotFootprint(ftp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.