sup3r

The Super Resolution for Renewable Resource Data software uses generative adversarial networks to create synthetic high-resolution wind and solar spatiotemporal data from coarse low-resolution inputs.
https://github.com/NREL/sup3r

Category: Energy Systems
Sub Category: Renewable Energy Integration

Keywords

climate-change climate-data deep-learning generative-adversarial-network machine-learning renewable-energy solar-energy tensorflow wind-energy

Last synced: about 1 hour ago
JSON representation

Repository metadata

The Super-Resolution for Renewable Resource Data (sup3r) software uses generative adversarial networks to create synthetic high-resolution wind and solar spatiotemporal data from coarse low-resolution inputs.

README.rst

          Welcome to SUP3R!

|Docs| |Tests| |Linter| |PyPi| |PythonV| |Codecov| |Zenodo|

.. |Docs| image:: https://github.com/NREL/sup3r/workflows/Documentation/badge.svg
    :target: https://nrel.github.io/sup3r/

.. |Tests| image:: https://github.com/NREL/sup3r/workflows/Pytests/badge.svg
    :target: https://github.com/NREL/sup3r/actions?query=workflow%3A%22Pytests%22

.. |Linter| image:: https://github.com/NREL/sup3r/workflows/Lint%20Code%20Base/badge.svg
    :target: https://github.com/NREL/sup3r/actions?query=workflow%3A%22Lint+Code+Base%22

.. |PyPi| image:: https://img.shields.io/pypi/pyversions/NREL-sup3r.svg
    :target: https://pypi.org/project/NREL-sup3r/

.. |PythonV| image:: https://badge.fury.io/py/NREL-sup3r.svg
    :target: https://badge.fury.io/py/NREL-sup3r

.. |Codecov| image:: https://codecov.io/gh/nrel/sup3r/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/nrel/sup3r

.. |Zenodo| image:: https://zenodo.org/badge/422324608.svg
    :target: https://zenodo.org/badge/latestdoi/422324608

.. inclusion-intro

The Super Resolution for Renewable Resource Data (sup3r) software uses
generative adversarial networks to create synthetic high-resolution wind and
solar spatiotemporal data from coarse low-resolution inputs. To get started,
check out the sup3r command line interface `(CLI)
`__.

Installing sup3r
================

NOTE: The installation instruction below assume that you have python installed
on your machine and are using `conda `__
as your package/environment manager.

Option 1: Install from PIP (recommended for analysts):
------------------------------------------------------

1. Create a new environment: ``conda create --name sup3r python=3.11``

2. Activate environment: ``conda activate sup3r``

3. Install sup3r: ``pip install NREL-sup3r``

4. Run this if you want to train models on GPUs: ``pip install tensorflow[and-cuda]``

   4.1 For OSX use instead: ``python -m pip install tensorflow-metal``

Option 2: Clone repo (recommended for developers)
-------------------------------------------------

1. from home dir, ``git clone git@github.com:NREL/sup3r.git``

2. Create ``sup3r`` environment and install package
    1) Create a conda env with python: ``conda create --name sup3r python=3.11``
    2) Run the command: ``conda activate sup3r``
    3) ``cd`` into the repo cloned in 1.
    4) Prior to running ``pip`` below, make sure the branch is correct (install
       from main!)
    5) Install ``sup3r`` and its dependencies by running:
       ``pip install .`` (or ``pip install -e .`` if running a dev branch
       or working on the source code)
    6) Run this if you want to train models on GPUs: ``pip install tensorflow[and-cuda]``
    7) *Optional*: Set up the pre-commit hooks with ``pip install pre-commit`` and ``pre-commit install``

Recommended Citation
====================

Update with current version and DOI:

Brandon Benton, Grant Buster, Guilherme Pimenta Castelao, Malik Hassanaly, Pavlo Pinchuk, Slater Podgorny, Andrew Glaws, and Ryan King. Super Resolution for Renewable Resource Data (sup3r). https://github.com/NREL/sup3r (version v0.2.0), 2024. DOI: 10.5281/zenodo.14042894

Acknowledgments
===============

This work was authored by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. This research was supported by the Grid Modernization Initiative of the U.S. Department of Energy (DOE) as part of its Grid Modernization Laboratory Consortium, a strategic partnership between DOE and the national laboratories to bring together leading experts, technologies, and resources to collaborate on the goal of modernizing the nation’s grid. Funding provided by the the DOE Office of Energy Efficiency and Renewable Energy (EERE), the DOE Office of Electricity (OE), DOE Grid Deployment Office (GDO), the DOE Office of Fossil Energy and Carbon Management (FECM), and the DOE Office of Cybersecurity, Energy Security, and Emergency Response (CESER), the DOE Advanced Scientific Computing Research (ASCR) program, the DOE Solar Energy Technologies Office (SETO), the DOE Wind Energy Technologies Office (WETO), the United States Agency for International Development (USAID), and the Laboratory Directed Research and Development (LDRD) program at the National Renewable Energy Laboratory. The research was performed using computational resources sponsored by the Department of Energy's Office of Energy Efficiency and Renewable Energy and located at the National Renewable Energy Laboratory. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.

        

Citation (CITATION.cff)

