Description Usage Arguments Value References See Also Examples
Function for simplifying the calculation of Wedderburn Number. Can usually
be called directly on data loaded directly using load.ts and
load.bathy.
1  | ts.wedderburn.number(wtr, wnd, wnd.height, bathy, Ao, seasonal = TRUE)
 | 
wtr | 
 A data frame of water temperatures (in Celsius). Loaded using
  | 
wnd | 
 A data frame of wind speeds (in m/s). Loaded using
  | 
wnd.height | 
 Height of the anemometer above the lake surface in meters  | 
bathy | 
 A data frame containing hypsometric data. Loaded using
  | 
Ao | 
 Numeric value for the water body surface area (m^2) at zero meters depth  | 
seasonal | 
 Boolean indicating if seasonal thermocline should be used in calculation.  | 
Returns a data frame with the timeseries of Wedderburn number. Includes a ‘datetime’ column.
Imberger, J., Patterson, J.C., 1990. Physical limnology. Advances in Applied Mechanics 27, 353-370.
wedderburn.number,ts.lake.number
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  | 	#Get the path for the package example file included
	wtr.path <- system.file('extdata', 'Sparkling.daily.wtr', package="rLakeAnalyzer")
	wnd.path <- system.file('extdata', 'Sparkling.daily.wnd', package="rLakeAnalyzer")
	bathy.path <- system.file('extdata', 'Sparkling.bth', package="rLakeAnalyzer")
	
	#Load data for example lake, Sparkilng lake, in Wisconsin.
	sp.wtr = load.ts(wtr.path)
	sp.wnd = load.ts(wnd.path)
	sp.bathy = load.bathy(bathy.path)
	
	sp.area = 64e4  #Area of Sparkling lake in m^2
	wnd.height = 2  #Height of Sparkling lake anemometer
	
	w.n = ts.wedderburn.number(sp.wtr, sp.wnd, wnd.height, sp.bathy, sp.area)
	plot(w.n$datetime, w.n$wedderburn.number, type='l', ylab='Wedderburn Number', xlab='Date')
	
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.