Skip to content

Commit c25ad82

Browse files
authored
Merge pull request #102 from kthyng/small_updates
Small updates plus a bunch of test fixing
2 parents a2c14a1 + 033f56a commit c25ad82

19 files changed

+186
-162
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
12-
python-version: ["3.9", "3.10", "3.11"]
12+
python-version: ["3.10", "3.11", "3.12"]
1313
steps:
1414
- name: Checkout source
1515
uses: actions/checkout@v4

ci/environment-py3.10-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

ci/environment-py3.10.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

ci/environment-py3.11-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

ci/environment-py3.11.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

ci/environment-py3.9-win.yml renamed to ci/environment-py3.12-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: test-env-win
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.9
5+
- python=3.12
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

ci/environment-py3.9.yml renamed to ci/environment-py3.12.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: test-env-mac-unix
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.9
5+
- python=3.12
66
- cf_xarray>=0.6
77
- dask
88
- netcdf4
9-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
9+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1010
- pip
1111
- requests
1212
- scikit-learn # used by xoak for tree

docs/whats_new.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
:mod:`What's New`
22
-----------------
33

4+
v1.4.1 (October 25, 2024)
5+
=========================
6+
* Small changes so horizontal coordinate search works more consistently with past.
7+
48
v1.4.0 (November 6, 2023)
59
=========================
610
* small changes so that using xESMF as horizontal interpolator works

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: extract_model
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.8,<3.11
5+
- python=3.10
66
# Required for full project functionality (dont remove)
77
- pytest
88
- pytest-benchmark
99
# Examples (remove and add as needed)
1010
- cf_xarray
1111
- cmocean
12-
- dask <=2022.05.0 # for xESMF, https://github.com/axiom-data-science/extract_model/issues/49
12+
- dask #<=2022.05.0 # for xESMF, https://github.com/axiom-data-science/extract_model/issues/49
1313
- extract_model
1414
- matplotlib
1515
- netcdf4
16-
- numpy <1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
16+
- numpy #<1.24 # https://github.com/numba/numba/issues/8615#issuecomment-1360792615
1717
- numba # required by xesmf
1818
- pip
1919
- pooch

extract_model/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import cf_xarray as cfxr # noqa: F401
88

99
import extract_model.accessor # noqa: F401
10+
import extract_model.preprocessing # noqa: F401
11+
import extract_model.utils # noqa: F401
1012

1113
from .extract_model import sel2d, sel2dcf, select, selZ # noqa: F401
1214
from .preprocessing import preprocess

0 commit comments

Comments
 (0)