cff-version: 1.2.0
title: The Super-Resolution for Renewable Resource Data (sup3r)
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - family-names: Benton
    given-names: Brandon
    affiliation: NREL
    orcid: "https://orcid.org/0009-0008-9931-2050"
  - family-names: Buster
    given-names: Grant
    affiliation: NREL
    orcid: "https://orcid.org/0000-0001-8616-8100"
  - family-names: Hassanaly
    given-names: Malik
    affiliation: NREL
    orcid: "https://orcid.org/0000-0002-0425-9090"
  - family-names: Pinchuk
    given-names: Pavlo
    affiliation: NREL
    orcid: "https://orcid.org/0000-0003-4736-4728"
  - family-names: Podgorny
    given-names: Slater
    affiliation: NREL
    orcid: "https://orcid.org/0009-0008-4903-411X"
  - family-names: Glaws
    given-names: Andrew
    affiliation: NREL
    orcid: "https://orcid.org/0000-0002-7268-1883"
  - family-names: King
    given-names: Ryan
    affiliation: NREL
    orcid: "https://orcid.org/0000-0002-0591-7139"
identifiers:
  - type: doi
    value: 10.5281/zenodo.6808547
repository-code: 'https://github.com/NREL/sup3r'
abstract: >-
  The Super Resolution for Renewable Resource Data (sup3r)
  software uses generative adversarial networks to create
  synthetic high-resolution wind and solar spatiotemporal
  data from coarse low-resolution inputs.
keywords:
  - machine-learning
  - deep-learning
  - generative-adversarial-network
  - climate-change
  - tensorflow
  - climate-data
  - solar-energy
  - renewable-energy
  - wind-energy
license: BSD-3-Clause
commit: 6d0f100
version: 0.1.2
date-released: '2023-12-18'

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 2,724
Total Committers: 8
Avg Commits per committer: 340.5
Development Distribution Score (DDS): 0.389

Commits in past year: 823
Committers in past year: 4
Avg Commits per committer in past year: 205.75
Development Distribution Score (DDS) in past year: 0.361

Name Email Commits
bnb32 b****n@n****v 1665
grantbuster g****r@n****v 601
Gui Castelao g****e@c****t 233
Malik m****y@g****m 155
ppinchuk p****k@n****v 46
Brandon Benton b****b@c****u 17
Slater Podgorny 9****9 6
Slater Podgorny s****n@k****v 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 24
Total pull requests: 241
Average time to close issues: 26 days
Average time to close pull requests: 5 days
Total issue authors: 4
Total pull request authors: 6
Average comments per issue: 1.92
Average comments per pull request: 0.65
Merged pull request: 227
Bot issues: 0
Bot pull requests: 0

Past year issues: 3
Past year pull requests: 51
Past year average time to close issues: 6 months
Past year average time to close pull requests: 11 days
Past year issue authors: 3
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.75
Past year merged pull request: 43
Past year bot issues: 0
Past year bot pull requests: 0

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

Top Issue Authors

  • grantbuster (11)
  • bnb32 (10)
  • malihass (2)
  • castelao (1)

Top Pull Request Authors

  • bnb32 (112)
  • grantbuster (89)
  • castelao (25)
  • malihass (11)
  • ppinchuk (3)
  • spodgorny9 (1)

Top Issue Labels

  • feature (11)
  • bug (4)

Top Pull Request Labels

  • bug (1)
  • documentation (1)
  • enhancement (1)

Package metadata

pypi.org: nrel-sup3r

Super Resolving Renewable Resource Data (sup3r)

  • Homepage:
  • Documentation: https://nrel-sup3r.readthedocs.io/
  • Licenses: BSD-3-Clause
  • Latest release: 0.2.2 (published 4 months ago)
  • Last Synced: 2025-04-29T15:02:41.005Z (1 day ago)
  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 545 Last month
  • Rankings:
    • Dependent packages count: 6.633%
    • Stargazers count: 15.684%
    • Downloads: 16.69%
    • Average: 18.564%
    • Forks count: 23.201%
    • Dependent repos count: 30.611%
  • Maintainers (2)

Dependencies

docs/requirements.txt pypi
  • ghp-import *
  • sphinx *
  • sphinx-click *
  • sphinx_rtd_theme *
.github/workflows/codecov.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v1 composite
.github/workflows/gh_pages.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • peaceiris/actions-gh-pages v3.6.1 composite
.github/workflows/linter.yml actions
  • actions/checkout v3 composite
  • github/super-linter v4 composite
.github/workflows/publish_to_pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/pull_request_tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/release_drafter.yml actions
  • release-drafter/release-drafter v5.15.0 composite
setup.py pypi
pyproject.toml pypi
  • NREL-farms >=1.0.4
  • NREL-gaps >=0.6.0
  • NREL-phygnn >=0.0.23
  • NREL-rex >=0.2.84
  • dask >=2022.0
  • google-auth-oauthlib ==0.5.3
  • matplotlib >=3.1
  • netCDF4 ==1.5.8
  • numpy >=1.7.0
  • pandas >=2.0
  • pillow >=10.0
  • pytest >=5.2
  • scipy >=1.0.0
  • sphinx >=7.0
  • tensorflow >2.4,<2.16
  • xarray >=2023.0

Score: 12.989060530089908