Learn R Programming

MetFns (version 3.2.2)

date_sol.table: Calculation of table of solar longitudes

Description

Calculates table of solar longitudes for given dates and step.

Usage

date_sol.table(date.beg,date.end,step)

Arguments

date.beg

character vector specifying beginning date, given in "YYYY-mm-dd" format (UTC timezone).

date.end

character vector specifying ending date, given in "YYYY-mm-dd" format (UTC timezone).

step

numeric vector specifying step in minutes. Possible values are 5,10,15,20,30,60,120 minutes.

Value

date_sol.table returns dataframe of solar longitudes rounded to three decimals.

Details

The function date_sol.table calculates table of solar longitudes using function solar.long with days as row names and time in hours and minutes as column names. Solar longitude values correspond to beginning date at midnight to ending date at midnight-step.

See Also

solar.long

Examples

Run this code
# NOT RUN {
## calculate table of solar longitudes for 10-14 December 2015, step 120 minutes
date_sol.table("2015-12-10","2015-12-14",120)

# }

Run the code above in your browser using DataLab