Skip to content

Commit 3d6ccfe

Browse files
committed
import data
fix CI disable pytest fix CI do not treat warnings as errors Configure PROJ environment for pyproj usage
1 parent 097ed2a commit 3d6ccfe

File tree

77 files changed

+1849
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1849
-9
lines changed

.github/workflows/ci-docs.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,36 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: [ "3.13" ]
17+
defaults:
18+
run:
19+
shell: bash -l {0}
1720
env:
18-
WRADLIB_DATA: ./wradlib-data
1921
CONDA_ENV_FILE: environment.yml
2022
steps:
2123
- name: Checkout repository
2224
uses: actions/checkout@v4
23-
2425
- name: Install micromamba environment
2526
uses: mamba-org/setup-micromamba@v2
2627
with:
27-
environment-name: radolan-guide-guide
28+
environment-name: radolan-guide
2829
environment-file: environment.yml
2930
cache-environment: true
3031
cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
3132
create-args: >-
3233
python=${{matrix.python-version}}
3334
34-
- name: Render with pytest
35-
run: |
36-
pytest -v sphinx-build -b html -W . _build/html
37-
38-
- name: Build Sphinx documentation
35+
- name: pytest notebooks
3936
working-directory: notebooks
4037
run: |
4138
pytest -v -n auto
4239
40+
- name: Build documentation with Sphinx
41+
run: |
42+
python -m sphinx -j 14 -b html . _build/html -v
43+
4344
- name: Upload HTML build (for PR inspection)
4445
if: ${{ success() }}
4546
uses: actions/upload-artifact@v4
4647
with:
4748
name: docs-html
48-
path: docs/_build/html
49+
path: _build/html

conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
import os
77
import sys
88

9+
import pyproj
10+
11+
# set PROJ_LIB explicitely to overcome RTD issue
12+
os.environ["PROJ_LIB"] = pyproj.datadir.get_data_dir()
13+
os.environ["PROJ_NETWORK"] = "ON"
14+
915
sys.path.insert(0, os.path.abspath(".."))
1016

1117
project = "RADOLAN Guide"

data/ATTRIBUTION.md

Lines changed: 17 additions & 0 deletions

data/asc/RW-20221018.tar.gz

1.42 MB
Binary file not shown.

data/grid/aaigrid.asc

Lines changed: 906 additions & 0 deletions
Large diffs are not rendered by default.

data/grid/aaigrid.prj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PROJCS["Radolan_Projection",GEOGCS["GCS_Radolan_Coordinate_System",DATUM["D_Radolan_Kugel",SPHEROID["Erdkugel",6370040.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Stereographic_North_Pole"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",10.0],PARAMETER["Standard_Parallel_1",60.0],UNIT["kilometre",1000.0]]

data/grid/aaigrid1.asc

Lines changed: 908 additions & 0 deletions
Large diffs are not rendered by default.

data/grid/aaigrid1.prj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PROJCS["Radolan projection",GEOGCS["Radolan Coordinate System",DATUM["Radolan Kugel",SPHEROID["Erdkugel",6370040.0,0.0]],PRIMEM["Greenwich",0.0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.017453292519943295],AXIS["Longitude",EAST],AXIS["Latitude",NORTH]],PROJECTION["polar_stereographic"],PARAMETER["central_meridian",10.0],PARAMETER["latitude_of_origin",60.0],PARAMETER["scale_factor",0.9330127019],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],UNIT["m*1000.0",1000.0],AXIS["X",EAST],AXIS["Y",NORTH]]

data/grid/geotiff.tif

18.5 MB
Binary file not shown.

data/grid/geotiff1.tif

6.19 MB
Binary file not shown.

0 commit comments

Comments
 (0)