Learn R Programming

bReeze (version 0.1-1)

printMast: Overview of met mast

Description

Summarizes information about a given met mast object.

Usage

printMast(mast)

Arguments

mast
Met mast object created by createMast.

Value

  • Returns a list of information about the given met mast:
  • locationLat/lon coordinates of the site (if available).
  • descriptionPlain text description of the met mast (if available).
  • num.setsNumber of datasets.
  • heightsList of measuring heights of the datasets.
  • signalsList of signals of each dataset.
  • periodList of Starting time stamp, end time stamp and duration of the measuring period.
  • num.samplesNumber of samples.
  • wind.speedList of average wind speed of the datasets (if available).
  • availabilityList of the availability of the datasets (if available).
  • cleanedList of the cleaning status of the datasets.

encoding

UTF-8

See Also

createMast

Examples

Run this code
# load and prepare data
data(winddata)
set40 <- createSet(height=40, v.avg=winddata[,2], v.std=winddata[,5],
dir.avg=winddata[,14])
set30 <- createSet(height=30, v.avg=winddata[,6], v.std=winddata[,9],
dir.avg=winddata[,16])
set20 <- createSet(height=20, v.avg=winddata[,10], v.std=winddata[,13])
ts <- formatTS(winddata[,1])
neubuerg <- createMast(time.stamp=ts, loc=NULL, desc=NULL, set40)
neubuerg.2 <- clean(neubuerg)
neubuerg.3 <- createMast(time.stamp=ts, loc=c(49.8909,11.4017), 
	desc="Site #247 - Neubuerg", set40=set40, set30=set30, set20=set20)

# view met masts
printMast(neubuerg)
printMast(neubuerg.2)
printMast(neubuerg.3)

# get cleaning info
printMast(neubuerg)$cleaned
printMast(neubuerg.2)$cleaned

Run the code above in your browser using DataLab