Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/build-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies with pip
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade 'pip<25.3'
python -m pip install wheel
python -m pip install git+https://github.com/atmtools/climt@rrtmg-only --no-binary climt
TARGET=HASWELL python -m pip install .[docs]
python -m pip list
- name: build book
run: |
conda info
jupyter-book build -W -n --keep-going howto
- name: Archive build artifacts
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
TARGET: HASWELL
run: |
brew install gcc@12
python -m pip install --upgrade pip wheel
python -m pip install --upgrade 'pip<25.3' wheel
python -m pip install git+https://github.com/atmtools/climt@rrtmg-only --no-binary climt

- name: Install CliMT (Linux)
if: matrix.name == 'ubuntu'
run: |
python -m pip install --upgrade pip wheel
python -m pip install --upgrade 'pip<25.3' wheel
python -m pip install git+https://github.com/atmtools/climt@rrtmg-only --no-binary climt

- name: Install
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ But of course, any other Python distribution is also working.
## Install stable release
You can install the latest stable version of ``konrad`` using ``pip``:
```bash
python -m pip install konrad
python3 -m pip install konrad
```

Konrad depends on the [CliMT](https://github.com/CliMT/climt) package.
CliMT handles a variety of underlying FORTRAN code and provides precompiled
binary wheels for some Python versions and operating systems.

However (for Python >3.7) the FORTRAN libraries need to be compiled locally.
However, on some architectures the FORTRAN libraries need to be compiled locally.
In this case, you need to specify a C compiler, a FORTRAN compiler, and the
target architecture using the corresponding environment variables:
```bash
CC=gcc FC=gfortran TARGET=HASWELL python -m pip install konrad
CC=gcc FC=gfortran TARGET=HASWELL python3 -m pip install konrad
```

### macOS
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- rttools
dependencies:
- python==3.10
- jupyter-book
- jupyter-book<2
- matplotlib>=2.0.0
- netcdf4>=1.2.7
- numpy>1.22.0
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install_requires =
arts =
pyarts>=2.5.8
docs =
jupyter-book
jupyter-book<2
sphinx
sphinx_rtd_theme
tests =
Expand Down
Loading