Skip to content

Commit 65c765f

Browse files
authored
Merge branch 'main' into rajeeja/yac
2 parents 81bd563 + e18f134 commit 65c765f

7 files changed

Lines changed: 8 additions & 7 deletions

File tree

ci/asv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- healpix
1414
- netcdf4
1515
- numba
16-
- numpy<2.4
16+
- numpy
1717
- pandas
1818
- pathlib
1919
- pre_commit

ci/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
- cmocean
88
- netcdf4
99
- numba
10-
- numpy<2.4
10+
- numpy
1111
- pathlib
1212
- pre_commit
1313
- pytest

ci/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
- matplotlib-inline
1919
- netcdf4
2020
- numba
21-
- numpy<2.4
21+
- numpy
2222
- pandas
2323
- pathlib
2424
- pre_commit

ci/install-upstream.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,17 @@ pip uninstall -y \
2323
conda list
2424

2525
# if available install from scientific-python nightly wheels
26-
# constrain numpy to <2.4 until numba supports newer versions
2726
# use stable pandas (not nightly) due to geopandas incompatibility with pandas nightly internals
2827
# (see: https://github.com/UXARRAY/uxarray/issues/1414)
2928
python -m pip install \
30-
'numpy<2.4' \
3129
'pandas>=2.0.0'
3230

3331
python -m pip install \
3432
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
3533
--no-deps \
3634
--pre \
3735
--upgrade \
36+
numpy \
3837
scikit-learn \
3938
scipy \
4039
xarray

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ def __getattr__(cls, name):
237237
r"https://docs.xarray.dev/*",
238238
r"https://seatstandards.org/*",
239239
r"https://healpix.sourceforge.io/*",
240+
r"https://zenodo.org/*",
241+
r"https://doi.org/10.5281/zenodo*",
240242
# More URLs as needed
241243
]
242244

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131
"matplotlib-inline",
3232
"netcdf4",
3333
"numba",
34-
"numpy<2.4",
34+
"numpy",
3535
"pandas",
3636
"pyarrow",
3737
"requests",

uxarray/remap/bilinear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _barycentric_weights(point_xyz, dual, data_size, source_grid):
128128
# there were rare cases where counts > 0, hence the newer condition at the end
129129
elif counts == 1:
130130
all_weights[i, 0] = 1.0
131-
all_indices[i, 0] = int(cur_inds[0])
131+
all_indices[i, 0] = int(cur_inds[0].squeeze())
132132
# 2/2/2026: For some `remap_to="nodes"` cases, `counts` happen to be bigger than 1. Not sure
133133
# if the best way to add weights from multiple faces is to take only the first face's though
134134
else:

0 commit comments

Comments
 (0)