Skip to content

Commit 3c81deb

Browse files
authored
Merge pull request #955 from nci/develop
Merge for release 2.4.0
2 parents 40baf91 + 0cad931 commit 3c81deb

22 files changed

+749
-194
lines changed

.github/workflows/python-app.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,28 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
pip install .[all]
31-
- name: Test with pytest, with dask installed
31+
- name: Test with pytest, with dask and numba installed
3232
run: |
3333
# editable is necessary as pytest will run against the installed
3434
# package rather than the local files creating a coverage report of 0%
3535
pip install -e .
3636
pytest tests/ --cov=src/
37+
- name: Coveralls GitHub Action
38+
uses: coverallsapp/github-action@v2.3.0
39+
with:
40+
flag-name: run-${{ join(matrix.*, '-') }}
41+
parallel: true
3742
- name: Test tutorial notebooks with pytest
3843
run: |
3944
pytest --nbmake tutorials/
40-
- name: Test again with without dask installed
45+
- name: Test again with without dask and numba installed
4146
run: |
4247
# editable is necessary as pytest will run against the installed
4348
# package rather than the local files creating a coverage report of 0%
4449
pip install -e .
4550
pip uninstall dask -y
51+
pip uninstall numba -y
4652
pytest tests/
47-
- name: Coveralls GitHub Action
48-
uses: coverallsapp/github-action@v2.3.0
49-
with:
50-
flag-name: run-${{ join(matrix.*, '-') }}
51-
parallel: true
5253
finish:
5354
needs: build
5455
runs-on: ubuntu-latest

.github/workflows/run-pre-commit.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,20 @@ permissions:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
steps:
18-
- uses: actions/checkout@v4
19-
- name: Set up Python
20-
uses: actions/setup-python@v5
21-
with:
22-
python-version: '3.x'
23-
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip install .[all]
27-
- name: pre-commit checks
28-
run: |
29-
pre-commit run black --all-files
30-
pre-commit run isort --all-files
31-
pre-commit run pylint --all-files
17+
- uses: actions/checkout@v4
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.13"
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install .[dev]
26+
- name: pre-commit checks
27+
run: |
28+
pre-commit run black --all-files
29+
pre-commit run isort --all-files
30+
pre-commit run pylint --all-files

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,6 @@ cython_debug/
114114
.pixi
115115
pixi.lock
116116
*.egg-info
117+
118+
# uv environments
119+
uv.lock

.zenodo.json

