nasapower
Aims to make it quick and easy to automate downloading NASA-POWER global meteorology, surface solar energy and climatology data in your R session as a tidy data frame tibble object for analysis and use in modeling or other purposes.
https://github.com/ropensci/nasapower
Category: Renewable Energy
Sub Category: Photovoltaics and Solar Energy
Keywords
agroclimatology agroclimatology-data data-access earth-science nasa nasa-power r r-package rstats weather weather-data weather-variables
Keywords from Contributors
agriculture agriculture-research
Last synced: about 5 hours ago
JSON representation
Repository metadata
API Client for NASA POWER Global Meteorology, Surface Solar Energy and Climatology in R
- Host: GitHub
- URL: https://github.com/ropensci/nasapower
- Owner: ropensci
- License: other
- Created: 2017-11-02T06:08:53.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-08-19T03:28:58.000Z (4 months ago)
- Last Synced: 2025-11-10T14:10:21.505Z (about 2 months ago)
- Topics: agroclimatology, agroclimatology-data, data-access, earth-science, nasa, nasa-power, r, r-package, rstats, weather, weather-data, weather-variables
- Language: R
- Homepage: https://docs.ropensci.org/nasapower
- Size: 60.2 MB
- Stars: 106
- Watchers: 6
- Forks: 25
- Open Issues: 0
- Releases: 33
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codemeta: codemeta.json
README.Rmd
---
output: github_document
---
# {nasapower}: NASA POWER API Client
[](https://github.com/ropensci/nasapower/actions/workflows/check-standard.yaml)
[](https://zenodo.org/badge/latestdoi/109224461)
[](https://www.repostatus.org/#active)
[](https://github.com/ropensci/software-review/issues/155)
[](https://doi.org/10.21105/joss.01035)
[](https://CRAN.R-project.org/package=nasapower)
[](https://app.codecov.io/gh/ropensci/nasapower)
## POWER data vs {nasapower}
Please note that {nasapower} is **NOT** the source of NASA POWER data.
It is only an API client that allows easy access to the data.
{nasapower} does not redistribute the data or provide it in any way, *we encourage users to follow the requests of the POWER Project Team and properly acknowledge them for the data rather than citing this package* (unless you have actually used it in your work).
>*When POWER data products are used in a publication, we request the following acknowledgement be included:
"The data was obtained from the National Aeronautics and Space Administration (NASA) Langley Research Center (LaRC) Prediction of Worldwide Energy Resource (POWER) Project funded through the NASA Earth Science/Applied Science Program."*
The previous statement that properly cites the POWER data is different than the citation for {nasapower}.
To cite this R package, {nasapower}, please use the output from `citation(package = "nasapower")`.
## About {nasapower}
{nasapower} aims to make it quick and easy to automate *downloading* of the [NASA-POWER](https://power.larc.nasa.gov) global meteorology, surface solar energy and climatology data in your R session as a tidy data frame `tibble` object for analysis and use in modelling or other purposes.
POWER (Prediction Of Worldwide Energy Resource) data are freely available for download with varying spatial resolutions dependent on the original data and with several temporal resolutions depending on the POWER parameter and community.
**Note that the data are not static and may be replaced with improved data.**
Please see for detailed information in this regard.
### Quick start
{nasapower} can easily be installed using the following code.
#### From CRAN
The stable version is available through CRAN.
```{r install-cran, eval=FALSE}
install.packages("nasapower")
```
#### From GitHub for the version in-development
A development version is available through GitHub.
```{r install-dev, eval=FALSE}
install.packages("nasapower", repos = "https://ropensci.r-universe.dev")
```
### Example
Fetch daily “ag” community temperature, relative humidity and precipitation for January 1, 1985 for Kingsthorpe, Queensland, Australia.
```{r kingsthorpe}
library("nasapower")
daily_ag <- get_power(
community = "ag",
lonlat = c(151.81, -27.48),
pars = c("RH2M", "T2M", "PRECTOTCORR"),
dates = "1985-01-01",
temporal_api = "daily"
)
daily_ag
```
## Documentation
More documentation is available in the vignette in your R session, `vignette("nasapower")` or available online, .
## Meta
- Please note that this package is released with a [Contributor Code of Conduct](https://ropensci.org/code-of-conduct/).
By contributing to this project, you agree to abide by its terms.
- Please [report any issues or bugs](https://github.com/ropensci/nasapower/issues).
- License: MIT
### Citing {nasapower}
When citing the use of this package, please use the output from,
```{r}
library("nasapower")
citation("nasapower")
```
## References
## Contributors
All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [all-contributors](https://allcontributors.org) specification. Contributions of any kind are welcome!
### Code
adamhsparks
femiguez
maelle
kguidonimartins
palderman
### Issue Authors
andresouzaesilva
xianranli
jizarten
fe-neculqueo
LucasJorgeAbdala
olicoste
Owner metadata
- Name: rOpenSci
- Login: ropensci
- Email: info@ropensci.org
- Kind: organization
- Description:
- Website: https://ropensci.org/
- Location: Berkeley, CA
- Twitter: rOpenSci
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1200269?v=4
- Repositories: 307
- Last ynced at: 2023-03-10T20:30:59.242Z
- Profile URL: https://github.com/ropensci
GitHub Events
Total
- Create event: 3
- Release event: 1
- Issues event: 4
- Watch event: 9
- Delete event: 2
- Issue comment event: 9
- Push event: 55
- Pull request event: 3
- Fork event: 2
Last Year
- Create event: 3
- Release event: 1
- Issues event: 4
- Watch event: 7
- Delete event: 2
- Issue comment event: 9
- Push event: 55
- Pull request event: 3
- Fork event: 2
Committers metadata
Last synced: about 1 month ago
Total Commits: 2,114
Total Committers: 6
Avg Commits per committer: 352.333
Development Distribution Score (DDS): 0.004
Commits in past year: 97
Committers in past year: 1
Avg Commits per committer in past year: 97.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Adam H. Sparks | a****s@g****m | 2106 |
| Maëlle Salmon | m****n@y****e | 2 |
| Fernando Miguez | f****z@g****m | 2 |
| Adam Sparks | a****s@s****l | 2 |
| Phillip D. Alderman | p****n@o****u | 1 |
| Karlo Guidoni | k****s@g****m | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 4 months ago
Total issues: 77
Total pull requests: 17
Average time to close issues: 18 days
Average time to close pull requests: 2 days
Total issue authors: 32
Total pull request authors: 5
Average comments per issue: 2.31
Average comments per pull request: 0.82
Merged pull request: 17
Bot issues: 0
Bot pull requests: 0
Past year issues: 2
Past year pull requests: 5
Past year average time to close issues: 5 days
Past year average time to close pull requests: about 2 hours
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 3.0
Past year average comments per pull request: 0.0
Past year merged pull request: 5
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- adamhsparks (41)
- daniel-althoff (2)
- kauedesousa (2)
- ymutua (2)
- danielreispereira (2)
- AboodaA (2)
- palderman (1)
- egbendito (1)
- emdelponte (1)
- Yonaba (1)
- BradleyPOWER (1)
- agronomofiorentini (1)
- camwur (1)
- kevinwolz (1)
- saulo1305 (1)
Top Pull Request Authors
- adamhsparks (14)
- maelle (2)
- kguidonimartins (2)
- palderman (1)
- femiguez (1)
Top Issue Labels
- enhancement (12)
- bug (5)
- Version 4.0 (1)
Top Pull Request Labels
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 16
proxy.golang.org: github.com/ropensci/nasapower
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ropensci/nasapower#section-documentation
- Licenses: other
- Latest release: v4.2.5+incompatible (published 7 months ago)
- Last Synced: 2025-11-18T14:31:30.210Z (about 1 month ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
Dependencies
- R >= 3.5.0 depends
- crul * imports
- jsonlite * imports
- lubridate * imports
- readr * imports
- tibble >= 3.0.2 imports
- knitr * suggests
- purrr * suggests
- ratelimitr * suggests
- rmarkdown * suggests
- spelling * suggests
- testthat * suggests
- vcr * suggests
- actions/checkout v3 composite
- actions/upload-artifact v2 composite
- pat-s/always-upload-cache v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-tinytex v2 composite
Score: -Infinity