get_day_night: Get day or night

Description Usage Arguments Value Examples

Description

get_day_night calculates nautical and civil dawn and dusk as well as sunrise and sunset, daylength, nautical length and civil length.

Usage

1
2
get_day_night(df, sun_events, idcol = "burstname", timecol = "realTime",
  longitudecol = "x")

Arguments

df

a data.frame with column longitude, latitude and dateTime and julday. As well as idcol.

sun_events

a sun_events dataframe generated from get_sun_events

Value

a data.frame with for each observation night attribute and time2sunevent.

Examples

1
get_day_night(subdf,sun_events,id="burstname")

rpatin/crepuscule documentation built on May 28, 2019, 12:35 a.m.