Learn R Programming

BrazilMet (version 0.2.0)

sr_tair_calculation: Solar radiation data derived from air temperature differences

Description

If global radiation is not measure at station, it can be estimated with this function.

Usage

sr_tair_calculation(latitude, date, tmax, tmin, location_krs)

Value

A data.frame object with solar radiation data

Arguments

latitude

A dataframe with latitude in decimal degrees that you want to calculate the ra.

date

A dataframe with the dates that you want to calculate the ra.

tmax

A dataframe with Maximum daily air temperature (°C)

tmin

A dataframe with Minimum daily air temperature (°C)

location_krs

Adjustment coefficient based in location. Please decide between "coastal or "interior". If coastal the krs will be 0.19, if interior the krs will be 0.16.

Author

Roberto Filgueiras, Luan P. Venancio, Catariny C. Aleman and Fernando F. da Cunha

Examples

Run this code
if (FALSE) {
sr_tair <- sr_tair_calculation(latitude, date, tmax, tmin, location_krs)
}

Run the code above in your browser using DataLab