Skip to content

Commit

Permalink
code: merge from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
finozzifa committed Nov 2, 2024
2 parents ed8fd68 + 4bf2e84 commit acac4cf
Show file tree
Hide file tree
Showing 19 changed files with 213 additions and 378 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: "0 5 * * TUE"

env:
CACHE_NUMBER: 2 # Change this value to manually reset the environment cache
CACHE_NUMBER: 1 # Change this value to manually reset the environment cache

jobs:
build:
Expand Down
15 changes: 9 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ repos:
types_or: [python, rst, markdown]
files: ^(scripts|doc)/

# Make docstrings PEP 257 compliant
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
# # Make docstrings PEP 257 compliant
# - repo: https://github.com/PyCQA/docformatter
# rev: v1.7.5
# hooks:
# - id: docformatter
# args: ["--in-place", "--make-summary-multi-line", "--pre-summary-newline"]
# entry: docformatter
# language: python
# types: [python]

- repo: https://github.com/keewis/blackdoc
rev: v0.3.9
Expand Down
85 changes: 52 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ by

## Development Status: **Stable and Active**

[![Status Linux](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-linux.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-linux.yaml)
[![Status Mac](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-mac.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-mac.yaml)
[![Status Windows](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-windows.yaml/badge.svg?branch=main&event=push)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci-windows.yaml)
[![Test workflows](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml/badge.svg)](https://github.com/pypsa-meets-earth/pypsa-earth/actions/workflows/ci.yml)
[![Documentation Status](https://readthedocs.org/projects/pypsa-earth/badge/?version=latest)](https://pypsa-earth.readthedocs.io/en/latest/?badge=latest)
![Size](https://img.shields.io/github/repo-size/pypsa-meets-earth/pypsa-earth)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPLv3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
Expand Down Expand Up @@ -311,14 +309,35 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<sub><b>Emmanuel Bolarinwa</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Eddy-JV">
<img src="https://avatars.githubusercontent.com/u/75539255?v=4" width="100;" alt="Eddy-JV"/>
<br />
<sub><b>Eddy Jalbout</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/doneachh">
<img src="https://avatars.githubusercontent.com/u/132910766?v=4" width="100;" alt="doneachh"/>
<br />
<sub><b>Anton Achhammer</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Tomkourou">
<img src="https://avatars.githubusercontent.com/u/5240283?v=4" width="100;" alt="Tomkourou"/>
<br />
<sub><b>Thomas Kouroughli</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/finozzifa">
<img src="https://avatars.githubusercontent.com/u/167071962?v=4" width="100;" alt="finozzifa"/>
<br />
<sub><b>Finozzifa</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/GridGrapher">
<img src="https://avatars.githubusercontent.com/u/127969728?v=4" width="100;" alt="GridGrapher"/>
Expand All @@ -327,12 +346,20 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
</a>
</td>
<td align="center">
<a href="https://github.com/finozzifa">
<img src="https://avatars.githubusercontent.com/u/167071962?v=4" width="100;" alt="finozzifa"/>
<a href="https://github.com/glenkiely-ieg">
<img src="https://avatars.githubusercontent.com/u/99269783?v=4" width="100;" alt="glenkiely-ieg"/>
<br />
<sub><b>Finozzifa</b></sub>
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/cpschau">
<img src="https://avatars.githubusercontent.com/u/124347782?v=4" width="100;" alt="cpschau"/>
<br />
<sub><b>Cschau</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/Emre-Yorat89">
<img src="https://avatars.githubusercontent.com/u/62134151?v=4" width="100;" alt="Emre-Yorat89"/>
Expand Down Expand Up @@ -360,14 +387,6 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Ekaterina-Vo</b></sub>
</a>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/cpschau">
<img src="https://avatars.githubusercontent.com/u/124347782?v=4" width="100;" alt="cpschau"/>
<br />
<sub><b>Cschau</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/Tooblippe">
Expand All @@ -377,24 +396,25 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
</a>
</td>
<td align="center">
<a href="https://github.com/doneachh">
<img src="https://avatars.githubusercontent.com/u/132910766?v=4" width="100;" alt="doneachh"/>
<a href="https://github.com/carlosfv92">
<img src="https://avatars.githubusercontent.com/u/103258059?v=4" width="100;" alt="carlosfv92"/>
<br />
<sub><b>Anton Achhammer</b></sub>
<sub><b>Carlos Fernandez</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/asolavi">
<img src="https://avatars.githubusercontent.com/u/131155817?v=4" width="100;" alt="asolavi"/>
<a href="https://github.com/rajesh-ieg">
<img src="https://avatars.githubusercontent.com/u/120284682?v=4" width="100;" alt="rajesh-ieg"/>
<br />
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
<a href="https://github.com/carlosfv92">
<img src="https://avatars.githubusercontent.com/u/103258059?v=4" width="100;" alt="carlosfv92"/>
<a href="https://github.com/asolavi">
<img src="https://avatars.githubusercontent.com/u/131155817?v=4" width="100;" alt="asolavi"/>
<br />
<sub><b>Carlos Fernandez</b></sub>
<sub><b>Null</b></sub>
</a>
</td>
<td align="center">
Expand All @@ -403,8 +423,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Stephen J Lee</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/rsparks3">
<img src="https://avatars.githubusercontent.com/u/30065966?v=4" width="100;" alt="rsparks3"/>
Expand All @@ -425,7 +444,8 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Juli-a-ko</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/squoilin">
<img src="https://avatars.githubusercontent.com/u/4547840?v=4" width="100;" alt="squoilin"/>
Expand All @@ -446,8 +466,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Pietro Monticone</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/Netotse">
<img src="https://avatars.githubusercontent.com/u/89367243?v=4" width="100;" alt="Netotse"/>
Expand All @@ -468,7 +487,8 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>Jess</b></sub>
</a>
</td>
</td></tr>
<tr>
<td align="center">
<a href="https://github.com/jarry7">
<img src="https://avatars.githubusercontent.com/u/27745389?v=4" width="100;" alt="jarry7"/>
Expand All @@ -489,8 +509,7 @@ The documentation is available here: [documentation](https://pypsa-earth.readthe
<br />
<sub><b>EmreYorat</b></sub>
</a>
</td></tr>
<tr>
</td>
<td align="center">
<a href="https://github.com/AndreCNF">
<img src="https://avatars.githubusercontent.com/u/19359510?v=4" width="100;" alt="AndreCNF"/>
Expand Down
13 changes: 13 additions & 0 deletions configs/bundle_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,19 @@ databundles:
disable_by_opt:
build_cutout: [all]

# cutouts bundle of the cutouts folder for Oceania continent
# Coordinate bounds: [min_x = 80, max_x = 180.0, min_y = -50, max_y = 20.]
# Size about 19 GB (zipped)
bundle_cutouts_oceania:
countries: [Oceania]
category: cutouts
destination: "cutouts"
urls:
gdrive: https://drive.google.com/file/d/1R8ELkXmW8jBBUFWRY0sbf-T14SJl4EUY/view?usp=sharing
output: [cutouts/cutout-2013-era5.nc]
disable_by_opt:
build_cutout: [all]

# cutouts bundle of the cutouts folder for the northern hemisphere
# Note: this includes nearly the entire northern emisphere [long +-180, lat 1-85]. Size about 81GB (zipped)
#bundle_cutouts_northern_hemisphere:
Expand Down
Loading

0 comments on commit acac4cf

Please sign in to comment.