Lines changed: 58 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -11,95 +11,108 @@
1111
"name": "Loveday, Nicholas"
1212
},
1313
{
14+
"orcid": "https://orcid.org/0009-0002-7406-7438",
1415
"affiliation": "Bureau of Meteorology, Australia",
15-
"name": "Ebert, Elizabeth E."
16-
},
17-
{
18-
"orcid": "https://orcid.org/0009-0009-3207-4876",
19-
"affiliation": "Work undertaken while at the Bureau of Meteorology, Australia",
20-
"name": "Cook, Harrison"
21-
},
16+
"name": "Ramanathan, Nikeeth"
17+
},
2218
{
23-
"orcid": "https://orcid.org/0000-0002-5017-9622",
24-
"affiliation": "Bureau of Meteorology, Australia",
25-
"name": "Khanarmuei, Mohammadreza"
26-
},
19+
"orcid": "https://orcid.org/0009-0007-0796-4127",
20+
"affiliation": "Independent Contributor, Australia",
21+
"name": "Chong, Stephanie"
22+
},
2723
{
2824
"orcid": "https://orcid.org/0000-0002-0067-5687",
2925
"affiliation": "Bureau of Meteorology, Australia",
3026
"name": "Taggart, Robert J."
31-
},
27+
},
3228
{
33-
"orcid": "https://orcid.org/0009-0002-7406-7438",
34-
"affiliation": "Bureau of Meteorology, Australia",
35-
"name": "Ramanathan, Nikeeth"
36-
},
29+
"orcid": "https://orcid.org/0000-0002-5545-1736",
30+
"affiliation": "CSIRO, Australia",
31+
"name": "Shrestha, Durga"
32+
},
3733
{
38-
"orcid": "https://orcid.org/0009-0008-6830-8251",
34+
"orcid": "https://orcid.org/0000-0002-5017-9622",
3935
"affiliation": "Bureau of Meteorology, Australia",
40-
"name": "Carroll, Maree"
36+
"name": "Khanarmuei, Mohammadreza"
4137
},
4238
{
43-
"orcid": "https://orcid.org/0009-0007-0796-4127",
39+
"orcid": "https://orcid.org/0009-0009-3207-4876",
40+
"affiliation": "Work undertaken while at the Bureau of Meteorology, Australia",
41+
"name": "Cook, Harrison"
42+
},
43+
{
44+
"orcid": "https://orcid.org/0009-0006-7361-163X",
4445
"affiliation": "Independent Contributor, Australia",
45-
"name": "Chong, Stephanie"
46-
},
46+
"name": "Bluett, Liam"
47+
},
4748
{
48-
"affiliation": "Work undertaken while at the Bureau of Meteorology, Australia",
49-
"name": "Griffiths, Aidan"
50-
},
49+
"affiliation": "Bureau of Meteorology, Australia",
50+
"name": "Ebert, Elizabeth E."
51+
},
5152
{
53+
"orcid": "https://orcid.org/0009-0008-6830-8251",
5254
"affiliation": "Bureau of Meteorology, Australia",
53-
"name": "Sharples, John"
55+
"name": "Carroll, Maree"
5456
},
5557
{
56-
"orcid": "https://orcid.org/0000-0002-5545-1736",
57-
"affiliation": "CSIRO, Australia",
58-
"name": "Shrestha, Durga"
58+
"orcid": "https://orcid.org/0009-0007-7082-7029",
59+
"affiliation": "Bureau of Meteorology, Australia",
60+
"name": "Trotta, Belinda"
5961
},
6062
{
6163
"orcid": "https://orcid.org/0009-0002-8569-1439",
6264
"affiliation": "Independent Contributor, Australia",
6365
"name": "Bishop, Sam"
66+
},
67+
{
68+
"orcid": "https://orcid.org/0000-0003-3271-6874",
69+
"affiliation": "Australian National University, Australia",
70+
"name": "Squire, Dougal T."
71+
},
72+
{
73+
"affiliation": "Work undertaken while at the Bureau of Meteorology, Australia",
74+
"name": "Griffiths, Aidan"
75+
},
76+
{
77+
"orcid": "https://orcid.org/0009-0003-0771-4671",
78+
"affiliation": "Bureau of Meteorology, Australia",
79+
"name": "Pagano, Thomas C."
6480
},
6581
{
6682
"affiliation": "Independent Contributor, Australia",
6783
"name": "Fisher, A.J."
6884
},
6985
{
70-
"affiliation": "Independent Contributor, Australia",
71-
"name": "Jinghan, Fu"
72-
},
86+
"orcid": "https://orcid.org/0009-0006-5628-565X",
87+
"affiliation": "Independent Contributor, United States",
88+
"name": "Mandelbaum, Taylor"
89+
},
7390
{
74-
"orcid": "https://orcid.org/0009-0006-7361-163X",
7591
"affiliation": "Independent Contributor, Australia",
76-
"name": "Bluett, Liam"
92+
"name": "Jinghan, Fu"
7793
},
7894
{
79-
"orcid": "https://orcid.org/0000-0003-3271-6874",
80-
"affiliation": "Australian National University, Australia",
81-
"name": "Squire, Dougal T."
95+
"affiliation": "Bureau of Meteorology, Australia",
96+
"name": "Smith, Paul R."
8297
},
8398
{
84-
"orcid": "https://orcid.org/0009-0003-0771-4671",
8599
"affiliation": "Bureau of Meteorology, Australia",
86-
"name": "Pagano, Thomas C."
87-
},
100+
"name": "Sharples, John"
101+
},
88102
{
103+
"orcid": "https://orcid.org/0000-0003-0610-2510",
89104
"affiliation": "Bureau of Meteorology, Australia",
90-
"name": "Smith, Paul R."
105+
"name": "Abellan, Esteban"
91106
},
92107
{
93108
"orcid": "https://orcid.org/0009-0006-4111-7610",
94109
"affiliation": "Swinburne University, Australia",
95110
"name": "Smallwood, J."
96-
}
97-
98-
99-
],
111+
}
112+
],
100113
"license": "Apache-2.0",
101114

102-
"title": "scores: A Python package for verifying and evaluating models and predictions with xarray",
115+
"title": "scores: Metrics for the verification, evaluation and optimisation of forecasts, predictions or models.",
103116

104117
"related_identifiers": [
105118
{

NOTICE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This file contains a listing of all code which is included within the repository which is adapted from, extends, or includes code from another open source project. The filenames, sources, copyright and licenses are recorded here.
2+
3+
Code in the file src/scores/probability/crps_numba.py is adapted from two sources. The xarray wrapper function `scores.probability.crps_numba.crps_cdf_exact_fast` is based on the code for `crps_ensemble` from xskillscore
4+
https://github.com/xarray-contrib/xskillscore/blob/main/xskillscore/core/probabilistic.py, released under the Apache-2.0 License with
5+
copyright attributed to xskillscore developers (as at 11 Dec 2025). The vectorisation of crps_at_point follows the example of `_crps_ensemble_gufunc` from properscoring https://github.com/properscoring/properscoring/blob/master/properscoring/_gufuncs.py, released under the Apache-2.0 License with copyright attributed to The Climate Corporation (2015).

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
project = "scores"
1111
copyright = "Licensed under Apache 2.0 - https://www.apache.org/licenses/LICENSE-2.0"
12-
release = "2.3.0"
12+
release = "2.4.0"
1313

1414
version = __version__
1515

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Please submit bug reports, feature requests and feedback as issues in GitHub: [h
2323

2424
## Handling Security Concerns
2525

26-
Please see the information provided in [SECURITY.md](SECURITY.md)
26+
Please see the information provided in [SECURITY.md](https://scores.readthedocs.io/en/stable/SECURITY.html)
2727

2828
## Creating Your Own Fork of `scores` for the First Time
2929

0 commit comments

Comments
 (0)