SolarData

Download and manipulate some publicly available solar datasets.
https://github.com/dazhiyang/SolarData

Keywords

solar-energy

Last synced: over 1 year ago
JSON representation

Acceptance Criteria

Repository metadata

Download and manipulate some publicly available solar datasets

README.md

Access and manipulate some publicly available solar data

There are many publicly available solar datasets. This package contains functions to download and manipulate these datasets. Currently available ones include:

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This is an R package, so you need to install R on your computer first. In addition, RStudio is an integrated development environment (IDE) for R; it is highly recommended.

Installing

Once R and RStudio are installed. Open R or RStudio and install the devtools package, which allows you to install R package from GitHub

install.packages("devtools")

Load the package that you just installed

library("devtools")

Now, you can install the SolMod package, using

install_github("dazhiyang/SolarData")

Running the tests

This code segment gives an example on how to run transposition modeling (horizontal to tilt) using a variety of models. (This is not up to date)

library("SolarData")

#get SURFRAD data from Goodwin_Creek_MS (gwn) station, for the first three days in 2004
SURFRAD.get(station = 'Goodwin_Creek_MS', year = '2004', day_of_year = c(1:3))

#get PSM data for two locations
PSM.get(lat = c(42.05, 44), lon = c(-124.02, -110), api_key <- 'FVltdchrxzBCHiSNF6M7R4ua6BFe4j81fbPp8dDP', attributes <- 'ghi,dhi,dni,clearsky_dhi,clearsky_dni,clearsky_ghi,solar_zenith_angle', name = 'John+Smith', affiliation = 'Some+Institute', year = '2016', leap_year = 'true', interval = '30', utc = 'false', reason_for_use = 'research', email = 'yangdazhi.nus@gmail.com', mailing_list = 'false')

#get SRTM, i.e., digital elevation model, data for two boxes with resolution 3 arcsec
SRTM.list(3, want.plot = TRUE) #check available files
files <- c("Eurasia/N00E072.hgt.zip", "Eurasia/N00E073.hgt.zip")
SRTM.get(resolution = 3, files = files)

License

This package is under the GPL-2 license.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: over 1 year ago

Total Commits: 62
Total Committers: 3
Avg Commits per committer: 20.667
Development Distribution Score (DDS): 0.081

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Dazhi Yang y****s@g****m 57
Dazhi Yang d****g@D****l 3
Dazhi Yang D****g@D****l 2

Committer domains:


Issue and Pull Request metadata

Last synced: over 1 year ago

Total issues: 0
Total pull requests: 0
Average time to close issues: N/A
Average time to close pull requests: N/A
Total issue authors: 0
Total pull request authors: 0
Average comments per issue: 0
Average comments per pull request: 0
Merged pull request: 0
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/dazhiyang/SolarData

Top Issue Authors

Top Pull Request Authors


Top Issue Labels

Top Pull Request Labels


Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • dplyr * depends
  • ggplot2 * depends
  • insol * depends
  • RCurl * imports
  • fields * imports
  • geosphere * imports
  • grDevices * imports
  • httr * imports
  • lubridate * imports
  • raster * imports
  • textreadr * imports
  • tibble * imports
  • tiff * imports

Score: 4.356708826689592