Skip to content

Commit

Permalink
Adding credit for Miguel Leon for the solar_day_info function concept
Browse files Browse the repository at this point in the history
  • Loading branch information
njlyon0 committed Mar 12, 2024
1 parent d1d07d3 commit 1e009fe
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
27 changes: 15 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@ Type: Package
Title: Tools Developed by the Long Term Ecological Research Community
Version: 1.0.0.900
Authors@R: c(
person(given = "Nicholas",
family = "Lyon",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-3905-1078",
person(given = "Nicholas", family = "Lyon",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-3905-1078",
Website = "https://njlyon0.github.io/")),
person(given = "Angel", family = "Chen",
email = "[email protected]",
comment = c(ORCID = "0000-0003-3515-6710",
Website = "angelchen7.github.io"),
role = c("aut")),
role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-3515-6710",
Website = "angelchen7.github.io")),
person(given = "Miguel C.", family = "Leon",
role = c("ctb"),
comment = c(ORCID = "0000-0003-1260-9449",
Website = "https://luquillo.lter.network/")),
person(family = "National Science Foundation",
role = "fnd",
comment = "NSF 1929393, 09/01/2019 - 08/31/2024"),
role = "fnd",
comment = "NSF 1929393, 09/01/2019 - 08/31/2024"),
person(family = "University of California, Santa Barbara",
role = "cph") )
role = "cph") )
Maintainer: Nicholas Lyon <[email protected]>
Description: Set of the data science tools created by various members of the Long Term
Ecological Research (LTER) community. These functions were initially written largely
Expand Down
2 changes: 1 addition & 1 deletion R/solar_day_info.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @title Identify Solar Day Information
#'
#' @description For all days between the specified start and end date, identify the time of sunrise, sunset, and solar noon (in UTC) as well as the day length.
#' @description For all days between the specified start and end date, identify the time of sunrise, sunset, and solar noon (in UTC) as well as the day length. The idea for this function was contributed by [Miguel C. Leon](https://luquillo.lter.network/) and a Python equivalent lives in the Luquillo site's [LUQ-general-utils GitHub repository](https://github.com/LUQ-LTER/LUQ-general-utils).
#'
#' @param lat (numeric) latitude coordinate for which to find day length
#' @param lon (numeric) longitude coordinate for which to find day length
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ As functions are added to the package they will be briefly summarized below and

- **`read`** -- Reads in all files of specified types in a particular folder and stores them as elements in a list. List element names are the respective file names. Currently supports CSV, TXT, XLS, and XLSX file formats

- **`solar_day_info`** -- Identify sunrise, sunset, solar noon, and day length for all dates within a user-specified range at particular coordinates
- **`solar_day_info`** -- Identify sunrise, sunset, solar noon, and day length for all dates within a user-specified range at particular coordinates. Function concept contributed by [Miguel C. Leon](https://luquillo.lter.network/)

- **`cv`** -- Calculate coefficient of variation (CV) from a vector of numbers

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ below and attributed to their author(s)

- **`solar_day_info`** – Identify sunrise, sunset, solar noon, and day
length for all dates within a user-specified range at particular
coordinates
coordinates. Function concept contributed by [Miguel C.
Leon](https://luquillo.lter.network/)

- **`cv`** – Calculate coefficient of variation (CV) from a vector of
numbers
Expand Down
1 change: 1 addition & 0 deletions man/ltertools-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/solar_day_info.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1e009fe

Please sign in to comment.