Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
An R Interface to the Daymet Web Services
Basic Info
- Host: GitHub
- Owner: bluegreen-labs
- License: other
- Language: R
- Default Branch: master
- Homepage: http://bluegreen-labs.github.io/daymetr/
- Size: 4.69 MB
Statistics
- Stars: 32
- Watchers: 3
- Forks: 18
- Open Issues: 0
- Releases: 4
Topics
Metadata Files
README.md
daymetr 
A programmatic interface to the Daymet web services. Allows for easy downloads of Daymet climate data directly to your R workspace or your computer. Routines for both single pixel data downloads and gridded (netCDF) data are provided. Please use the below citation when using the package.
We received news from Dr. Michele Thornton at the Oak Ridge National Laboratory (ORNL) that the DAYMET API they host will be decommissioned. This change will be effective within weeks (late March 2025) and affect first and foremost the spatial (gridded/tiled) data products, before most likely covering the whole THREDDS data server setup including point based data by the end of the year. We suggest that users of our {daymetr} R package migrate to the NASA EarthData Appeears based API as covered by our {appeears} R package.
How to cite this package
Hufkens K., Basler J. D., Milliman T. Melaas E., Richardson A.D. 2018 An integrated phenology modelling framework in R: Phenology modelling with phenor. Methods in Ecology & Evolution, 9: 1-10. https://doi.org/10.1111/2041-210X.12970
Installation
stable release
To install the current stable release use a CRAN repository:
r
install.packages("daymetr")
library("daymetr")
development release
To install the development releases of the package run the following commands:
r
if(!require(remotes)){install.packages("remotes")}
remotes::install_github("bluegreen-labs/daymetr")
library("daymetr")
Vignettes are not rendered by default, if you want to include additional documentation please use:
r
if(!require(remotes)){install.packages("remotes")}
remotes::install_github("bluegreen-labs/daymetr", build_vignettes = TRUE)
library("daymetr")
Use
Single pixel location download
For a single site use the following format
r
download_daymet(site = "Oak Ridge National Laboratories",
lat = 36.0133,
lon = -84.2625,
start = 1980,
end = 2010,
internal = TRUE)
| Parameter | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------- | | site | site name | | lat | latitude of the site | | lon | longitude of the site | | start | start year of the time series (data start in 1980) | | end | end year of the time series (current year - 2 years, use force = TRUE to override) | | internal | logical, TRUE or FALSE, if true data is imported into R workspace otherwise it is downloaded into the current working directory | | path | path where to store the data when not used internally, defaults to tempdir() | | force | force “out of temporal range” downloads | | silent | suppress the verbose output |
Batch mode uses similar parameters but you provide a comma separated file with site names and latitude longitude which are sequentially downloaded. The format of the comma separated file is: site name, latitude, longitude.
r
download_daymet_batch(file_location = 'my_sites.csv',
start = 1980,
end = 2010,
internal = TRUE)
Gridded data downloads
For gridded data use either download_daymet_tiles() for individual tiles or download_daymet_ncss() for a netCDF subset which is not bound by tile limits (but restricted to a 6GB query size).
Tiled data
r
download_daymet_tiles(location = c(36.0133,-84.2625),
tiles = NULL,
start = 1980,
end = 2012,
param = "ALL")
| Parameter | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | location | vector with a point location c(lat,lon) or top left / bottom right pair c(lat,lon,lat,lon) | | tiles | vector with tile numbers if location point or top left / bottom right pair is not provided | | start | start year of the time series (data start in 1980) | | end | end year of the time series (current year - 2 years, use force = TRUE to override) | | param | climate variable you want to download vapour pressure (vp), minimum and maximum temperature (tmin,tmax), snow water equivalent (swe), solar radiation (srad), precipitation (prcp) , day length (dayl). The default setting is ALL, this will download all the previously mentioned climate variables. | | path | path where to store the data, defaults to tempdir() | | silent | suppress the verbose output |
If only the first set of coordinates is provided the tile in which these reside is downloaded. If your region of interest falls outside the scope of the DAYMET data coverage a warning is issued. If both top left and bottom right coordinates are provided all tiles covering the region of interst are downloaded. I would caution against downloading too much data, as file sizes do add up. So be careful how you specify your region of interest.
netCDF subset (ncss) data
r
download_daymet_ncss(location = c(36.61,-85.37,33.57,-81.29),
start = 1980,
end = 1980,
param = "tmin")
| Parameter | Description | | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | location | bounding box extent defined as top left / bottom right pair c(lat,lon,lat,lon) | | start | start year of the time series (data start in 1980) | | end | end year of the time series (current year - 2 years, use force = TRUE to override) | | param | climate variable you want to download vapour pressure (vp), minimum and maximum temperature (tmin,tmax), snow water equivalent (swe), solar radiation (srad), precipitation (prcp) , day length (dayl). The default setting is ALL, this will download all the previously mentioned climate variables. | | mosaic | tile mosaic to use, defaults to “na” for North America (use “pr” for Puerto Rico and “hi” for Hawaii) | | path | path where to store the data, defaults to tempdir() | | silent | suppress the verbose output |
Keep in mind that the bounding box is defined by the minimum (square) bounding box in a Lambert Conformal Conic (LCC) projection as defined by the provided geographic coordinates. In general the query area will be larger than the requested location. For more information I refer to Daymet documentation on the web service.
Acknowledgements
This project was supported by the National Science Foundation’s Macro-system Biology Program (awards EF-1065029 and EF-1702697) and the Marie Skłodowska-Curie Action (H2020 grant 797668). Logo design elements are taken from the FontAwesome library according to these terms, where the globe element was inverted and intersected.
Owner
- Name: BlueGreen Labs
- Login: bluegreen-labs
- Kind: organization
- Email: info@bluegreenlabs.org
- Location: Melsele, Belgium
- Website: http://bluegreenlabs.org
- Repositories: 17
- Profile: https://github.com/bluegreen-labs
BlueGreen open science labs & consulting, providing environmental research infrastructure and editorial solutions.
GitHub Events
Total
- Issues event: 4
- Watch event: 3
- Issue comment event: 4
- Push event: 2
- Fork event: 1
Last Year
- Issues event: 4
- Watch event: 3
- Issue comment event: 4
- Push event: 2
- Fork event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Koen Hufkens | k****s@g****m | 474 |
| mastefan | 3****n | 15 |
| Koen Hufkens | k****s@P****l | 13 |
| Koen Hufkens | k****s@P****l | 4 |
| Aaron | a****d@w****m | 2 |
| Stefan Verhoeven | s****n@e****l | 1 |
| Alexander Hurley | t****l | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 56
- Total pull requests: 12
- Average time to close issues: 4 months
- Average time to close pull requests: 1 day
- Total issue authors: 28
- Total pull request authors: 5
- Average comments per issue: 2.14
- Average comments per pull request: 1.42
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 0
- Average time to close issues: 8 days
- Average time to close pull requests: N/A
- Issue authors: 3
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- khufkens (26)
- mastefan (2)
- spencer-tassone (2)
- j-baldock (2)
- bradleytbush (1)
- adriancorrendo (1)
- alvaroparedesl (1)
- jungej62 (1)
- cohenab2 (1)
- vishalm1975 (1)
- dylanbeaudette (1)
- dabasler (1)
- kkyong77 (1)
- randhir-24 (1)
- tmieno2 (1)
Pull Request Authors
- mastefan (7)
- khufkens (2)
- the-Hull (1)
- sverhoeven (1)
- aaronspringford (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 1,229 last-month
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 6
(may contain duplicates) - Total versions: 10
- Total maintainers: 1
proxy.golang.org: github.com/bluegreen-labs/daymetr
- Documentation: https://pkg.go.dev/github.com/bluegreen-labs/daymetr#section-documentation
- License: other
-
Latest release: v1.7.1
published over 2 years ago
Rankings
cran.r-project.org: daymetr
Interface to the 'Daymet' Web Services
- Homepage: https://github.com/bluegreen-labs/daymetr
- Documentation: http://cran.r-project.org/web/packages/daymetr/daymetr.pdf
- License: AGPL-3
-
Latest release: 1.7.1
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.6 depends
- httr * imports
- raster * imports
- sf * imports
- tibble * imports
- tidyr * imports
- tools * imports
- utils * imports
- covr * suggests
- dplyr * suggests
- ggplot2 * suggests
- knitr * suggests
- markdown * suggests
- ncdf4 * suggests
- rgdal * suggests
- rmarkdown * suggests
- testthat * suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite