-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from NREL/v0.3.3release
V0.3.3release
- Loading branch information
Showing
473 changed files
with
1,101,420 additions
and
556,403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
name: Build distribution 📦 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
- name: Install pypa/build | ||
run: >- | ||
python3 -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: python3 -m build | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
publish-to-pypi: | ||
name: >- | ||
Publish Python 🐍 distribution 📦 to PyPI | ||
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/PV-ICE | ||
permissions: | ||
id-token: write # IMPORTANT: mandatory for trusted publishing | ||
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
24 changes: 24 additions & 0 deletions
24
PV_ICE/baselines/CarbonLayer/Ember-PVEmissionsWorld2000-2022.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
country_or_region,year,variable,emissions_mtco2 | ||
World,2000,Solar,0.05 | ||
World,2001,Solar,0.07 | ||
World,2002,Solar,0.08 | ||
World,2003,Solar,0.1 | ||
World,2004,Solar,0.13 | ||
World,2005,Solar,0.19 | ||
World,2006,Solar,0.26 | ||
World,2007,Solar,0.35 | ||
World,2008,Solar,0.56 | ||
World,2009,Solar,0.94 | ||
World,2010,Solar,1.54 | ||
World,2011,Solar,3.03 | ||
World,2012,Solar,4.61 | ||
World,2013,Solar,6.33 | ||
World,2014,Solar,9.5 | ||
World,2015,Solar,12.28 | ||
World,2016,Solar,15.74 | ||
World,2017,Solar,21.34 | ||
World,2018,Solar,27.47 | ||
World,2019,Solar,33.74 | ||
World,2020,Solar,40.65 | ||
World,2021,Solar,50.26 | ||
World,2022,Solar,62.68 |
Oops, something went wrong.