calc_cc: Calculate cloud cover

Description Usage Arguments Value

View source: R/calc_cc.R

Description

Calculate cloud cover using latitude, air temperature, relative humidity (or dewpoint temperature) and short wave radiation using the calculations from Martin and McCutcheon (1999).

Usage

1
2
calc_cc(date, airt, relh = NULL, dewt = NULL, swr, lat, long, elev,
  daily = F)

Arguments

date

vector; Dates in as.POSixct class

airt

vector; Air temperature values which correspond to the vector of dates

relh

vector; Relative humidity values which correspond to the vector of dates

dewt

vector; Dewpoint temperature values which correspond to the vector of dates. Used instead of relative humidity

swr

vector; Short-wave radiation values which correspond to the vector of dates

lat

numeric; Latitude position (in decimal)

long

numeric; Longitude position (in decimal)

elev

numeric; elevation in metres above sea level

daily

logical; Is the data on a daily timestep. Defaults to FALSE

Value

vector of cloud cover values which correspond to the vector of dates supplied


tadhg-moore/gotmtools documentation built on Oct. 9, 2019, 2:48 p.m.