Skip to content

Commit efe4169

Browse files
Python structure setup with new repo name (#26)
* update toml file * rename to climanet * rename module dir * reconstruct dependencies * update notebook with cell output and new import * add a logo * Apply suggestions from code review Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com> * remove logo file * update readme * fix GH action * add build tools to toml file to support installing the python package itself --------- Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
1 parent f50fbfe commit efe4169

13 files changed

Lines changed: 1821 additions & 460 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
python-version: ["3.11", "3.12", "3.13"]
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: Install uv
24-
uses: astral-sh/setup-uv@v4
24+
uses: astral-sh/setup-uv@v7
2525
with:
2626
enable-cache: true
2727
- name: Set up Python ${{ matrix.python-version }}
@@ -31,6 +31,4 @@ jobs:
3131
- name: Build the package
3232
run: uv build
3333
- name: Test with pytest
34-
env:
35-
PYTHONPATH: ${{ github.workspace }}/src
36-
run: uv run pytest
34+
run: uv run pytest tests

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Visit https://bit.ly/cffinit to generate yours today!
33

44
cff-version: 1.2.0
5-
title: eso4clima-wp1-prototype
5+
title: ClimaNet
66
message: >-
77
If you use this software, please cite it using the
88
metadata from this file.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# eso4clima-wp1-prototype
1+
# ClimaNet: A Climate Aware Spatio Temporal Encoder Decoder
22

3-
[![License](https://img.shields.io/github/license/ESMValGroup/eso4clima-wp1-prototype)](https://opensource.org/licenses/Apache-2.0)
3+
[![License](https://img.shields.io/github/license/ESMValGroup/ClimaNet)](https://opensource.org/licenses/Apache-2.0)
44

55
## Installation
66

climanet/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from climanet import st_encoder_decoder
2+
from climanet.dataset import STDataset
3+
from climanet.utils import regrid_to_boundary_centered_grid
4+
5+
__all__ = [
6+
"STDataset",
7+
"st_encoder_decoder",
8+
"regrid_to_boundary_centered_grid"
9+
]
File renamed without changes.
File renamed without changes.

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
site_name: "eso4clima-wp1-prototype"
2-
repo_url: https://github.com/ESMValGroup/eso4clima-wp1-prototype/
3-
repo_name: eso4clima-wp1-prototype
1+
site_name: "ClimaNet"
2+
repo_url: https://github.com/ESMValGroup/ClimaNet/
3+
repo_name: ClimaNet
44

55
nav:
66
- Introduction: index.md

0 commit comments

Comments
 (0)