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
- Revelant topics? true
- External users? false
- Open source license? false
- Active? false
- Fork? false
Repository metadata
Download and manipulate some publicly available solar datasets
- Host: GitHub
- URL: https://github.com/dazhiyang/SolarData
- Owner: dazhiyang
- Created: 2018-04-09T06:55:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T00:46:08.000Z (about 4 years ago)
- Last Synced: 2024-01-20T04:33:10.533Z (over 1 year ago)
- Topics: solar-energy
- Language: R
- Homepage:
- Size: 768 KB
- Stars: 26
- Watchers: 4
- Forks: 7
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
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:
- NREL Physical Solar Model (PSM) version 3, gridded satellite-derived irradiance data
- NREL Oahu Solar Measurement Grid (OSMG), dense sensor network in Oahu, Hawaii
- NOAA Surface Radiation (SURFRAD), long-term high-resolution ground-based irradiance data
- NASA Shuttle Radar Topography Mission (SRTM), digital elevation model data
- SoDa Linke Turbidity Factor (LTF), Linke turbidity data
- WRMC Baseline Surface Radiation Network (BSRN), long-term high-resolution ground-based irradiance data
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
- Name: Dazhi Yang
- Login: dazhiyang
- Email:
- Kind: user
- Description: Professor, Harbin Institute of Technology
- Website:
- Location: China
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/16750884?u=fa587d3a2205d4aa61f1c11186802defb5091579&v=4
- Repositories: 1
- Last ynced at: 2023-03-27T11:01:53.371Z
- Profile URL: https://github.com/dazhiyang
GitHub Events
Total
- Create event: 6
- Commit comment event: 4
- Release event: 1
- Watch event: 26
- Push event: 90
- Fork event: 9
Last Year
- Watch event: 3
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 | 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
Top Issue Authors
Top Pull Request Authors
Top Issue Labels
Top Pull Request Labels
Dependencies
- 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