calculate_dawn_dusk: Determine dawn and dusk for a specified GPS coordinate.

View source: R/calculate_dawn_dusk.R

calculate_dawn_duskR Documentation

Determine dawn and dusk for a specified GPS coordinate.

Description

Determine dawn and dusk for a specified GPS coordinate.

Usage

calculate_dawn_dusk(datetime, gpscoord)

Arguments

datetime

the date-time to determine when dawn and dusk occurs.

gpscoord

the gps coordinate to determine when dawn and dusk occurs. It should be provided as a 1x2 matrix, where the first value is the latitude and the second value is the longitude.

Value

A lubridate interval.


gnishihara/gnnlab documentation built on April 13, 2025, 5:48 p.m.